On 2002-01-16 14:56:45 -0800, Will Yardley wrote:

>postfix doesn't attempt this by default, even if built with SASL, 
>but i don't think it would be terribly difficult to get this setup 
>with postfix either.

It's easy:  Install a sufficiently recent version of postfix on your 
computer.  Add the following settings to /etc/postfix/main.cf:

        smtp_sasl_auth_enable = yes
        smtp_sasl_password_maps = hash:/etc/postfix/saslpass
        
        # Specify zero or more of the following:
        # 
        # noplaintext:  disallow methods that use plaintext passwords
        # noactive:     disallow methods subject to active (non-dictionary) attack
        # nodictionary: disallow methods subject to passive (dictionary) attack
        # noanonymous:  disallow methods that allow anonymous authentication
        # 
        # By default, the Postfix SMTP client will not use plaintext passwords.
        #
        smtp_sasl_security_options = 
        
Into /etc/postfix/saslpass, you put something like this:

        smarthost       user:pass

Then, type "cd /etc/postfix && postmap saslpass".

That's all.  That way, all of the mail your system generates is sent 
out in a properly authenticated way.
-- 
Thomas Roessler                        <[EMAIL PROTECTED]>

Reply via email to