I have been looking into this issue over last several days, and the discussion about "forwarding mail to another MX on same domain" shed some light on this. However, I don't have this still working the way I would like so I rephrase as I now have a clearer picture of what I'm trying to accomplish:
My local server is the final destination for my primary domain, but it is not the MX defined in the DNS for that domain. Instead, the external spam filtering service's MX receive the mail, analyze it, and relay good mails to my local server. This works. There are also few other mail domains in use that have both filtered accounts and accounts that pass through unfiltered at the external service (the number of filtered accounts is a cost issue). This question is regarding the accounts that pass through the filtering service to my local server unfiltered. Once an unfiltered message hits my local server, I would like to redirect it to a filtered account at the primary domain. The problem here is that the local server is also the final destination for the primary domain. When I do a redirect in virtual_alias_maps: [EMAIL PROTECTED] [EMAIL PROTECTED] ..the mail gets delivered locally because the primarydomain.com is in virtual_mailbox_domains/virtual_mailbox_maps. I would like the mail to be delivered instead to the external filtering service's MX, where it would be filtered and, if clean, would eventually be delivered at the [EMAIL PROTECTED] at the local server. Perhaps some transport map could resolve this? The problem is that I can't use.. [EMAIL PROTECTED] smtp:mx.externalspamfilteringservice.com ..because that would result in a loop. Somehow I'd need to combine the entry in virtual_alias_maps and the transport map instruction to deliver the remapped email at the external SMTP server. Can this be done?