So I have a main.cf with mydestination that includes maindomain.com,
sub1.maindomain.com, sub2.maindomain.com.

Normally, any mail that arrives here with @maindomain.com gets forwarded on
to another mail server.  Also mail addressed to @sub1.maindomain.com gets
rewritten to have @maindomain.com.

I also have virtual_maps specified with:

some_u...@maindomain.com    some_u...@sub1.maindomain.com

This allows particular top-level domain email to be delivered locally to
this box.

What I wanted to do was have a certain sub2.maindomain.com email get
delivered locally to this box, so I added:

another_u...@sub2.maindomain.com    another_u...@sub1.maindomain.com

However, this just gets forwarded on to the other mail server - rewritten
with @maindomain.com.

Any thoughts or ideas at what I can look into?

Thanks,

ScottO

Reply via email to