Postfix一定要會的指令還有自己架站記得設relayhost
查看待寄信件: mailq
看看該待寄信件詳情: postcat /var/spool/postfix/diferred/1/1CF2CE20FD7
刪除該待寄信件: postsuper -d 1CF2CE20FD7
刪除所有queue中信件: postsuper -d ALL
檢查修復postfix信件檔: postsuper -sv
手動寄出mail queue中的信件: postqueue -f
參考這裡
http://blog.i2025.com/2010/07/postfix-sendmail_17.html
另外,務必要設定 relayhost ,否則微軟信箱及雅虎等信箱會被擋
http://hdj-berkeley.blogspot.tw/2010/04/hinet-ip-mail-server-relay.html
relayhost
relay=mx2.hotmail.com[65.55.37.88]:25, delay=1.1, delays=0.07/0/0.81/0.17, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.55.37.88] said: 550 OU-002 (COL0-MC2-F9) Unfortunately, messages from ServerIP weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. (in reply to MAIL FROM command))
Mar 10 11:10:04 L-Server postfix/smtp[25047]: 5D9081200817: lost connection with mx2.hotmail.com[65.55.37.88] while sending RCPT TO
Mar 10 11:10:04 L-Server postfix/cleanup[25045]: 6AC5B1200878: message-id=<20140310031004 .6ac5b1200878="" erver="">20140310031004>
Mar 10 11:10:04 L-Server postfix/bounce[25049]: 5D9081200817: sender non-delivery notification: 6AC5B1200878
Mar 10 11:10:04 L-Server postfix/qmgr[1167]: 6AC5B1200878: from=<>, size=4769, nrcpt=1 (queue active)
Mar 10 11:10:04 L-Server postfix/qmgr[1167]: 5D9081200817: removed
看看該待寄信件詳情: postcat /var/spool/postfix/diferred/1/1CF2CE20FD7
刪除該待寄信件: postsuper -d 1CF2CE20FD7
刪除所有queue中信件: postsuper -d ALL
檢查修復postfix信件檔: postsuper -sv
手動寄出mail queue中的信件: postqueue -f
參考這裡
http://blog.i2025.com/2010/07/postfix-sendmail_17.html
另外,務必要設定 relayhost ,否則微軟信箱及雅虎等信箱會被擋
http://hdj-berkeley.blogspot.tw/2010/04/hinet-ip-mail-server-relay.html
relayhost
relay=mx2.hotmail.com[65.55.37.88]:25, delay=1.1, delays=0.07/0/0.81/0.17, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.55.37.88] said: 550 OU-002 (COL0-MC2-F9) Unfortunately, messages from ServerIP weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. (in reply to MAIL FROM command))
Mar 10 11:10:04 L-Server postfix/smtp[25047]: 5D9081200817: lost connection with mx2.hotmail.com[65.55.37.88] while sending RCPT TO
Mar 10 11:10:04 L-Server postfix/cleanup[25045]: 6AC5B1200878: message-id=<20140310031004 .6ac5b1200878="" erver="">20140310031004>
Mar 10 11:10:04 L-Server postfix/bounce[25049]: 5D9081200817: sender non-delivery notification: 6AC5B1200878
Mar 10 11:10:04 L-Server postfix/qmgr[1167]: 6AC5B1200878: from=<>, size=4769, nrcpt=1 (queue active)
Mar 10 11:10:04 L-Server postfix/qmgr[1167]: 5D9081200817: removed
留言