RE: [Exim] How can exim4 get a 554 error but telnet 25 works…

Pàgina inicial
Delete this message
Reply to this message
Autor: Hancock, Scott
Data:  
A: exim-users
Assumpte: RE: [Exim] How can exim4 get a 554 error but telnet 25 works?
I did get the error via telnet. Although there are typo's. (see below)

The manual send looks like it was delivered (bottom). The exception to
the other failures is this particular email was not processed by
mailscanner (www.mailscanner.info).

Also interesting another Debian box of mine running exim Version:
3.36-9.1 and not mailscanner can send to this domain consistently.

Tried without success.

remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp
hosts_avoid_esmtp = sms-demag.com

Sorry for long email. I did cut the output in half.

Scott



pebbles:~# telnet 62.159.28.1 25
Trying 62.159.28.1...
Connected to 62.159.28.1.
Escape character is '^]'.
220 mail1.sms-demag.de ESMTP Service (Lotus Domino Release 5.0.12) ready
at Thu, 29 Apr 2004 20:00:52 +0200
ehlo pebbles.morganco.com
250-mail1.sms-demag.de Hello pebbles.morganco.com ([216.47.36.83]),
pleased to meet you
250-HELP
250-DSN
250-SIZE 102400000
250 PIPELINING
mail from: hancocks@???
250 hancocks@???... Sender OK
rcpt to: Konrad.Roeingh@???
250 Konrad.Roeingh@???... Recipient OK
data
354 Enter message, end with "." on a line by itself
suject: test to telnet caps
delete me.

sorry for all the email.
.
554 Error writing message to safe storage; message could not be stored
to disk




13:42:29 15679 DNS lookup of sms-demag.de (MX) succeeded
13:42:29 15679 ---0 Get 0x80f0a60    24       string.c  466
13:42:29 15679 ---0 Get 0x80f0a78    40         host.c 2229
13:42:29 15679 ---0 Get 0x80f0aa0    24       string.c  466
13:42:29 15679 ---0 Get 0x80f0ab8    40         host.c 2229
13:42:29 15679 ---0 Get 0x80f0ae0    24       string.c  466
13:42:29 15679 ---0 Get 0x80f0af8    32          dns.c  810
13:42:29 15679 ---0 Get 0x80f0b18   104       string.c  349
13:42:29 15679 62.159.28.1 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
:172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16"? no (end of list)
13:42:29 15679 ---0 Get 0x80f0b80    32          dns.c  810
13:42:29 15679 ---0 Get 0x80f0ba0   104       string.c  349
13:42:29 15679 62.159.28.3 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
:172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16"? no (end of list)
13:42:29 15679 ---0 Get 0x80f0c08    32          dns.c  810
13:42:29 15679 ---0 Get 0x80f0c28   104       string.c  349
13:42:29 15679 62.159.28.5 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
:172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16"? no (end of list)
13:42:29 15679 ---0 Get 0x80f0c90     0         host.c  518
13:42:29 15679 ---0 Get 0x80f0c90    64         host.c  451
13:42:29 15679 ---0 Get 0x80f0cd0    64         host.c  451
13:42:29 15679 Unable to create IPv6 socket to find interface addresses:
13:42:29 15679   error 97 Address family not supported by protocol
13:42:29 15679 Trying for an IPv4 socket
13:42:29 15679 ---0 Get 0x80f0d10    64    ../src/os.c  680
13:42:29 15679 Actual local interface address is 127.0.0.1 (lo)
13:42:29 15679 ---0 Get 0x80f0d50    64    ../src/os.c  680
13:42:29 15679 Actual local interface address is 216.47.36.83 (eth0)
13:42:29 15679 ---1 Get 0x80eec88    64         host.c  502
13:42:29 15679 ---1 Get 0x80eecc8    64         host.c  502
13:42:29 15679 ---0 Rst 0x80f0c90    **         host.c  558 24600
13:42:29 15679 fully qualified name = sms-demag.de
13:42:29 15679 host_find_bydns yield = HOST_FOUND (2); returned hosts:
13:42:29 15679   mail1.sms-demag.de 62.159.28.1 MX=50
13:42:29 15679   mail3.sms-demag.de 62.159.28.3 MX=65
13:42:29 15679   mail5.sms-demag.de 62.159.28.5 MX=75
13:42:29 15679 ---0 Get 0x80f0c90    40    dnslookup.c  381
13:42:29 15679 set transport remote_smtp
13:42:29 15679 queued for remote_smtp transport: local_part =
konrad.roeingh
13:42:29 15679 domain = sms-demag.de
13:42:29 15679   errors_to=NULL
13:42:29 15679   domain_data=NULL localpart_data=NULL
13:42:29 15679 routed by dnslookup router
13:42:29 15679   envelope to: Konrad.Roeingh@???
13:42:29 15679   transport: remote_smtp
13:42:29 15679   host mail1.sms-demag.de [62.159.28.1] MX=50
13:42:29 15679   host mail3.sms-demag.de [62.159.28.3] MX=65
13:42:29 15679   host mail5.sms-demag.de [62.159.28.5] MX=75
13:42:29 15679 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13:42:29 15679 After routing:
13:42:29 15679   Local deliveries:
13:42:29 15679   Remote deliveries:
13:42:29 15679     Konrad.Roeingh@???
13:42:29 15679   Failed addresses:
13:42:29 15679   Deferred addresses:
13:42:29 15679 search_tidyup called
13:42:29 15679 >>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>
13:42:29 15679 --Malloc 0x80f6378   103         exim.c   41 24600 21179
13:42:29 15679 --Malloc 0x80f6478    97         exim.c   41 24600 21276
13:42:29 15679 --Malloc 0x80f64e0   135         exim.c   41 24600 21411
13:42:29 15679 --Malloc 0x80f6570   101         exim.c   41 24600 21512
13:42:29 15679 ---0 Get 0x80f0cb8    56      deliver.c 3271
13:42:29 15679 --------> Konrad.Roeingh@??? <--------
13:42:29 15679 search_tidyup called
13:42:29 15679 set_process_info: 15679 delivering 1BJFWm-00043X-Ge:
waiting for a remote delivery subprocess to finish
13:42:29 15679 selecting on subprocess pipes
13:42:29 15681 ---0 Get 0x80f0cf0    80       string.c  349
13:42:29 15681 changed uid/gid: remote delivery to
Konrad.Roeingh@??? with transport=remote_smtp
13:42:29 15681   uid=102 gid=102 pid=15681
13:42:29 15681   auxiliary group list: <none>
13:42:29 15681 set_process_info: 15681 delivering 1BJFWm-00043X-Ge using
remote_smtp
13:42:29 15681 ---0 Get 0x80f0d40   104       string.c  856
13:42:29 15681 ---0 Rst 0x80f0d6f    **       expand.c 4189 24600
13:42:29 15681 expanding: T: remote_smtp for $local_part@$domain
13:42:29 15681    result: T: remote_smtp for konrad.roeingh@???
13:42:29 15681 T: remote_smtp for konrad.roeingh@???
13:42:29 15681 ---0 Get 0x80f0d70    24       string.c  349
13:42:29 15681 remote_smtp transport entered
13:42:29 15681   Konrad.Roeingh@???
13:42:29 15681 ---0 Get 0x80f0d88     8       string.c  349
13:42:29 15681 checking status of mail1.sms-demag.de
13:42:29 15681 ---0 Get 0x80f0d90    40       string.c  349
13:42:29 15681 ---0 Get 0x80f0db8    56       string.c  349
13:42:29 15681 locking /var/spool/exim4/db/retry.lockfile
13:42:29 15681 locked /var/spool/exim4/db/retry.lockfile
13:42:29 15681 opened hints database /var/spool/exim4/db/retry: flags=0
13:42:29 15681 dbfn_read: key=T:mail1.sms-demag.de:62.159.28.1
13:42:29 15681 dbfn_read:
key=T:mail1.sms-demag.de:62.159.28.1:1BJFWm-00043X-Ge
13:42:29 15681 no host retry record
13:42:29 15681 no message retry record
13:42:29 15681 mail1.sms-demag.de [62.159.28.1] status = usable
13:42:29 15681 ---0 Get 0x80f0df0    32       string.c  349
13:42:29 15681 62.159.28.1 in serialize_hosts? no (option unset)
13:42:29 15681 delivering 1BJFWm-00043X-Ge to mail1.sms-demag.de
[62.159.28.1] (Konrad.Roeingh@???)
13:42:29 15681 set_process_info: 15681 delivering 1BJFWm-00043X-Ge to
mail1.sms-demag.de [62.159.28.1] (Konrad.Roeingh@???)
13:42:29 15681 ---0 Get 0x80f0e10   104       string.c  856
13:42:29 15681 ---0 Rst 0x80f0e25    **       expand.c 4189 24600
13:42:29 15681 expanding: $primary_hostname
13:42:29 15681    result: pebbles.morganco.com
13:42:29 15681 Connecting to mail1.sms-demag.de [62.159.28.1]:25 ...
connected
13:42:30 15681 read response data: size=109
13:42:30 15681   SMTP<< 220 mail1.sms-demag.de ESMTP Service (Lotus
Domino Release 5.0.12) ready at Thu, 29 Apr 2004 19:43:23 +0200
13:42:30 15681 ---0 Get 0x80f0e28    40       string.c  349
13:42:30 15681 62.159.28.1 in hosts_avoid_esmtp? no (option unset)
13:42:30 15681   SMTP>> EHLO pebbles.morganco.com
13:42:30 15681 read response data: size=144
13:42:30 15681   SMTP<< 250-mail1.sms-demag.de Hello
pebbles.morganco.com ([216.47.36.83]), pleased to meet you
13:42:30 15681          250-HELP
13:42:30 15681          250-DSN
13:42:30 15681          250-SIZE 102400000
13:42:30 15681          250 PIPELINING
13:42:30 15681 ---0 Get 0x80f0e50    40       string.c  349
13:42:30 15681 62.159.28.1 in hosts_require_tls? no (option unset)
13:42:30 15681 using PIPELINING
13:42:30 15681 ---0 Get 0x80f0e78    40       string.c  349
13:42:30 15681 62.159.28.1 in hosts_require_auth? no (option unset)
13:42:30 15681   SMTP>> MAIL FROM:<HancockS@???> SIZE=2795
13:42:30 15681 ---0 Get 0x80f0ea0    48       string.c  349
13:42:30 15681   SMTP>> RCPT TO:<Konrad.Roeingh@???>
13:42:30 15681   SMTP>> DATA
13:42:30 15681 read response data: size=142
13:42:30 15681   SMTP<< 250 HancockS@???... Sender OK
13:42:30 15681   SMTP<< 250 Konrad.Roeingh@???... Recipient OK
13:42:30 15681   SMTP<< 354 Enter message, end with "." on a line by
itself
13:42:30 15681   SMTP>> writing message and terminating "."
13:42:30 15681 writing data block fd=6 size=1775 timeout=300
13:42:30 15681 read response data: size=35
13:42:30 15681   SMTP<< 250 Message accepted for delivery
13:42:30 15681 journalling Konrad.Roeingh@???
13:42:30 15681 ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0
first_address=0
13:42:30 15681 transport_check_waiting entered
13:42:30 15681   sequence=1 local_max=500 global_max=-1
13:42:30 15681 locking /var/spool/exim4/db/wait-remote_smtp.lockfile
13:42:30 15681 locked /var/spool/exim4/db/wait-remote_smtp.lockfile
13:42:30 15681 opened hints database
/var/spool/exim4/db/wait-remote_smtp: flags=2
13:42:30 15681 dbfn_read: key=mail1.sms-demag.de
13:42:30 15681 no messages waiting for mail1.sms-demag.de
13:42:30 15681   SMTP>> QUIT
13:42:30 15681 set_process_info: 15681 delivering 1BJFWm-00043X-Ge: just
tried mail1.sms-demag.de [62.159.28.1] for Konrad.Roeingh@???:
result OK
13:42:30 15681 Leaving remote_smtp transport
13:42:30 15681 set_process_info: 15681 delivering 1BJFWm-00043X-Ge (just
run remote_smtp for Konrad.Roeingh@??? in subprocess)
13:42:30 15681 search_tidyup called
13:42:30 15679 reading pipe for subprocess 15681 (not ended)
13:42:30 15679 read() yielded 57
13:42:30 15679 ---0 Get 0x80f0cf0    40      deliver.c 2744
13:42:30 15679 ---0 Get 0x80f0d18    24       string.c  349
13:42:30 15679 ---0 Get 0x80f0d30    16       string.c  349
13:42:30 15679 Z0 item read
13:42:30 15679 remote delivery process 15681 ended
13:42:30 15679 set_process_info: 15679 delivering 1BJFWm-00043X-Ge
13:42:30 15679 post-process Konrad.Roeingh@??? (0)
13:42:30 15679 ---0 Get 0x80f0d40    64       string.c 1270
13:42:30 15679 ---0 Get 0x80f0d80    48         tree.c   32
13:42:30 15679 ---0 Get 0x80f0db0    48         tree.c   32
13:42:30 15679 Konrad.Roeingh@??? delivered
13:42:30 15679 ---0 Get 0x80f0de0   256      deliver.c  831
13:42:30 15679 ---1 Get 0x80eed08    24       string.c  349
13:42:30 15679 LOG: MAIN
13:42:30 15679   => konrad.roeingh@???
<Konrad.Roeingh@???> R=dnslookup T=remote_smtp
H=mail1.sms-demag.de [62.159.28.1]
13:42:30 15679 ---0 Rst 0x80f0de0    **      deliver.c  923 24600
13:42:30 15679 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
13:42:30 15679 changed uid/gid: post-delivery tidying
13:42:30 15679   uid=102 gid=102 pid=15679
13:42:30 15679   auxiliary group list: <none>
13:42:30 15679 set_process_info: 15679 tidying up after delivering
1BJFWm-00043X-Ge
13:42:30 15679 Processing retry items
13:42:30 15679 Succeeded addresses:
13:42:30 15679 Konrad.Roeingh@???: no retry items
13:42:30 15679 Failed addresses:
13:42:30 15679 Deferred addresses:
13:42:30 15679 end of retry processing
13:42:30 15679 LOG: MAIN
13:42:30 15679   Completed
13:42:30 15679 end delivery of 1BJFWm-00043X-Ge
13:42:30 15679 search_tidyup called
13:42:30 15679 search_tidyup called
13:42:30 15679 >>>>>>>>>>>>>>>> Exim pid=15679 terminating with rc=0

>>>>>>>>>>>>>>>>

pebbles:/home/scott/tmp#