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