Bill Randle wrote:
On Sat, 2008-01-12 at 08:14 -0800, 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.

Make sure the final target domain is listed in 'mydestination' in
/etc/postfix/main.cf and that 'mydomain' is also set correctly. A
typical main.cf file might have something like this (among other
entries):
    mydomain = mydomain.tld
    myhostname = myhost.mydomain.tld
    mydestination = $myhostname, $mydomain, localhost

Don't forget to do a 'postfix reload' after making any changes.

        -Bill


Thanks Bill,

I was wondering if this might be a factor?

*permit_auth_destination*
   Permit the request when one of the following is true:

       * Postfix is mail forwarder: the resolved RCPT TO address
         matches $relay_domains
         <http://www.postfix.org/postconf.5.html#relay_domains> or a
         subdomain thereof, and the address contains no
         sender-specified routing ([EMAIL PROTECTED]@domain),
       * Postfix is the final destination: the resolved RCPT TO address
         matches $mydestination
         <http://www.postfix.org/postconf.5.html#mydestination>,
         $inet_interfaces
         <http://www.postfix.org/postconf.5.html#inet_interfaces>,
         $proxy_interfaces
         <http://www.postfix.org/postconf.5.html#proxy_interfaces>,
         $virtual_alias_domains
         <http://www.postfix.org/postconf.5.html#virtual_alias_domains>,
         or $virtual_mailbox_domains
         <http://www.postfix.org/postconf.5.html#virtual_mailbox_domains>,
         and the address contains no sender-specified routing
         ([EMAIL PROTECTED]@domain).

**


Reply via email to