Trouble sending mail to myself

Tags:

Hi folks,

After an update to exim4 (sid) a day or two ago I don't seem to be able to send mail to anyone on my local machine by using the hostname, but I can send it to users at localhost. So mailing to fred@localhost will work, but mailing to fred@machinename or simply to fred doesn't.

The upshot of all this is that I'm not receiving mail from the system, cron job reports and so on.

My email has been working well for about a year now, but the recent upgrade seems to have mucked things up. Any idea how to fix it?

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Trouble sending mail to

I am running Etch, and here is one of my exim configuration files. Maybe the line dc_other_hostnames='localhost.localdomain'
has changed in your file?


# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file
dc_eximconfig_configtype='local'
dc_other_hostnames='localhost.localdomain'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

Doesn't seem like it :-(

Hmm, doesn't look like it. In my update-exim4.conf.conf I have dc_other_hostnames='' . However, I've pulled out that file from a backup that precedes the update and the two are identical.

For what it's worth I've also checked /etc/hosts, /etc/hostnames and /etc/aliases and everything seems to be in order (and ls -l tells me they haven't been changed in some months anyway).

Any other ideas?
--
A tidy house is the sign of a stolen computer.

Doesn't seem like it :-(

Try saving a copy of the config file (use 'mv' rather than copy so the package manager thinks there is no config) then reconfiguring exim. If I recall correctly there are a number of choices for delivery of 'root' mail etc; I once tried an install while I was half asleep and kept setting up incorrectly. Did you also check your inetd file?

Don't worry!

It turns out I was bitten by bug 429939, and all is well now.

Thanks for your help folks!

--
A tidy house is the sign of a stolen computer.

Syndicate content