[exim] [new to exim] exim server not sending host name and f…

Top Page
Delete this message
Reply to this message
Author: Sam Walters
Date:  
To: exim-users
Subject: [exim] [new to exim] exim server not sending host name and failing verification.
Hi
I am a web software developer by trade and this is my first foray into
configuring exim.

I am setting up a new server and the configuration seems to fail when
attempting to send email to other exim servers. (or other servers
doing the same verification)
The receiving exim server isn't able to verify my domain causing a
verification error, which is emailed back to me.

This message was created automatically by mail delivery software.

"A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es)
failed:

  info@<TEST_DOMAIN>.com
    SMTP error from remote mail server after RCPT
TO:<info@<TEST_DOMAIN>.com>:
    host <TEST_DOMAIN>.com.au [203.130.28.14]: 550-Verification failed
for <testfrom@<NEW_SERVER>.com.au>
    550-Unrouteable address
    550 Sender verify failed
"


I understand the verification process according to:
http://www.exim.org/exim-html-3.20/doc/html/spec_45.html#SEC803

I need to fix my new server so it will send emails to servers that do
a full reverse lookup of the senders email address otherwise ill run
into all sorts of trouble sending email.
Any relevent commands or a setting i have overlooked whilst setting up
the server? (errors below) Or further reading i could do on this
subject?
(googling mostly results in info about turning off the verification at
the recipients server which is not relevant to my issue)

cheers

sam_w

#----------------------------------------------------------------------------------------------------------
RAN THIS FROM ANOTHER WORKING EXIM SERVER:

exim -bh 203.130.28.33

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

>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> 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? yes (matched "*")
>>> using ACL "acl_connect"
>>> processing "accept"
>>> check hosts = +trustedmailhosts
>>> sender host name required, to match against lsearch;/etc/trustedmailhosts
>>> looking up host name for 203.130.28.33
>>> IP address lookup using gethostbyaddr()
>>> IP address lookup failed: h_errno=1

LOG: no host name found for IP address 203.130.28.33
>>> host in "lsearch;/etc/trustedmailhosts"? no (failed to find host name for 203.130.28.33)
>>> host in "+trustedmailhosts"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> 203.130.28.33 in "iplsearch;/etc/trustedmailhosts"? no (end of list)
>>> check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/trustedmailhosts}{1}{0}}
>>>                 = 0
>>> accept: condition test failed
>>> processing "accept"
>>> 203.130.28.33 in "iplsearch;/etc/relayhosts"? no (end of list)
>>> check condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
>>>                 = 0
>>> accept: condition test failed
>>> processing "accept"
>>> check hosts = +relay_hosts : +backupmx_hosts
>>> sender host name required, to match against lsearch;/etc/relayhosts
>>> host in "lsearch;/etc/relayhosts : localhost"? no (failed to find host name for 203.130.28.33)
>>> sender host name required, to match against lsearch;/etc/backupmxhosts
>>> host in "lsearch;/etc/backupmxhosts"? no (failed to find host name for 203.130.28.33)
>>> host in "+relay_hosts : +backupmx_hosts"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check condition = ${if eq {$interface_port}{25}{no}{yes}}
>>>                 = yes
>>> accept: condition test succeeded



#----------------------------------------------------------------------------------------------------------
CONFIGURATION OF THE PROBLEM SERVER:

exim -bP | grep -E '*domain*'
no_allow_domain_literals
no_allow_utf8_domains
callout_domain_negative_expire = 3h
callout_domain_positive_expire = 1w
dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain>
helo_lookup_domains = @ : @[]
hold_domains =
message_id_header_domain =
percent_hack_domains =
qualify_domain = <TEST_DOMAIN>.com
queue_domains =
queue_smtp_domains =
remote_sort_domains =

#----------------------------------------------------------------------------------------------------------
COMPLETE CONFIGURATION: