I have just built up a new server using RHEL4 update 4 and have Courier 0.54.2
and Courier Authlib 0.59 installed.
The Courier packages were installed using rpmbuild -ta to create rpms and the
rpm -ivh was used to install Authlib and Courier. rpmbuild was executed as a
standard user. The rpm install was run as user = root. Defaults were used all
the way through.
Now I have a problem where everything but inbound mail seems to be working. I
can run authtest as root and get Authentication succeeded. The Webmail
interface is working and I can login and send messages from the account. IMAP
is installed and I can connect with a mail client and see folders created using
the webmail interface. I can also get to webadmin and change settings.
Again, I can send but can not receive.
I ran testmxlookup against my domain and it returns the correct public IP
address for the mail server.
/etc/courier/me has my correct domain name in it. The same for the locals and
defaultdomain files.
If I stop courier then courier-authlib and then restart, I do not see any error
messages when the modules load:
/etc/init.d/courier-authlib start
Starting Courier authentication services: authdaemond
/etc/init.d/courier start
Starting Courier mail server: courierfilter webmail courierd esmtpd imapd
imapd-ssl
Checking maillog, I see messages like this:
Jan 25 21:17:24 srvr courieresmtpd: started,ip=[::ffff:138.163.0.38]
Jan 25 21:17:28 srvr courieresmtpd:
error,relay=::ffff:138.163.0.38,from=<[EMAIL PROTECTED]>,to=<[EMAIL
PROTECTED]>: 450 Service temporarily unavailable.
Jan 25 21:17:28 srvr courieresmtpd: authdaemon: s_connect() failed: Permission
denied
Jan 25 21:17:35 srvr courieresmtpd: started,ip=[::ffff:140.211.11.2]
Jan 25 21:17:35 srvr courieresmtpd: authdaemon: s_connect() failed: Permission
denied
Jan 25 21:17:35 srvr courieresmtpd:
error,relay=::ffff:140.211.11.2,from=<[EMAIL PROTECTED]>,to=<[EMAIL
PROTECTED]>: 450 Service temporarily unavailable.
I also see some messages like this:
Jan 25 19:19:02 srvr courieresmtpd: error,relay=::ffff:127.0.0.1,msg="502 ESMTP
command error",cmd: LKJ
Jan 25 19:19:02 srvr courieresmtpd: error,relay=::ffff:127.0.0.1,msg="writev:
Broken pipe",cmd: LKJ
Jan 25 20:14:16 srvr courieresmtpd: error,relay=::ffff:66.150.201.153,msg="502
ESMTP command error",cmd: DATA
Jan 25 20:15:02 srvr courieresmtpd: error,relay=::ffff:72.15.222.65,msg="502
ESMTP command error",cmd: DATA
What do I need to do?
The pertinent parts of my esmptd file are:
***********************************************
PATH=/usr/lib/courier/bin:/bin:/usr/bin:/usr/local/bin
SHELL=/bin/sh
ULIMIT=4096
BOFHCHECKDNS="1"
BOFHNOEXPN=0
BOFHNOVRFY=0
NOADDMSGID="1"
NOADDDATE="1"
ESMTP_LOG_DIALOG=0
AUTH_REQUIRED="0"
COURIERTLS=/usr/lib/courier/bin/couriertls
TLS_PROTOCOL=SSL3
TLS_CERTFILE=/usr/lib/courier/share/esmtpd.pem
TLS_VERIFYPEER=NONE
MAILUSER=courier
MAILGROUP=courier
PORT=smtp
BLACKLISTS="-block=sbl-xbl.spamhaus.org,BLOCK"
ACCESSFILE=${sysconfdir}/smtpaccess
MAXDAEMONS="40"
MAXPERC="5"
MAXPERIP="5"
PIDFILE=/var/spool/courier/tmp/esmtpd.pid
TCPDOPTS="-stderrlogger=/usr/sbin/courierlogger"
ESMTPAUTH=""
ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPAUTH_TLS=""
ESMTPAUTH_TLS_WEBADMIN="PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPDSTART="YES"
***************************************************
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users