Bug 198511

Summary: Exim unable to send mail to localhost or localhost.localdomain
Product: [Fedora] Fedora Reporter: John Horne <john.horne>
Component: eximAssignee: David Woodhouse <dwmw2>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.63-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-04 02:54:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Horne 2006-07-11 15:33:10 UTC
Description of problem:
Exim gives error when sending mail to '@localhost' or '@localhost.localdomain'
addresses.

Version-Release number of selected component (if applicable):
exim-4.62-2.fc5

How reproducible:
Always

Steps to Reproduce:
1. Run 'exim -bt root@localhost' or 'exim -bt root'
2.
3.
  
Actual results:
Error produced:

  exim -bt root@localhost
  root@localhost is undeliverable:
    Unrouteable address


Expected results:
Exim should deliver the mail to the local host.

Additional info:

Sendmail produces correct result and delivers mail to the local host. As such
both exim and sendmail should perhaps do the same (similar) thing?

Some software seems to use the '@localhost' address - e.g. Apache in
/etc/httpd/conf/httpd.conf (httpd-2.2.2-1.0). The admin address is given as
'ServerAdmin root@localhost'. This will obviously fail if used. Also
/etc/warnquota.conf (quota-3.13-1.2.1), which contains 'CC_TO = "root@localhost"'.

Possible solution:
The default exim.conf file contains:

  domainlist local_domains = @

This could be changed to:

  domainlist local_domains = @ : localhost : localhost.localdomain

Testing then gives:

  exim -bt root@localhost
  root@localhost
    router = localuser, transport = local_delivery



John.