> Sorry for the OT question but just need a quick answer from a postfix
> expert.
>
> Here's the problem. I run a front end spam filtering service. Email from
> the world comes in, I clean it, and send the good email to the original
> server. However sometimes because my service is now the primary MX when
> I forward the good email the recipient server (running Postix) rejects
> the email (relaying denied) because it no longer things it is hosting
> the domain locally.
>
> How do I tell postfix that it is the final destination of email for
> domains where it is not the primary MX?
>
> Thanks in advance.
>

I think Postfix may know it's the final destination for the domains in 
question, otherwise ALL mail would be rejected. This sounds like their clients 
(and/or possibly their server too) are using your machine to send mail to 
foreign domains, you are accepting this mail, then relaying it to the Postfix 
machine (for some unknown reason). The Postfix machine is not responsible for 
these foreign domains, so it rejects the mail. Is this a possibility? Or is the 
mail in fact addressed to their domain?

If the Postfix server really does not think it's responsible for the domains, 
then the domains it is responsible for need to be added to whatever address 
class is in use. If mail is stored locally on the Postfix server and Unix 
accounts are used, then the domains would be added to $mydestination. If the 
server relays to another server, then the domains would go in  $relay_domains, 
if using virtual alias domains, then they would go in a virtual_alias_domains  
map, and if using virtual mailboxes, they would go in a virtual_mailbox_domains 
map. They can only go in one, and we don't know enough about the server in 
question to tell you which one. The thing is, the administrator should not have 
changed what domains the Postfix server  accepts mail for when the MX record 
was changed. In other words, maybe the admin should put it back the way it was 
in this respect. 

Gary V
_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

Reply via email to