Old 29th November 2011, 05:11
carlos1014 carlos1014 is offline
Junior Member
Join Date: Apr 2009
Location: U.S.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up SMTP SASL authentication


I followed the tutorial for Postfix on Ubuntu 11.10 as well as the workaround for the no mechanism found bug. Everything was working fine, and then...
"New packages found... updating..." Apparently, SASL updated to the version that has the problem. Okay, so I followed the downgrade steps again, but now in my mail.log I simply see:

 warning: unknown[]: SASL LOGIN authentication failed: authentication failure
Courier authenticates fine. I thought it might have been a firewall issue, so I temporarily disabled it. No luck... Anyone have any thoughts?

Last edited by carlos1014; 29th November 2011 at 05:57.
Reply With Quote
Sponsored Links
Old 29th November 2011, 06:04
carlos1014 carlos1014 is offline
Junior Member
Join Date: Apr 2009
Location: U.S.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Wtf?!

Okay, don't know what happened, but it's working fine now. I don't know what fixed it:
  1. Verified /etc/default/saslauthd matched tutorial
  2. restarted saslauthd and postfix
  3. Rebooted machine after no resolution
  4. Still unable to login after reboot
  5. Edited /etc/postfix/master.cf to "smtp inet - n - - smtp -v" to disable Postfix chroot and get a verbose log
  6. restarted saslauthd and postfix
  7. Stuff started working...
  8. Changed /etc/postfix/master.cf back to original settings (smtp n - - - - smtp) and restarted services

Everything is working fine... Mystery... if anyone can shed some light on this, I'd greatly appreciate it.
Reply With Quote
Old 3rd December 2011, 19:01
DaleHutch DaleHutch is offline
Join Date: Apr 2010
Location: 39.943066 , -104.902954
Posts: 43
Thanks: 3
Thanked 4 Times in 4 Posts

I had the same problem.

Just followed Falko's instructions on bring the version back down and I'm back in business.

Need to get this corrected. Going to be a pain keeping the server up to date.
Reply With Quote
Old 4th December 2011, 11:44
Trunkles Trunkles is offline
Join Date: Oct 2010
Location: New Zealand
Posts: 46
Thanks: 1
Thanked 3 Times in 2 Posts
Default Still didn't work

I did a complete clean install of 11.10 earlier today.

Lo and behold, mail sending not working.

I did the workaround and that didn't work, so tried editing smtpd.conf to this...

pwcheck_method: saslauthd
mech_list: plain login pam
allow_plaintext: true
auxprop_plugin: sql
sql_engine: mysql
sql_user: root
sql_passwd: <Not gonna tell ya>
sql_database: database
sql_select: select password from mail_user where login = '%u'
Restarted postfix and saslauthd and nope. still can't send.

The client is set to use a normal password and STARTTLS. Is that correct?

Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 15:05
sasl / fail2ban vs. postfix/smtpd warnings) eko_taas Installation/Configuration 4 17th May 2011 17:04
Fail2ban + sasl problem and Solution pititis General 1 2nd March 2011 08:02
Cannot login to SquirrelMail sellotape Installation/Configuration 13 26th October 2010 12:03
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 16:18

All times are GMT +2. The time now is 03:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.