I'm trying to use Dovecot SASL with postfix 2.3.3 and when trying to send mail I get the debug output below. I don't know enough about whats going on to know where the problem is but something clearly is not right. I would send the configurations for postfix and dovecot except they are clearly talking to each other so I kinda doubt its a configuration issue. The machine can afford to be down for an hour or two at a time for testing stuff if needed.
Sep 6 12:04:10 server postfix/smtpd[13555]: connect from mobile-166-137-248-219.mycingular.net[166.137.248.219] Sep 6 12:04:17 server dovecot: auth(default): client in: AUTH 1 PLAIN service=smtp Sep 6 12:04:17 server dovecot: auth(default): client out: CONT 1 Sep 6 12:04:18 server dovecot: auth(default): client in: CONT 1 jonathan Sep 6 12:04:18 server dovecot: auth(default): plain(?): invalid input Sep 6 12:04:19 server dovecot: auth(default): client out: FAIL 1 Sep 6 12:04:19 server postfix/smtpd[13555]: warning: mobile-166-137-248-219.mycingular.net[166.137.248.219]: SASL PLAIN authentication failed: Sep 6 12:04:20 server postfix/smtpd[13555]: lost connection after AUTH from mobile-166-137-248-219.mycingular.net[166.137.248.219] Sep 6 12:04:20 server postfix/smtpd[13555]: disconnect from mobile-166-137-248-219.mycingular.net[166.137.248.219]
A working auth looks like this, I'm thinking that IMAP versus SMTP should not be *too* big a difference in this case.
Sep 6 12:06:22 server dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=10.70.3.1 rip=10.70.3.254 Sep 6 12:06:22 server dovecot: auth(default): client out: CONT 1 Sep 6 12:06:22 server dovecot: auth(default): client in: CONT 1 (some kind of hash looking thing) Sep 6 12:06:22 server dovecot: auth(default): client out: OK 1 user=jonathan Sep 6 12:06:22 server dovecot: auth(default): master in: REQUEST 1 13554 1 Sep 6 12:06:22 server dovecot: auth(default): master out: USER 1 jonathan system_user=jonathan uid=1001 gid=1001 home=/home/jonathan Sep 6 12:06:22 server dovecot: imap-login: Login: user=<jonathan>, method=plain, rip=10.70.3.254, lip=10.70.3.1, TLS
Thanks, Jonathan