OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: greets & howto local smtp + remote sasl smtp

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Fri Feb 01 2008 - 13:33:07 CST


On Fri, Feb 01, 2008 at 01:27:20PM -0600, Dan Farrell wrote:

>
> hi list,
>
> I have been using postfix for about a year now to host my own mail, and
> have never been able to configure remote SASL SMTP authentication on my
> mail server. My desired configuration would
>
> 1 allow any mail sent from local networks through
> 2 allow any mail sent from an authorized smtp connection through
> 3 allow any mail sent to a destination or relay domain through
> 4 reject all other mail (of course!)
>
> right now I have all but #2. I can send mail from local hosts just
> fine, but I cannot send mail from remote locations.
>
> My hope is that someone on the list could kindly point me in the right
> direction.
>

    http://www.postfix.org/SASL_README.html

> smtpd_sasl_auth_enable = yes
> smtpd_sasl_path = smtpd
> broken_sasl_auth_clients = yes
> smtpd_client_restrictions =
> permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
> smtpd_sender_restrictions =
> permit_mynetworks,permit_sasl_authenticated,reject_unknown_address,permit
>

The "smtpd_client_restrictions" setting should instead be an
smtpd_recipient_restrictions setting (with the same value).

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.