Marc Perkel wrote:
>
>
> Ralf Hildebrandt wrote:
>> * Marc Perkel <[EMAIL PROTECTED]>:
>>  
>>> 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.
>>>     
>>
>> And how is that machine configured?
>>
>>  
>>> How do I tell postfix that it is the final destination of email for
>>> domains where it is not the primary MX?
>>>     
>>
>> That depends on the domain class the domain is in (local, relay,
>> virtual)
>>
>>   
>
> I'm asking for someone else and I don't yet have their configuration.
> And I know very little about Postfix (I do Exim). I'm just hoping that
> someone who knows postfix just says something like you have to set
> something = true or you have to put the domains in some standard list
> or something easy like that.
>

without the actual error from postfix logs, it's hard to help. postfix
will accept mail to any domain it is configured to handle
(mydestination, relay_domains, virtual_mailbox_domains,
virtual_alias_domains). so I suspect the problem is elsewhere (such as
postfix is supposed to relay the message, and this creates a loop, or
the filter helo's with name of the postfix server so postfix thinks it's
a loop, ... etc).

Recommended reading:
    http://www.postfix.org/ADDRESS_CLASS_README.html
    http://www.postfix.org/postconf.5.html#proxy_interfaces

The following must be read and understood:
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html

If virtual delivery is needed:
    http://www.postfix.org/VIRTUAL_README.html

more documents on
    http://www.postfix.org/documentation.html


PS. The filter should validate recipients to avoid backscatter:
    http://www.postfix.org/BACKSCATTER_README.html


Reply via email to