OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Correct smtp auth config...

From: Charles Marcus (CMarcusMedia-Brokers.com)
Date: Tue May 01 2007 - 11:07:54 CDT


Hello,

I just want to be sure I am clear on this...

smtpd_sasl_auth is for incoming connections (ie, if one of my users
wants to be able to send mail remotely from their home connections), and

smtp_sasl_auth is for postfix's outgoing/relay capability, ie, if I want
to relay outgoing mail through my ISPs smtp server and they require
authentication

Is this correct?

Also, am I correct that in order to switch from using a relayhost that
doesn't require auth (specified just as:

relayhost = [smtp.domain.com]

I would:

1. comment out the relayhost setting in main.cf

2. enable:

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

3. Put the necessary entries in sasl_passwd

4. postmap the file, then

5. reload postfix?

--

Best regards,

Charles