[請益] bbsmail postfix轉發還是有問題!!怪怪的...
我照著:
https://github.com/ptt/pttbbs/wiki/POSTFIX
這篇設定,
應該就沒錯,但是就是收不到,用postfix 3.3.x
sudo tail -1 master.cf
=========================
bbsmail unix - n n - - pipe flags=FR user=bbs argv=/home/bbs/bin/bbsmail $mailbox
cat /etc/postfix/virtual
=========================
/^(.+)\.bbs@bbs\.suchi\.idv(\.tw)?$/ $1@bbsmail
cat /etc/postfix/transport
=========================
bbsmail bbsmail:
從外部寄信過來的時候或收到這樣的log:
sudo tail -f /var/log/mail.log
=========================
...
Jan 10 15:20:57 ns postfix/smtpd[6733]: connect from sonic301-20.consmr.mail.sg3.yahoo.com[106.10.242.83]
Jan 10 15:20:57 ns postfix/smtpd[6733]: 94958DD10E: client=sonic301-20.consmr.mail.sg3.yahoo.com[106.10.242.83]
Jan 10 15:20:57 ns postfix/cleanup[6746]: 94958DD10E: message-id=<1326527925.15401436.1547133651697@mail.yahoo.com>
Jan 10 15:20:57 ns postfix/qmgr[5649]: 94958DD10E: from=<chisu94a@yahoo.com.tw>, size=3099, nrcpt=1 (queue active)
Jan 10 15:20:57 ns postfix/smtpd[6733]: disconnect from sonic301-20.consmr.mail.sg3.yahoo.com[106.10.242.83] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 10 15:20:57 ns postfix/pipe[6751]: 94958DD10E: to=<sysop@bbsmail>, orig_to=<sysop.bbs@bbs.suchi.idv.tw>, relay=bbsmail, delay=0.36, delays=0.28/0.07/0/0.01, dsn=2.0.0, status=sent (delivered via bbsmail service)
Jan 10 15:20:57 ns postfix/qmgr[5649]: 94958DD10E: removed
個人理解是要把 $ID.bbs@domain 的信轉成 $ID@bbsmail 並由bbsmail去執行寄送才會寄到,
是我理解有錯嗎?還是哪裡設定錯誤了??
求高手指教%%
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.194.188.67
※ 文章網址: https://www.ptt.cc/bbs/PttCurrent/M.1547136115.A.F4D.html
※ 編輯: bamchisu (123.194.188.67), 01/11/2019 00:03:34
推
01/11 01:57,
5年前
, 1F
01/11 01:57, 1F
推
01/11 10:49,
5年前
, 2F
01/11 10:49, 2F
→
01/11 10:49,
5年前
, 3F
01/11 10:49, 3F
→
01/15 00:23,
5年前
, 4F
01/15 00:23, 4F
→
01/15 00:23,
5年前
, 5F
01/15 00:23, 5F
→
01/15 00:25,
5年前
, 6F
01/15 00:25, 6F