[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pop-before-smtp on postfox problem



Hello list, 

I installed
postfix 1.1.3-1
courier-imap 1.4.2-1
courier-pop 0.37.2-1
pop-before-smtp 1.28-4


I read /usr/share/doc/README.*

modified /etc/postfix/main.cf as
smtpd_recipient_restrictions = permit_mynetworks, hash:/etc/postfix/lamers,
        check_client_access hash:/etc/postfix/pop-before-smtp,
        reject_unknown_client,
        check_client_access regexp:/etc/postfix/clientcheck,
        check_client_access regexp:/etc/postfix/openrelay, reject_maps_rbl,
        check_relay_domains


Then edit /etc/pop-before-smtp/pop-before-smtp.conf
to

# Simple "empty" pattern to speed up a bit when only one pattern is needed
# (might spit out errors if you in fact have such lines in your logfile)
pat2 = '^XXXXX$'

# For Courier-IMAP:
pat = '^(... .. ..:..:..) \S+ imaplogin: LOGIN, user=\S+, ip=\[(\d+\.\d+\.\d+\.\d+)\]$'



after /etc/init.d/pop-before-smtp restart and
/etc/init.d/postfix reload

I tried to check my pop mail first, but the I failed to relay my mail
with this postfix smtp server. Neither did it work after courier-imap
mail retrieval.  Is there anything I could have missed?

Thanks.

-- 
Patrick Hsieh <pahud@pahud.net>



Reply to: