On 9/19/2009 5:56 PM, Gerry Gam wrote:
I have this in virtual:

nob...@mydomain.com nobody
@mydomain.com me

Reading the docs I'm led to believe that the first line has precedence and should catch 
those emails (I have nobody set in /etc/aliases to /dev/null). However, emails to 
nob...@mydomain.com are getting through to account "me".

virtual_alias__maps lookups are recursive, so nob...@mydomain.com matches @mydomain.com.

The solution is to rewrite to a different domain, typically @localhost, with localhost listed in mydestination.

nob...@mydomain nob...@localhost
@mydomain.com me

  -- Noel Jones

Reply via email to