OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Using SMTP AUTH to connect two postfix servers ...

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Sat May 13 2006 - 03:50:27 CDT


Am Saturday 13 May 2006 08:12 schrieb Marc G. Fournier:

> For the longest time, I've been using SMTP AUTH to have my 'at home
> desktop' relay mail through my co-located server, and everything has
> worked great ...
>
> Today, I just noticed a problem where my co-located server is now telling
> me:
>
> SASL DIGEST-MD5 authentication failed

Show all related Error-Messages. Maybe there is something before.

> The only change I've made is to have my passwords stored in an sqlite
> database, but, since postfix is going through sasl, I wouldn't have
> thought that this would be a problem ...
>
> My IMAP connections are working perfectly fine, its just postfix that
> appears to be having the problem ... my sasl_sql_select hasn't changed
> any, table structures are all the same, and both my
> /usr/local/lib/sasl2/smtpd.conf and /usr/local/etc/imapd.conf file(s) have
> the exact same values in them ...

Show your configuration (postconf -n, smtpd.conf).

Check if the smtpd.conf is in the correct Directory. Play around with the
mech_list Option.

And check for a chroot around smtpd (master.cf).

> Now 100% what to do to debug this ... first question is, how can I
> manually perform the SMTP AUTH through a telnet session, instead of having
> to test by sending an email each time?

Cyrus-Imapd has an Utility smtptest, maybe it is installed. Or is imtest
installed?

--
        Andreas