OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Authentication

From: /dev/rob0 (rob0gmx.co.uk)
Date: Mon Jun 19 2006 - 14:03:34 CDT


On Monday 2006-June-19 13:31, lars ebeling wrote:
> This I have put into main.cf:
> smtpd_sasl_application_name = smtpd
 ^^^
If there really is leading whitespace there, it is treated as a
continuation of the previous line. But I thought we were talking about
*client* AUTH here, and smtpd(8) is the server.

> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = dbm:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous '

SMTP client (smtp(8)) settings.

> In /usr/local/lib/sasl2/smtpd.conf I put:

SMTP server.

> mech_list: plain login
>
> In /etc/postfix/sasl_passwd I put:
>
> xx.yyyy.xx username:passwd

Where xx.yyyy.xx is the munged relayhost, I presume. We can't catch
errors in obscured information, as I'm sure you're aware.

> and then run
> postmap dbm:/etc/postfix/sasl_passwd

Leave off the "dbm:", see "man postmap".

> Still it doesn't work

I hate it when that happens!
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header