[email protected]:
> Follow up...
> 
> > I have virtual mailboxes:
> >     [email protected]
> >     [email protected]
> > 
> > I have virtual aliases:
> >     [email protected] -> [email protected]
> >     @example.com -> [email protected]
> > 
> > But when I send email to [email protected] it goes to [email protected] 
> > maildir 
> > instead of [email protected] as expected.

Postfix secrets unleashed:

VIRTUAL(5)                    File Formats Manual                   VIRTUAL(5)
...
DESCRIPTION
       The optional virtual(5) alias table rewrites recipient addresses for
        ...
       Virtual aliasing is recursive, ...

To stop the recursion for a specific user, ADD a 1:1 alias:

 [email protected] -> [email protected]

This works because the more specific [email protected] has higher
precedence than the less specific @example.com.

        Wietse

Reply via email to