Date: 21 Aug 2002 12:47:48 -0500 From: James McNaughton <jtm63@enteract.com> To: freebsd-questions@freebsd.org Subject: Sendmail header substitution Message-ID: <86it24w1bv.fsf@jamestown.21stcentury.net>
next in thread | raw e-mail | index | archive | help
My problem is this: After upgrading to 4.6, the new sendmail configuration keeps substituting `localhost' for the host name in email headers. This is causing the two nodes on my private network to reject each other's mail. Since I have root on my headless firewall/print server aliased to my user account on my workstation, I can't get the output of periodic scripts as I normally did. This shows up in the sending hosts mail log: Aug 21 03:03:57 tater sendmail[10550]: g7L83q7f010548: to=jtm@jamestown, ctladdr=<root@tater.21stcentury.net> (0/0), delay=00:00:03, xdelay=00:00:01, mailer=esmtp, pri=33954, relay=jamestown.21stcentury.net. [192.168.1.1], dsn=5.6.0, stat=Data format error And I eventually get a message (after bouncing around some between machines) that includes: ----BEGIN PART OF ERROR MESSAGE---- The original message was received at Wed, 21 Aug 2002 09:00:14 -0500 (CDT) from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- jtm@jamestown (reason: 553 5.5.4 <jtm@localhost.21stcentury.net>... Real domain name required for sender address) (expanded from: <jtm@tater.21stcentury.net>) ----- Transcript of session follows ----- ... while talking to jamestown.21stcentury.net.: >>> MAIL From:<jtm@localhost.21stcentury.net> SIZE=885 <<< 553 5.5.4 <jtm@localhost.21stcentury.net>... Real domain name required for sender address ----END PART OF ERROR MESSAGE---- Somewhere in the configuration files now, localhost.$m is being substituted for $j in the headers and the recieving MTA is refusing to accept the message because it thinks itself to be localhost (and it is right!). I don't see why you would do this, but I would like to turn it off. However, I still haven't found a way. Any one know what happened and how to fix it? Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86it24w1bv.fsf>