[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim using incorrect hostname



On Wed, Jan 04, 2006 at 03:12:27AM -0500, Chris Howie wrote:

> 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?

I had to make my /etc/hosts file like this before exim4 worked right in this
respect:

127.0.0.1 foobar.com localhost

not 

127.0.0.1 localhost foobar.com

Attachment: signature.asc
Description: Digital signature


Reply to: