nanog mailing list archives

Re: SMTP Authentication for Local Domain in Postfix


From: Daniël W. Crompton <daniel.crompton () gmail com>
Date: Thu, 15 Aug 2013 14:46:51 +0200

Hi Shahab,

Your mistake is highlighted below, the order of *smtpd_sender_restriction* is
such that you are permitting local delivery to your network before sasl
authentication. In my config I removed it and only have it in *
smtpd_recipient_restrictions* and then only after sasl authentication has
been confirmed.

D.

On 15 August 2013 12:45, Shahab Vahabzadeh <sh.vahabzadeh () gmail com> wrote:

smtpd_sender_restriction =
    *permit_mynetworks,*
    permit_sasl_authenticated,
    check_sender_access hash:/etc/postfix/access_table
    reject_unknown_sender_domain,
    reject_non_fqdn_sender





-- 
blaze your trail

-- 
Daniël W. Crompton <daniel.crompton () gmail com>

<https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/9c8fce98bbc355155ff591c8c4d3294a?ytl=http%3A%2F%2Fspecialbrands.net%2F>

<https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/cc9b3750556f40b371120db27da84d11?ytl=http%3A%2F%2Fspecialbrands.net%2F>
http://specialbrands.net/<https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/33a803ba48245f2276f8943967dbf30e?ytl=http%3A%2F%2Fspecialbrands.net%2F>

      
<https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/339a2b8408365402f2b9e59e6fdbe2e6?ytl=http%3A%2F%2Ftwitter.com%2Fwebhat><https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/6c8846d4630a6a1ebaacdc40b89e581f?ytl=http%3A%2F%2Fwww.facebook.com%2Fwebhat><https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/56449b71c495a3b3a42c3aac78e5fe9f?ytl=http%3A%2F%2Fplancast.com%2Fwebhat><https://app.yesware.com/tl/9c9e8bb890b2c61ccf5ccb1efbfd0ea222e4bce5/2b6126186c37cd18734057f92f930bce/f3abd8021c37d45a3b07299253bbe6fe?ytl=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fredhat>


Current thread: