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:
Reply To:
Date:
Tue, 31 May 2011 13:53:21 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On Tue, May 31, 2011 at 10:17 AM, Marc Muehlfeld
<[log in to unmask]> wrote:
>
> 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?

You shouldn't use "local" as a domain because it's reserved for avahi.

Check/set in main.cf: mydomain, myorigin, myhostname, mydestination

ATOM RSS1 RSS2