I have a FreeBSD12 machine with postfix enabled. If I send mail from it using mail(1) or php, mails are sent ok but appear from user@server.domain.com.domain.com making it impossible to reply to (without editing).
In maillog I see lines like:
I have experimented with append_dot_domain in main.cf but it didn't make no difference.
If I specifically set the sender, for instance in muttrc, it appears ok.
In maillog I see lines like:
Code:
postfix/qmgr[63465]: C0BA8119A915: from=<bsd@server.domain.com.domain.com>, size=782, nrcpt=1 (queue active)
If I specifically set the sender, for instance in muttrc, it appears ok.