Re: check_recipient_access after rewrite happens

2017-09-21 Thread Wietse Venema
Andreas Thienemann: > Hi, > > On Wed, 20 Sep 2017, Wietse Venema wrote: > > > > > If you have a virtual alias that rewrites an address to the spam > > > > sink, specify that address in the SMTP daemon acces rules instead. > > > > > [,,,] > > > That would work. A bit of a hack though and I t

Re: check_recipient_access after rewrite happens

2017-09-21 Thread Andreas Thienemann
Hi, On Wed, 20 Sep 2017, Wietse Venema wrote: > > If you have a virtual alias that rewrites an address to the spam > > sink, specify that address in the SMTP daemon acces rules instead. > [,,,] > That would work. A bit of a hack though and I think it would only work for > virtual aliases

Re: check_recipient_access after rewrite happens

2017-09-20 Thread Viktor Dukhovni
> On Sep 19, 2017, at 8:39 PM, Andreas Thienemann wrote: > > That would work. A bit of a hack though and I think it would only work for > virtual aliases with one level of redirection but not for something like > i...@example.com -> i...@example.net -> spam-mails. Some SQL implementations sup

Re: check_recipient_access after rewrite happens

2017-09-20 Thread Wietse Venema
Andreas Thienemann: > Hi, > > On Tue, 19 Sep 2017, Wietse Venema wrote: > > > > During migration of an inherited mail system I have the situation that I > > > would like to reject certain recipient address _after_ they have been > > > rewritten through the virtual_alias_maps. > > > > The SMTP

Re: check_recipient_access after rewrite happens

2017-09-19 Thread Andreas Thienemann
Hi, On Tue, 19 Sep 2017, Wietse Venema wrote: > During migration of an inherited mail system I have the situation that I > would like to reject certain recipient address _after_ they have been > rewritten through the virtual_alias_maps. The SMTP daemon acces rules currently do not have acc

Re: check_recipient_access after rewrite happens

2017-09-19 Thread Wietse Venema
Andreas Thienemann: > Hi, > > During migration of an inherited mail system I have the situation that I > would like to reject certain recipient address _after_ they have been > rewritten through the virtual_alias_maps. The SMTP daemon acces rules currently do not have access to that information

check_recipient_access after rewrite happens

2017-09-19 Thread Andreas Thienemann
Hi, During migration of an inherited mail system I have the situation that I would like to reject certain recipient address _after_ they have been rewritten through the virtual_alias_maps. The old system had a spam sink where users could redirect certain local parts. e.g. a user has a catcha