我的 smtp用的是外部的 用的 qq的 现在我邮件报警发送不出去 应该是nagios 源地址有问题 源地址是 nagios@hostname 日志:
Aug 3 11:05:39 opjdwtgroup postfix/qmgr[12911]: 481FA83F86: removed
Aug 3 11:05:39 opjdwtgroup postfix/local[2177]: F3BCA83FEB: to=<nagios@iZ2881rg0edZ>, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 3 11:05:39 opjdwtgroup postfix/qmgr[12911]: F3BCA83FEB: removed
Aug 3 11:05:39 opjdwtgroup postfix/smtp[2153]: 3ED9F82C12: to=<op@jdwtgroup.com>, relay=127.0.0.1[127.0.0.1]:11125, delay=2, delays=0.03/0.01/1.9/0.05, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 501 mail from address must be same as authorization user (in reply to MAIL FROM command))
Aug 3 11:05:39 opjdwtgroup postfix/cleanup[2146]: 447BF83FEB: message-id=<20150803030539.447BF83FEB@iZ2881rg0edZ>
Aug 3 11:05:39 opjdwtgroup postfix/qmgr[12911]: 447BF83FEB: from=<>, size=2382, nrcpt=1 (queue active)
Aug 3 11:05:39 opjdwtgroup postfix/bounce[2176]: 3ED9F82C12: sender non-delivery notification: 447BF83FEB
Aug 3 11:05:39 opjdwtgroup postfix/qmgr[12911]: 3ED9F82C12: removed
Aug 3 11:05:39 opjdwtgroup postfix/local[2177]: 447BF83FEB: to=<nagios@iZ2881rg0edZ>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 3 11:05:39 opjdwtgroup postfix/qmgr[12911]: 447BF83FEB: removed