0

オフィスで 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
4

2 に答える 2

3

sendmail ではなく、Mac で実行しているのは postfix であることに注意してください。

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

于 2008-11-14T15:16:41.330 に答える
0

あはは!ありがとうデニス - これは獣のように見えます...

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

私はそれをやってみます、そしてあなたに戻ってきます。

于 2008-11-14T15:22:00.010 に答える