On Sat, Sep 04, 2021 at 10:37:35AM +0200, Jean-François Bachelet <jfbache...@free.fr> wrote:
> Re hello ^^) > > Le 04/09/2021 à 10:34, Jean-François Bachelet a écrit : > > Hello raf ^^) > > > > sorry for late answer, I'm too busy :( > > > > > > Le 29/07/2021 à 03:39, raf a écrit : > > > On Wed, Jul 28, 2021 at 01:15:13PM +0200, Jean-François Bachelet > > > <jfbache...@free.fr> wrote: > > > > > > > I've tried to concatenate the two lines in one, putting the > > > > permit stances > > > > from line 699 after the line 709 like below > > > > > > > > but that don't work either perhaps I should have commented out the line > > > > 'permit' or put that permit lines before the reject ones ? > > > > > > > > smtpd_recipient_restrictions = > > > > reject_invalid_hostname, > > > > reject_unknown_recipient_domain, > > > > reject_unauth_destination, > > > > reject_rbl_client > > > > sbl.spamhaus.org, > > > > permit > > > > permit_mynetworks, > > > > permit_auth_destination, > > > > permit_sasl_authenticated, > > > > reject > > > As Bill pointed out, the order matters. Putting permit > > > in the middle prevents anything later being checked. > > > You might want it to be: > > > > > > smtpd_recipient_restrictions = > > > permit_mynetworks > > > permit_sasl_authenticated > > > reject_unauth_destination > > > reject_invalid_hostname > > > reject_unknown_recipient_domain > > > reject_unauth_destination > > > reject_rbl_client sbl.spamhaus.org > > > permit > > > > BTW, I've set this rules and that resolved my problem ^^) > > > > Thanks a lot ^^) > > > > Jeff > > PS : I forgot to say that now I get mail for root delivered fine to my > private address when the dest is 'root@localhost' That's great to hear. I'm glad it helped. cheers, raf