Re: unrouteable mail

"[email protected]" <[email protected]>
Newsgroups gmane.mail.exim.vexim.devel
Message-ID <[email protected]>
Hi Avleen,

Le 2 juil. 08 à 02:24, Avleen Vig a écrit :
> On Wed, Jul 02, 2008 at 01:31:48AM +0200,  
> [email protected] wrote:
>> Hi,
>>
>> Le 1 juil. 08 ? 18:34, Odhiambo Washington a ?crit :
>>>> Now I get unrouteable mail for each mail that the website sends...
>>>> What should I check ?
>>>
>>> exim -bt test@that-domain???
>>
>> exim4 -bt [email protected]
>> R: system_aliases for [email protected]
>> [email protected] is undeliverable:
>>    Unrouteable address
>
>
> #> script
> #> exim -bh 127.0.0.1
>
> Then talk SMTP to it:
>
> exim> HELO localhost
> exim> MAIL FROM:<>
> exim> RCPT TO:<[email protected]>
>
> Then, control-C to break out of that, and control-D to quit the  
> 'script'
> session.
> All of that output is now in a file called 'typescript' in the current
> directory.
> Send that please?

Thanks for your help.

The domain symetrie.com was not in Relays when doing this, though  
sending from 127.0.0.1 should work for any domain.
THe strange thing is the name lookup at the end for check hosts =  
emi.mail.pas.earthlink.net, which is unknown for me.
Hope it's due to spamassassin and my box isn't compromised !

Here it is:
Script started on mer 02 jui 2008 08:47:21 CEST
# exim -bh 127.0.0.1

**** SMTP testing session as if from host 127.0.0.1
**** 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 127.0.0.1
 >>> IP address lookup yielded localhost
 >>> gethostbyname2 looked up these IP addresses:
 >>>   name=localhost address=127.0.0.1
 >>> checking addresses for localhost
 >>>   127.0.0.1 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 symetrie.com ESMTP Exim 4.63 Wed, 02 Jul 2008 08:47:32 +0200

EHLO localhos
 >>> using ACL "acl_check_helo"
 >>> processing "accept"
 >>> check hosts = :
 >>> host in ":"? no (end of list)
 >>> accept: condition test failed
 >>> processing "accept"
 >>> check hosts = +relay_from_hosts
 >>> gethostbyname2 looked up these IP addresses:
 >>>   name=localhost address=127.0.0.1
 >>> host in "localhost : 192.168.0.0/24"? yes (matched "localhost")
 >>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
 >>> accept: condition test succeeded
 >>> host in pipelining_advertise_hosts? yes (matched "*")
 >>> host in auth_advertise_hosts? yes (matched "*")
 >>> host in tls_advertise_hosts? no (option unset)
250-symetrie.com Hello localhost [127.0.0.1]

250-SIZE 52428800

250-PIPELINING

250-AUTH PLAIN LOGIN CRAM-MD5

250 HELP

MAIL FROM:<[email protected]>
250 OK

RCPT TO:<[email protected]>
 >>> using ACL "acl_check_rcpt"
 >>> processing "accept"
 >>> check hosts = :
 >>> host in ":"? no (end of list)
 >>> accept: condition test failed
 >>> processing "accept"
 >>> check local_parts = postmaster
 >>> contact 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}{}}
 >>> [email protected] 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}{}}
 >>> [email protected] in ""? no (end of list)
 >>> deny: condition test failed
 >>> processing "accept"
 >>> check hosts = +relay_from_hosts
 >>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts" -  
cached)
 >>> check control = submission/sender_retain
 >>> accept: condition test succeeded
250 Accepted

DATA
354 Enter message, ending with "." on a line by itself

Subject: console sent mail to test exim4
Hello,
 >>> host in ignore_fromline_hosts? no (option unset)

 >>> localhost.localdomain in "@ :  : "? no (end of list)
 >>> localhost.localdomain in "+local_domains"? no (end of list)
 >>> [email protected] in "*@+local_domains"? no (end of  
list)
 >>> localhost.localdomain in "foliomusic.net"? no (end of list)
 >>> [email protected] in "*@foliomusic.net"? no (end of  
list)
 >>> localhost.localdomain in "@ :  : "? no (end of list)
 >>> localhost.localdomain in "+local_domains"? no (end of list)
 >>> [email protected] in "*@+local_domains"? no (end of  
list)
 >>> localhost.localdomain in "foliomusic.net"? no (end of list)
 >>> [email protected] in "*@foliomusic.net"? no (end of  
list)
THis is a test
Bye
.
 >>> using ACL "acl_check_data"
 >>> processing "warn"
 >>> check condition = ${if !def:h_Message-ID: {1}}
 >>>                 =
 >>> warn: condition test failed
 >>> processing "deny"
 >>> check senders = :
 >>> localhost.localdomain in ""? no (end of list)
 >>> [email protected] in ":"? no (end of list)
 >>> deny: condition test failed
 >>> processing "deny"
 >>> check demime = *
 >>> check condition = ${if >{$demime_errorlevel}{2}{1}{0}}
 >>>                 = 0
 >>> deny: condition test failed
 >>> processing "deny"
 >>> check demime = bat:com:exe:pif:prf:bz2:scr:vbs:lnk:hta:cpl
 >>> deny: condition test failed
 >>> processing "warn"
 >>> check malware = *
 >>> warn: condition test failed
 >>> processing "warn"
 >>> check spam = Debian-exim:true
 >>> trying server 127.0.0.1, port 783
 >>> warn: condition test succeeded
 >>> processing "warn"
 >>> check spam = Debian-exim:true
 >>> warn: condition test succeeded
 >>> processing "deny"
 >>> check hosts = emi.mail.pas.earthlink.net
 >>> gethostbyname2 looked up these IP addresses:
 >>>   name=emi.mail.pas.earthlink.net address=207.217.120.81
 >>> host in "emi.mail.pas.earthlink.net"? no (end of list)
 >>> deny: condition test failed
 >>> processing "deny"
 >>> check hosts = emi.mail.pas.earthlink.net
 >>> gethostbyname2 looked up these IP addresses:
 >>>   name=emi.mail.pas.earthlink.net address=207.217.120.81
 >>> host in "emi.mail.pas.earthlink.net"? no (end of list)
 >>> deny: condition test failed
 >>> processing "accept"
 >>> accept: condition test succeeded
 >>> unspool_mbox(): unlinking '/var/spool/exim4/scan/1KDw9N-0002kD- 
IH/1KDw9N-0002kD-IH.eml'
 >>> unspool_mbox(): unlinking '/var/spool/exim4/scan/1KDw9N-0002kD- 
IH/1KDw9N-0002kD-IH-00000.com'
LOG: 1KDw9N-0002kD-IH <= [email protected] H=localhost  
(localhos) [127.0.0.1] P=esmtp S=1861
250 OK id=1KDw9N-0002kD-IH


**** SMTP testing: that is not a real message id!

QUIT
221 symetrie.com closing connection

#
Script done on mer 02 jui 2008 08:50:55 CEST
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.