1 message in net.sourceforge.lists.courier-users[courier-users] Complete lack of SMTP...
FromSent OnAttachments
Andre CoetzeeJun 24, 2004 1:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Complete lack of SMTP trafficActions...
From:Andre Coetzee (andr@yahoo.co.uk)
Date:Jun 24, 2004 1:31:40 pm
List:net.sourceforge.lists.courier-users

Hi

I installed courier 0.45-4 (the debian packaged version) with courier-imap-ssl, authdaemon, courier-mta and my favorite part, the webadmin tool. My operating system is Debian 3.2 as installed to the hard drive by Knoppix 3.4, using the 2.6 Linux kernel.

I configured the use of Maildir with maildrop, and everything is working fine, EXCEPT that no mail is being delivered to the internet via my smart host.

contents of /etc/courier/esmtproutes: : my.smart.host also tried: :[verified ip-address]

I CAN telnet to port 25 on my smart host via the dns name or ip address no problem. If I manually send a message, it gets delivered. They don't require authentication, but I do.

As you can see, ownership and permissions are fine: ls -l /etc/courier/esmtproutes -rw-r--r-- 1 daemon daemon 18 Jun 16 11:33 /etc/courier/esmtproutes

mailq confirms that mail is queued.

Extract from mail log: Jun 22 23:27:32 myhost courierd: started,id=0027C1CE.40CF518F.00000559,from=<me@my.domain>,module=esmtp,host=yahoo.co.uk,addr=<andr@yahoo.co.uk> Jun 22 23:27:32 myhost courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Jun 22 23:27:32 myhost courieresmtp: id=0027C1CE.40CF518F.00000559,from=<me@my.domain>,addr=<andr@yahoo.co.uk>: Connection closed by remote host. Jun 22 23:27:32 myhost courieresmtp: id=0027C1CE.40CF518F.00000559,from=<me@my.domain>,addr=<andr@yahoo.co.uk>,status: deferred Jun 22 23:27:32 joy courierd: completed,id=0027C1CE.40CF518F.00000559

If I do courier flush; ps ax | grep esmtp then I get 7866 ? S 0:00 /usr/sbin/couriertcpd -stderrlogger=/usr/sbin/courierlogger -noidentlookup -nodnslookup -user=daemon -group=daemon -access=/etc/courier/smtpaccess.dat -maxprocs=5 -maxperc=5 -maxperip=5 -pid=/var/run/courier/esmtpd.pid smtp /usr/sbin/courieresmtpd /usr/lib/courier/courier/modules/esmtp/authstart authdaemon 7868 ? S 0:00 /usr/sbin/courierlogger courieresmtpd 8001 ? S 0:00 ./courieresmtp 8043 ? D 0:00 courieresmtp 0 yahoo.co.uk 8044 ? R 0:00 courieresmtp 1 yahoo.co.uk 8046 pts/4 R+ 0:00 grep esmtp

It looks like couriersmtp is trying to send mail directly to the target domain, which suggests that esmtproutes is being ignored.

If I uninstall courier-esmtpd, and install Exim4, smtp works fine. But I'd prefer to use courier because of the webadmin tool the ease of configuration for local mail delivery.

If I use tcpdump to watch my external interface while I do a "courier flush", I don't seem to see any traffic on port 25. I do see dns lookups taking place, however.

Mr Sam has kindly and patiently been trying to assist me, checking the obvious things, like the contents of /etc/courier/esmtproutes and that I can telnet to port 25, but I'm still no closer to resolving this issue than when I made my first post.

In the meantime, I think I'll whip up a nice vanilla Knoppix 3.4 VM and install the courier debian packages from scratch (just the base and the mta parts) to see whether I can reproduce the problem. If that works, I guess I'm in for a system rebuild.

However, if anyone feels they can save me the pain because I merely didn't remove a comment somewhere in a configuration file, please feel free to reply.

Thanks