I'm betting this is a ridiculously stupid question. Here goes.
I'm setting up a very basic personal mail server on Slackware64 13.37 using postfix (obtained from slackbuilds.org). I can send mail to email@example.com
just fine from firstname.lastname@example.org
using Outlook. Everything processes correctly.
However, when sending mail *from* email@example.com
using mutt on the mailserver, firstname.lastname@example.org
receives the message fine, except that instead of the expected 'email@example.com', the sender is displayed as 'firstname.lastname@example.org'.
Right now, /etc/postfix/mail.cf is minimal:
myorigin = mydomain.tld
myhostname = mail.mydomain.tld
relay_domains = mydomain.tld mail.mydomain.tld localhost.localdomain localhost
I can see that the @mail.example.net domain is being pulled as part of mail postfix/cleanup, as per /var/log/maillog:
Jul 11 23:15:33 mail postfix/pickup: DBC3F6F72030: uid=1000 from=<user>
Jul 11 23:15:33 mail postfix/cleanup: DBC3F6F72030: message-id=<20130711231533.GA7150@mail.example.net>
Jul 11 23:15:33 mail postfix/qmgr: DBC3F6F72030: from=<email@example.com>, size=497, nrcpt=1 (queue active)
Jul 11 23:15:35 mail postfix/smtp: DBC3F6F72030: to=<firstname.lastname@example.org>, relay=mail.remotedomain.tld[xxx.xxx.xxx.xxx]:25, delay=1.6, delays=0.14/0/1.2/0.34, dsn=2.0.0, status=sent (250 ok: Message 4156662 accepted)
Jul 11 23:15:35 mail postfix/qmgr: DBC3F6F72030: removed
So, what am I missing here? Where is this being set, and why isn't the myorigin variable in main.cf not overriding it? Or *should* it be overriding it? Maybe my sendmail didn't build right? Perhaps mutt is misbehaving? It looks as if it has something to do with the message-id.
If this turns out to be something stupidly simple, please send me your address so I can send you a beer.