> Almost. You should probably still have at least one domain listed, that
> is used for the right-hand-side of aliases where the target should be a
> local delivery. One approach is to use:
> 
>     main.cf:
>       mydestination = local.invalid
> 
>       smtpd_sender_restrictions = 
>               check_sender_access regexp:/etc/postfix/reject_invalid
>               check_recipient_access regexp:/etc/postfix/reject_invalid
> 

I put all checks in smtpd_recipient_restrictions.
Is it the same?

Reply via email to