> -----Original Message-----
> From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org>
> On Behalf Of Gerald Galster
> Sent: Monday, July 27, 2020 6:47 AM
> To: Postfix users <postfix-users@postfix.org>
> Subject: Re: smtpd_recipient_restrictions Failure?
> 
> 
> > Lately I've been getting email sent from one persistent spammer that's
> > somehow getting through my smtpd_recipient_restrictions filters. Here
are
> > the message headers:
> >
> > Return-Path: <MAILER-DAEMON>
> [...]
> > From:=?UTF-8?B?RGVybWFDb3JyZWN0?=<i...@....xyz>
> [...]
> > smtpd_recipient_restrictions =
> >       check_sender_access hash:/etc/postfix/blacklist_hash,
> 
> http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions
> 
> smtpd_sender_restrictions like check_sender_access check the
> envelope_sender (MAIL FROM smtp command / Return Path) which is not
> necessarily the same as the From: header.
> 
> In your example the null sender ("", <>, MAILER-DAEMON) is searched,
> not i...@....xyz.
> 
> Best regards
> Gerald

Thanks, Gerald. I also have this in my main.cf configuration file:

smtpd_sender_restrictions =
        permit_mynetworks,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain,
        check_client_access cidr:/etc/postfix/blacklist_cidr,
        permit

Shouldn't the reject_non_fqdn_sender or reject_unknown_sender_domain
restrictions have caught this?

Scott

Reply via email to