Mac OS 10.5에서 Sendmail을 안정적으로 작동하도록하려면 어떻게합니까?

StackOverflow https://stackoverflow.com/questions/290347

  •  08-07-2019
  •  | 
  •  

문제

사무실에서 Mac의 Sendmail을 사용해야합니다. 현재, 나는 두 개의 개발 Mac에서 작업 할 수 있지만 (Mamp가 설치되고 작동하기 때문이라고 생각합니다), 다른 사람들은 문제가되는 것 같습니다 ...

나는 그것이 일부 구성 문제에 달려 있다고 가정하고 (각 컴퓨터에 MAMP를 설치하지 않고도 그것을 고칠 수있는 곳이 있기를 바랍니다.)

나는 그것이 From의 '지역'특성에 달려 있다고 생각하지만 확실하지 않습니다. 도움이 필요한 경우 /var/log/mail.log의 덤프가 있습니다.

Nov 14 14:37:06 claire-g5 postfix/master[5339]: daemon started -- version 2.4.3, configuration /etc/postfix
Nov 14 14:37:06 claire-g5 postfix/qmgr[5341]: 2B625250BDB: from=<claire@claire-g5.local>, size=1131, nrcpt=1 (queue active)
Nov 14 14:37:06 claire-g5 postfix/qmgr[5341]: D5D19250D5A: from=<claire@claire-g5.local>, size=1191, nrcpt=1 (queue active)
Nov 14 14:37:06 claire-g5 postfix/smtp[5344]: 2B625250BDB: host mx01.xxx.uk[212.x.x.134] said: 451 cannot relay now to <xx@xx.com>, please try again later (in reply to RCPT TO command)
Nov 14 14:37:06 claire-g5 postfix/smtp[5346]: D5D19250D5A: host mx01.xxx.uk[212.x.x.186] said: 451 cannot relay now to <xx@xx.com>, please try again later (in reply to RCPT TO command)
Nov 14 14:37:07 claire-g5 postfix/smtp[5346]: D5D19250D5A: to=<xx@xx.com>, relay=mx01.xxx.uk[212.x.x.134]:25, delay=2350, delays=2349/0.08/0.7/0.12, dsn=4.0.0, status=deferred (host mx01.xxx.uk[212.x.x.134] said: 451 cannot
Nov 14 14:37:07 claire-g5 postfix/pickup[5340]: 1A2EC2511D1: uid=501 from=<claire
도움이 되었습니까?

해결책

SendMail이 아닌 Mac에서 실행 한 PostFix입니다.

문제는 기계 MX01.xxx.uk [212.xx134]가 메일 릴레이를 차단하도록 구성되어 있다는 것입니다 (SMTP를 통해 이메일을 수락하여 최종 메일 서버로 전송). PostFix 구성 파일은 일반적으로 /etc /postfix에 저장되므로 거기에서 볼 수 있습니다. 특히 Main.cf의 Mynetworks 설정을보십시오.

다른 팁

아,! 감사합니다 Denis- 이것은 비스티처럼 보입니다 ...

### MAMP Postfix Configuration - Start ###

myorigin = example.com
myhostname = mailer.$myorigin
smtpd_sender_restrictions = permit_inet_interfaces

# smart host
relayhost = auth.example.co.uk
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_MAMP_passwd
smtp_sasl_security_options = noanonymous


### MAMP Postfix Configuration - End ###
# DONT REMOVE: MAMP PRO main.cf template compatibility version: 1

나는 그것을 가서 당신에게 돌아갈 것입니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top