On Tue, 3 Jun 2014 08:55:46 -0400 (EDT)
wie...@porcupine.org (Wietse Venema) wrote:

> mancyb...@gmail.com:
> > So i need a method of whitelisting ANY email that comes to domain.com,
> > however i need it to take place before any of the recipient
> > restrictions, they want no RBL or postgrey blocking at all.
> 
> Birta Levente:
> > If you want to whitelist recipient domain you need to check recipient 
> > access:
> > 
> > http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions
> > 
> > smtpd_recipient_restrictions =
> >              reject_unauth_destination,
> >                              check_recipient_access somemapfile,
> >              reject_rbl_client b.barracudacentral.org,
> >              reject_rbl_client cbl.abuseat.org,
> >              reject_rbl_client bl.mailspike.net,
> >              check_policy_service unix:postgrey/socket
> > 
> > 
> > somemapfile:
> > domain.com        OK
> 
> This is correct, by placing the whitelist after reject_unauth_destination.
> Otherwise you would have an exploitable open relay.
> 
>       Wietse

Hi Wietse and all the community, thanks for enlighting on this.
I applied the changes and I'm waiting for some spam to come in :)
I'll report on this / confirm
if everything goes well.

Thanks for supporting,
regards and have a nice day,
Mike

Reply via email to