Hello folks. I really hope someone has a new idea on this ...
I followed the how to at
http://library.linode.com/email-guides/postfix/postfix-courier-mysql-ubuntu-9.10-karmic in the hopes of correcting my configuration, but no luck.
Here's what I have:
Courier-imap, authenticating to MySQL. Postfix delivering through Amavisd-new, Spamassassin, etc. Saslauthd authenticating to the same MySQL db via libpam_mysql.
I am NOT using virtual users (I only have 5 or 6) and I'm not implementing quotas. All the rest is pretty much my config to a T.
What works:
Courier, authentication, etc. works fine. Incoming mail is handled correctly, including the spam processing. Sending mail from within the host via Squirrelmail works fine. Saslauthd authentication to MySQL through the libpam_mysql plugin - verified via testsaslauthd.
What doesn't work:
External clients trying to send mail via postfix.
I've tried boosting the logging verbosity, but I see nothing in the logs. I've tried the telnet to port 25 test, and it works perfectly from the host, but times out from outside the host. The firewall is open on port 25, and I've verified with tcpdump that there are packets coming through - usually 28 or 29 altogether, going both ways.
I've checked the mail.log, mail.info, mail.err, auth.log, and the mysql logs - both by way of straight vi editing and tail -f.
Nothing is happening with these failed connections.
I've probably read 350 pages on postfix configuration, sasl configuration, ubuntu firewalls, apparmor (which is definitely not installed) and libpam_mysql. I cannot find anything that helps. I've rewritten my configs no less than 15 times in the last week, and nothing helps.
I've also reinstalled postfix after moving the original main.cf and master.cf to another location, then reconfigured them according to the how to. This of course broke incoming email because I forgot to add the transport config in master.cf, but after that was resolved, I was back where I started.
I'm at the end of my rope with this. Any suggestions would be greatly appreciated.
Lou