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 access to that > > information. In the things to do, this has high cost and therefore > > low priority. > > I see. Bummer. I am pretty sure it would make life easier though... > > > 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 with one level of redirection but not for something like > i...@example.com -> i...@example.net -> spam-mails.
Yes, you'd need one SMTP daemon acces rule for each 'top-level' alias. Wietse