[請益] bbsmail postfix轉發還是有問題!!怪怪的...

看板PttCurrent作者 (chisu)時間5年前 (2019/01/11 00:01), 5年前編輯推噓2(204)
留言6則, 3人參與, 5年前最新討論串1/1
我照著: 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
因為出一些事好久沒用了qqrz 想再找時間弄..
01/11 01:57, 1F

01/11 10:49, 5年前 , 2F
看起來沒什麼問題,你的 log 倒數第二行也說成功用 bbsmail
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
我說該bbs user就是收不到外面寄來的信
01/15 00:23, 5F

01/15 00:25, 5年前 , 6F
可能是因為我不是用x86系統架的所有有差嗎?
01/15 00:25, 6F
文章代碼(AID): #1SDsnpzD (PttCurrent)