Since Debian and Ubuntu default to a chrooted Postfix, Postfix has to be taken out of the chroot for SMTP Auth to work (there is a way to do it with sasldb, see Bug#55320 for details, but only for that specific case). See http://www.postfix.org/SASL_README.html#server_cyrus where it says, "To run software chrooted with SASL support is an interesting exercise. It probably is not worth the trouble."
The Ubuntu documentation makes no mention of the need to unchroot Postfix (which is what I think the reporters problem is): https://help.ubuntu.com/6.10/ubuntu/serverguide/C/email-services.html Note that this is true for all versions of Ubuntu. http://www.postfix.org/DEBUG_README.html#no_chroot gives a description of how to turn off chroot and could serve as a basis for a fix to this documentation problem. ** Changed in: ubuntu-docs (Ubuntu) Sourcepackagename: postfix => ubuntu-docs Importance: Undecided => Medium Status: Unconfirmed => Confirmed ** Summary changed: - SASL authentication failure Ubuntu 6.10 + Postifx setup documentation does not specify removing the chroot for SMTP Auth ** Description changed: Binary package hint: postfix 1. Install Ubuntu 6.10 (fresh) (or Feisty but lets stick to stable) 2. Install postfix 3. Follow the postfix 6.10 guide. 4. Normal sent mail without protection (tls) works. 5. TLS email fails with message in logs: " warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory" - - Thunderbird keeps prompting for password and prompting trying from command line as suggested somewhere shows a generic failure. - - - I have followed the guide to the drop many many times. - - I consider this bug to be grave, needs a fix at least within 72 hours. - Immediatly if it is really not an end user issue. Since most production - Company email servers for others with fail. - - Patches must be sent to: Edgy, (perhaps dapper) assume the bug exists in - their too. Feisty needs one too but not as urgent right now. - - Something seems changed in latest postfix or saslauthd. + Note that this is installation (see comments) is still chrooted, so this + is inevitable. -- Postifx setup documentation does not specify removing the chroot for SMTP Auth https://bugs.launchpad.net/bugs/105378 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs