By default SASL2 is looking for the smtpd.conf file in /usr/lib/sasl2, the plugin directory or in location in the environment variable SASL_PATH. The Postfix ebuild places it in /etc/sasl2. Resolution ? 1) Put it in /usr/lib/sasl2 or 2) Patch Cyrus SASL2 to look for config files under /etc/sasl2. Cyrus SASL does not look for config files in the location set by --configdir. Version 1 ebuild had a patch for this, 2 does not. Setting SASL_PATH will not work because then all the plugins need to be under /etc/sasl2
I have added -r1 of postfix to portage which changes the install location of smtpd.conf. Please test and let me know if everything works for you.
Unmerged my existing, remerged this one, and it worked as expected. Back to my local ebuild now though (newer release version & patches)
Out of curiosity, what version of postfix are you currently working with? What modules extra are you using? Is your build of postfix much different from the one I have in Gentoo currently? Have any other comments on the postfix ebuild?
Postfix TLS extension from http://www.aet.tu-cottbus.de/personen/jaenicke/pfixtls/ pfixtls-0.8.11a-1.1.11-20021031-0.9.6g.tar.gz (same as ebuild, just newer) Virtual Delivery Agent Patches from http://www.oav.net/~kiwi/postfix/ postfix-1.1.11-20020822_quota.patch.gz These patches fail to apply on a README, but other then that work. (I need the "Mailbox_Suffix" extension) I don't use the IPV6 patches as they don't have a version against 20021031.
Well, anyway, thanks for the sasl fix. It's good to know that sasl auth actually works. :)