OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "mail loops back" problem

From: Wietse Venema (wietseporcupine.org)
Date: Mon Feb 23 2004 - 20:16:38 CST


Marcelo P. Lima:
> That is correct: mail for userjoesao.com (local users) are given to
> maildrop.
>
> But I'm trying to send email to userbalka.com (user at another domain
> on another box in another network) and that mail is looping back... how
> do I fix that?

OK, so we repeat the same transport mapping exercise for userbalka.com.

What is the output from:
    postmap -q balka.com mysql:/etc/postfix/mysql_transport_maps.cf
    postmap -q userbalka.com mysql:/etc/postfix/mysql_transport_maps.cf

And we'll take it from there.

        Wietse
>
>
>
> On Feb 23, 2004, at 20:16, Wietse Venema wrote:
>
> > Marcelo P. Lima:
> >> mydestination = $mydomain, $transport_maps, localhost.$mydomain,
> >> transport_maps = mysql:/etc/postfix/mysql_transport_maps.cf
> >
> > Marcelo P. Lima:
> >> [rootlocalhost admin]# postmap -q joesao.com
> >> mysql:/etc/postfix/mysql_transport_maps.cf
> >> maildrop
> >
> > Then mail for userjoesao.com is given to the pipe delivery
> > agent as specified in your master.cf file:
> >
> > maildrop unix - n n - - pipe
> > flags=DRhu user=maildrop argv=/usr/bin/maildrop -w 90 -d
> > ${recipient}
> >
> > This is not consistent with your observation that mail is given to
> > the Postfix SMTP client.
> >
> > Wietse
> >
> >
>
>
>