OSEC

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

From: aio shin (aioshingmail.com)
Date: Tue Sep 11 2007 - 22:07:14 CDT


I still got one instance of undelivered mail problem after changing my
virtual alias maps. The same problem, it declared the user still as
unknown, though already add a localhost at the last part of the user.

I did not forgot to restart postfix and already re-run postmap on virtual file

#/etc/postfix/virtual
giovanni.claveriamydomain.com giovanni.claverialocalhost
giovanni.claveriamail.mydomain.com giovanni.claverialocalhost

and my mydestination entry at main.cf is
mydestination = $myhostname, localhost.$mydomain, localhost

and is there a significant on my /etc/hosts file, here' s the entries.

127.0.0.1 localhost.localdomain localhost
192.168.100.254 mail.mydomain.com mail #this is my eth0

or should I append mail.mydomain.com beside localhost?

TIA

On 9/12/07, aio shin <aioshingmail.com> wrote:
> On 9/11/07, Noel Jones <njonesmegan.vbhcs.org> wrote:
> > On Mon, Sep 10, 2007 at 05:24:43PM -0800, aio shin wrote:
> > > hi list
> > >
> > > I have this undelivered mail bounce message.. I just change the original to
> > > mydomain for posting here.
> > >
> > > *Final-Recipient: rfc822;
> > > **giovanni.claveriamail.mydomain.com*<giovanni.claveriamail.mydomain.com>
> > > *Action: failed
> > > Status: 5.0.0
> > > Diagnostic-Code: X-Postfix; unknown user: "giovanni.claveria"*
> > >
> > > Now, am not sure, why the user became unknown., the user has entry at
> > > virtual alias map file, say
> > > /etc/postfix/virtual contains below:
> > >
> > > *giovanni.claveriamail.mydomain.com* <giovanni.claveriamail.mydomain.com>
> > > *giovanni.claveria *
> > > #this entry will deliver the messages to giovanni locally, on the said host.
> > >
> > > The problem happened randomly, because it normally delivers on its mailbox,
> > > there should no problem at all, but at random time, it just happens, some
> > > users becomes unknown for a random time then it goes back to normal again.
> > >
> > > Any idea how I should fix this.?
> > >
> > > Thanks so much in advance.
> >
> > Your mail is hard to read due to mangling by gmail.
> > Please press the [Plain Text] button when posting from gmail.
> >
> > As a general rule, virtual aliases should have a fully qualified
> > domain name as the result. This prevents surprises.
> >
> > instead of something like:
> > giovanni.claveriamail.example.com giovanni.claveria
> >
> > use instead:
> > giovanni.claveriamail.example.com giovanni.claverialocalhost
> >
> > and make sure "localhost" is included in the main.cf mydestination
> > parameter (assuming you want local delivery).
> >
> > If you need more help, please see:
> > http://www.postfix.org/DEBUG_README.html#mail
> >
> > --
> > Noel Jones
> >
>
>
> THanks, I will try that, the localhost part., and thanks also for
> reminding on plaintext button., I will feedback later after observing
> what will happen next.
>