Mac OS 10.5でsendmailを確実に動作させるにはどうすればよいですか?

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

  •  08-07-2019
  •  | 
  •  

質問

オフィスのMacからsendmailを使用する必要があります。現時点では、2つの開発Macで動作させることができます(MAMPがインストールされ動作しているためだと思います)が、他のMacで動作させるには問題があるようです...

設定の問題が原因であると仮定し、(各マシンに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で実行している後置です。

問題は、マシンmx01.xxx.uk [212.x.x.134]がメールの中継をブロックするように構成されていることです(SMTPを介して電子メールを受け入れ、最終的なメールサーバーに送信する)。 postfix設定ファイルは通常/ etc / postfixに保存されているので、そこから探すことから始められます。特に、main.cfのmynetworks設定を見てください。

他のヒント

あはは!ありがとうデニス-これは怪しげなように見えます...

### 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