-----Original message-----
> From: Dominic Raferd <[email protected]>
> You presumably have the default setting:
> append_at_myorigin = yes
>
> Refer to http://www.postfix.org/virtual.5.html
> <http://www.postfix.org/virtual.5.html>.
> Bear in mind that processing of virtual alias table is recursive.
>
> So: the first time, [email protected]
> <mailto:[email protected]>
> is rewritten to
> [email protected]
> <mailto:[email protected]>
> (i.e. the 'myorigin' is appended, I am guessing domain1.com
> <http://domain1.com>
> is set in /etc/mailname)
>
> Because a change occurred this is then passed back through the same file and
> (unless you remove the @domain1.com <http://domain1.com> catchall) gets
> rewritten
> to
> [email protected]
> <mailto:[email protected]>
Ah. That makes sense; because I am using virtual users, I guess postfix doesn't
know when to stop.
I added in:
[email protected] [email protected]
[email protected] [email protected]
which are the actual end results and that catches that final rewrite. I realise
the first one isn't strictly necessary given the catchall; but just for
consistency!
Thanks - that was a great help.
Cheers,
David