From: mouss (no email)
Date: Tue May 01 2007 - 14:41:03 EDT
Charles Marcus wrote:
>> so you have smtpout.secureserver.net as your relayhost (as seen in
>> postconf -n), but they don't accept to relay for you. ask them what
>> to do to be able to relay via their server. if they gave you yoy a
>> login/passwd, then you'll need to setup sasl. see the SASL_README.
>> look for the part with "sasl client" or so, and to smtp_sasl_*
>> variables (not smtpd_sasl_*).
>
> Which reminds me of a question I had earlier, but I ended up not
> needing to enable smtp auth, so it wasn't urgent...
>
> Am I correct that in order to switch from using a relayhost that
> doesn't require auth, I would:
>
> 1. comment out the relayhost setting in main.cf
No. leave it. otherwise, you system will send directly to MXes. this
would work, except if the recipient MX blocks you (block "resedential"
IPs).
>
> 2. enable:
>
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
>
> 3. Put the necessary entries in sasl_passwd
don't forget the square brackets around the host.
>
> 4. postmap the file, then
>
> 5. reload postfix?
>
yes
|
|
|