On Tue, Oct 12, 2010 at 10:21:26AM +1300, Jeremy Bowen wrote:
> my /etc/postfix/virtual file looks like this:
> @example.com jeremy
Avoid confusing yourself with localpart-only addresses on the RHS of
address lookup tables. Given your myorigin setting, Make that:
@example.com [email protected]
> [email protected] jane
[email protected] [email protected]
> @virtual1.com fred
@virtual1.com [email protected]
> @virtual2.com bill
@virtual2.com [email protected]
By now you probably figure out the issue. Virtual mappings are recursive,
(and catch-alls are a bad idea, but in any case) so jane, fred and bill
match the first rule. You could add identity mappings:
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]
or you could stop shooting yourself in the foot with catch-all aliases! :-)
--
Viktor.