回文章列表
作者pondaniel.bbs@ptt.cc (NICE~~彭彭!!), 信區: 386bsd
標題Re: [問題] BBS+postfix
時間批踢踢實業 (Tue Dec 12 00:17:23 2006)
轉信站: GIBBS!ccnews.ncku!news2!Spring!ctu-peer!ctu-reader!news.nctu!ptt
Origin: sally.csie.ntu.edu.tw

: > Dec 11 19:58:46 niceponpon postfix/smtpd[2966]: warning: run-time library vs.
: > compile-time header version mismatch: OpenSSL 0.9.8 may not be compatible with
: 你有問題的是這一行...
: 你編譯postfix時候有選了什麼東西?
: 還有你的main.cf裡面又設了什麼...?
我是看這個文件做的
http://freebsd.ntut.idv.tw/document/postfix_tls_sasl2_courier-imap.html

我的main.cf內容如下
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable= yes
smtpd_sasl_security_options= noanonymous
smtpd_sasl_local_domain = niceponpon.twbbs.org
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /usr/local/etc/postfix/CA/post.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/CA/post.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/CA/post.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
mtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

transport_maps = hash:/usr/local/etc/postfix/transport-system
virtual_maps = pcre:/usr/local/etc/postfix/virtual-system

我後來又改了virtual-system一下就可以收信了!!內容如下
/^(.+)\.bbs@niceponpon\.twbbs\.org$/ $1@bbsmail.
/^(.+)\.board@niceponpon\.twbbs\.org$/ $1@boardmail.
/^bbs(reg)?@niceponpon\.twbbs\.org$/  bbs@mailpost.

不過現在還是不能寄信,但卻可以收信,不過收信卻有錯誤訊息??
Dec 12 08:04:36 niceponpon postfix/smtpd[741]: warning: run-time library vs.
compile-time header version mismatch: OpenSSL 0.9.8 may not be compatible
with O
Dec 12 08:04:36 niceponpon postfix/smtpd[741]: cannot load Certificate
Authority data
Dec 12 08:04:36 niceponpon postfix/smtpd[741]: connect from
patty.csie.ntu.edu.tw[140.112.90.74]
Dec 12 08:04:36 niceponpon postfix/smtpd[741]: D7FE11C:
client=patty.csie.ntu.edu.tw[140.112.90.74]
Dec 12 08:04:36 niceponpon postfix/cleanup[746]: D7FE11C:
message-id=<1165855703.610c2d7.outmail@ptt.cc>
Dec 12 08:04:36 niceponpon postfix/qmgr[480]: D7FE11C:
from=<pondaniel.bbs@ptt.cc>, size=3510, nrcpt=1 (queue active)
Dec 12 08:04:36 niceponpon postfix/smtpd[741]: disconnect from
patty.csie.ntu.edu.tw[140.112.90.74]
Dec 12 08:04:37 niceponpon postfix/pipe[747]: D7FE11C:
to=<pondaniel@bbsmail>, orig_to=<pondaniel.bbs@niceponpon.twbbs.org>,
relay=bbsmail, delay=0.19, delay
Dec 12 08:04:37 niceponpon postfix/qmgr[480]: D7FE11C: removed

怕文章太長,我再簡要說明一下好了
現在不可以寄信,不過可以收信,但是收信卻會有錯誤訊息,寄信沒有
我是在/var/log/maillog找到的

感謝大大幫我看一下!!

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 59.124.156.28
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻