Debugging exim installation

Charles Curley charlescurley at charlescurley.com
Thu Jan 17 16:35:55 MST 2008


On Thu, Jan 17, 2008 at 03:46:28PM -0700, Corey Edwards wrote:
> On Thu, 2008-01-17 at 15:30 -0700, Charles Curley wrote:
> > >>> check domains = +local_domains
> > >>> dzur.localdomain in "@:localhost:localhost:localdomain"? no (end of list)
> > >>> dzur.localdomain in "+local_domains"? no (end of list)
> 
> > >>> check hosts = +relay_from_hosts
> > >>> host in "192.168.1.0/24 : 127.0.0.1 : ::::1"? yes (matched "192.168.1.0/24")
> > >>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
> > >>> check control = submission/sender_retain
> > >>> accept: condition test succeeded
> 
> The message was accepted because you are allowed to relay. It died
> because the host "dzur.localdomain" is not local to the box (as far as
> Exim is aware), and Exim could not find a route for it. You need to add
> "dzur.localdomain" to the "local_domains" definition in the Exim config.


No joy. There was no "local_domains" line in
/etc/exim4/update-exim4.conf.conf, so I added it.


dc_eximconfig_configtype='internet'
dc_other_hostnames='localdomain'
dc_local_interfaces=''
dc_readhost=''
local_domains='dzur.localdomain'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.1.0/24'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'


I then ran update-exim4.conf. That done, I restarted the daemon. I
got:

root at dzur:/var/log/exim4# exim -bh 192.168.1.12

**** SMTP testing session as if from host 192.168.1.12
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 192.168.1.12
>>> IP address lookup yielded issola.localdomain
>>> gethostbyname2 looked up these IP addresses:
>>>   name=issola.localdomain address=192.168.1.12
>>> checking addresses for issola.localdomain
>>>   192.168.1.12 OK
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
220 dzur ESMTP Exim 4.67 Thu, 17 Jan 2008 16:21:30 -0700
EHLO issola.localdomain
>>> host in pipelining_advertise_hosts? yes (matched "*")
>>> host in auth_advertise_hosts? yes (matched "*")
>>> host in tls_advertise_hosts? no (option unset)
250-dzur Hello issola.localdomain [192.168.1.12]
250-SIZE 52428800
250-PIPELINING
250 HELP
MAIL FROM:<root at issola.localdomain>
>>> using ACL "acl_check_mail"
>>> processing "accept"
>>> accept: condition test succeeded
250 OK
RCPT TO:<ccurley at dzur.localdomain>
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check domains = +local_domains
>>> dzur.localdomain in "@:localhost:localhost:localdomain"? no (end of list)
>>> dzur.localdomain in "+local_domains"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> dzur.localdomain in "!+local_domains"? yes (end of list)
>>> check local_parts = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
>>> ccurley in "^[./|] : ^.*[@%!`#&?] : ^.*/\.\./"? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> ccurley in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check !acl = acl_whitelist_local_deny
>>> using ACL "acl_whitelist_local_deny"
>>> processing "accept"
>>> check hosts = ${if exists{/etc/exim4/local_host_whitelist}{/etc/exim4/local_host_whitelist}{}}
>>> host in ""? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check senders = ${if exists{/etc/exim4/local_sender_whitelist}{/etc/exim4/local_sender_whitelist}{}}
>>> root at issola.localdomain in ""? no (end of list)
>>> accept: condition test failed
>>> end of ACL "acl_whitelist_local_deny": implicit DENY
>>> check senders = ${if exists{/etc/exim4/local_sender_callout}{/etc/exim4/local_sender_callout}{}}
>>> root at issola.localdomain in ""? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check hosts = +relay_from_hosts
>>> host in "192.168.1.0/24 : 127.0.0.1 : ::::1"? yes (matched "192.168.1.0/24")
>>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
>>> check control = submission/sender_retain
>>> accept: condition test succeeded
250 Accepted
LOG: SMTP command timeout on connection from issola.localdomain [192.168.1.12]
421 dzur: SMTP command timeout - closing connection
root at dzur:/var/log/exim4# 

I also tried setting local_domains to just "localdomain", but that
also failed.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20080117/1bd6783a/attachment.bin 


More information about the PLUG mailing list