SCIENTIFIC-LINUX-USERS Archives

May 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Patrick Riehecky <[log in to unmask]>
Reply To:
Patrick Riehecky <[log in to unmask]>
Date:
Tue, 31 May 2011 09:35:58 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On 05/31/2011 09:17 AM, Marc Muehlfeld wrote:
> Hi,
>
> I'm currently trying SL6 with postfix for local mail delivery (no "real" mail
> server).
>
> But I am wondering, why the sender is always "[log in to unmask]"? In
> /etc/postfix/main.cf is everything on it's default. "myhostname" is not set,
> what should postfix make getting the hostname via gethostname() as written in
> the comments.
>
> A hostname and search domain is configured for the system:
> # hostname -f
> vm01.test.local
>
> I know, I can set "myhostname", but why isn't postfix getting this by itself?
>
> Regards,
> Marc
Hello,

If I were to hazard a guess, I would suspect that /etc/hosts is to blame 
here.  If your hostname is on the 127.0.0.1 line, then I've periodically 
seen things get a bit wonky.  I'd be curious what /etc/hosts looks like, 
as well as, postconf -d |grep my and seeing how those match up.

Pat

ATOM RSS1 RSS2