On Sun, Jan 01, 2012 at 06:00:46PM -0700, Philip Prindeville wrote: > I have a 'border' postfix MTA that doesn't host any mailboxes, indeed it > doesn't even know what the valid usernames are for the domain. > > It merely serves to check messages for viruses, and block DoS attacks. > > As such, I need it to perform aliasing *only* on messages generated locally > by system services, such as 'cron'.
Wouldn't the easiest way be to configure the box with a specific local domain? If its local domain is "antivirus.example.com", then it won't do alias expansion for anything else. Should the box have your main domain as a local domain it it doesn't even know the valid usernames for the domain? HTH