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



Reply via email to