When I configured exim (with `dpkg-reconfigure exim4-config`), I told it that my system mail name was "foobar.com" (actually I didn't, but we'll pretend that's what I called it). /etc/mailname contains "foobar.com" as well, but when sending mail exim issues "EHLO localhost.localdomain", and when receiving mail it adds the line "Recieved: from sender.whatever.com (xxx.xxx.xxx.xxx) by localhost.localdomain" Either my box is schizophrenic, exim is borked, or I'm braindead. How do I get exim to report my box's real hostname? ### /etc/exim4/update-exim4.conf.conf ### dc_eximconfig_configtype='smarthost' dc_other_hostnames='foobar.com' dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='my.smarthost' CFILEMODE='644' dc_use_split_config='true' dc_hide_mailname='false' dc_mailname_in_oh='true' ### /etc/hostname ### foobar ### /etc/mailname ### foobar.com ### -- Chris Howie http://www.chrishowie.com -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d-(--) s:- a--->? C++(+++)$> UL++++ P++++$ L+++>++++ E--- W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X- R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++ ------END GEEK CODE BLOCK------
Attachment:
signature.asc
Description: OpenPGP digital signature