著者: Martin Timbro 日付: To: exim-users 題目: [exim] Exim 550 error
Hi all,
Just joined the list.
I have a question / concern. I have a machine on my LAN running postfix.
It's hostname will be abc.domain.com. I try to send a mail from it to a
user on the domain through my exim mail server and this is the result
when I use the exim -bh 192.168.0.68 on the mail server:
**** SMTP testing session as if from host 192.168.0.68
**** 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.0.68
>>> IP address lookup yielded crm.deev.com
>>> gethostbyname looked up these IP addresses:
>>> name=crm.deev.com address=192.168.0.68
>>> checking addresses for abc.domain.com
>>> 192.168.0.68 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 mailserver.domain.com ESMTP Welcome to xyz company; Tue, 13 Feb 2007
13:17:14 -0500
mail from:nagios@???
250 OK
rcpt to:sysadmin@??? >>> 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
>>> domain1.com in "@ : lsearch;/etc/mail/local_domains : mysql;select domain from domains where domain = 'domain1.com'"? yes (matched
"mysql;select domain from domains where domain = 'domain1.com'") >>> domain1.com in "+local_domains"? yes (matched "+local_domains")
>>> check local_parts = ^[.] : ^.*[@%!/|]
>>> sysadmin in "^[.] : ^.*[@%!/|]"? no (end of list)
>>> deny: condition test failed
>>> processing "deny"
>>> check domains = !+local_domains
>>> domain1.com in "@ : lsearch;/etc/mail/local_domains : mysql;select domain from domains where domain = 'domain1.com'"? yes (matched
"mysql;select domain from domains where domain = 'domain1.com'") >>> domain1.com in "!+local_domains"? no (matched "!+local_domains")
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> sysadmin in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "require"
>>> check verify = sender
>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> routing nagios@???
>>> abc.domain.com in "@ : lsearch;/etc/mail/local_domains : mysql;select domain from domains where domain = 'abc.domain.com'"? no
(end of list) >>> abc.domain.com in "! +local_domains"? yes (end of list)
>>> calling dnslookup router
>>> 192.168.0.68 in "0.0.0.0/8 : 10.0.0.0/8 : 172.16.0.0/12 : 192.168.0.0/16 : 127.0.0.0/8 : 169.254.0.0/16 : 192.0.2.0/24 :
192.88.99.0/24 : 198.18.0.0/15 : 224.0.0.0/4 : 240.0.0.0/4"? yes
(matched "192.168.0.0/16") >>> dnslookup router declined for nagios@???
>>> "more" is false: skipping remaining routers
>>> no more routers
>>> ----------- end verify ------------
>>> require: condition test failed LOG: H=abc.domain.com [192.168.0.68] sender verify fail for
<nagios@???>: Unrouteable address
550-Verification failed for <nagios@???>
550-Unrouteable address
550 Sender verify failed
LOG: H=abc.domain.com [192.168.0.68] F=<nagios@???> rejected
RCPT sysadmin@???: Sender verify failed
As you can see, it's nagios (monitoring) trying to send mail to my
account...What can I do to let my mail server disregard the fact that
it's a 192.168.0.0/16 address ?