Re: virtual_alias_domains and catch-all

2020-09-21 Thread Viktor Dukhovni
On Mon, Sep 21, 2020 at 11:15:01AM -0400, Wietse Venema wrote: > > > I don't know what you're finding surprising here. There's no magic, the > > > restrictions are evaluated *exactly* as written. There's no mention > > > of virtual here, so for remote senders, only recipients listed in > > > > >

Re: virtual_alias_domains and catch-all

2020-09-21 Thread Wietse Venema
Alex: > Hi, > > On Sun, Sep 20, 2020 at 10:06 PM Viktor Dukhovni > wrote: > > > > On Sun, Sep 20, 2020 at 08:53:36AM -0400, Alex wrote: > > > > > > > smtpd_recipient_restrictions = > > > > > permit_mynetworks, > > > > > permit_sasl_authenticated, > > > > > check_recipient_access pcre:/etc/p

Re: virtual_alias_domains and catch-all

2020-09-21 Thread Alex
Hi, On Sun, Sep 20, 2020 at 10:06 PM Viktor Dukhovni wrote: > > On Sun, Sep 20, 2020 at 08:53:36AM -0400, Alex wrote: > > > > > smtpd_recipient_restrictions = > > > > permit_mynetworks, > > > > permit_sasl_authenticated, > > > > check_recipient_access pcre:/etc/postfix/local_recip_map, > >

Re: virtual_alias_domains and catch-all

2020-09-20 Thread Viktor Dukhovni
On Sun, Sep 20, 2020 at 08:53:36AM -0400, Alex wrote: > > > smtpd_recipient_restrictions = > > > permit_mynetworks, > > > permit_sasl_authenticated, > > > check_recipient_access pcre:/etc/postfix/local_recip_map, > > > reject > > But this doesn't account for the catch-all for the vexample

Re: virtual_alias_domains and catch-all

2020-09-20 Thread Alex
Hi, On Sat, Sep 19, 2020 at 9:45 PM Viktor Dukhovni wrote: > > On Sat, Sep 19, 2020 at 09:09:15PM -0400, Alex wrote: > > > I have a postfix-3.5.6 system on fedora32 that accepts mail for a > > domain (example.com) just using $mydestination and > > smtpd_recipient_restrictions with check_recipient

Re: virtual_alias_domains and catch-all

2020-09-19 Thread Viktor Dukhovni
On Sat, Sep 19, 2020 at 09:09:15PM -0400, Alex wrote: > I have a postfix-3.5.6 system on fedora32 that accepts mail for a > domain (example.com) just using $mydestination and > smtpd_recipient_restrictions with check_recipient_access. Now I'd like > to add a catch-all for another domain (vexample.