[exim] exim recipient callout verification doesn't work ...

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Karl Fischer
Data:  
Para: exim-users
Asunto: [exim] exim recipient callout verification doesn't work ...


Hi there,

I have a problem with exim not executing the callout verification at all.
I'm secondary (fallback) MX for somedomain.de and would like to use callout
verification to reject mail for non-exisiting users (at least as long as
the primary mailserver is working ...)

Find the relevant part of the config below:

To prove that this part of the config is passed at all, I've added the part
with 'edv'. A mail to edv@??? is immediately rejected, so it works
'til there.

However, a mail sent to hello@??? is accepted by my exim and exim
doesn't do a callout to the primary server at all.
Why not? What am I doing wrong?

Regards
- Karl







SHAP = [$sender_host_address]:$sender_host_port

acl_check_rcpt:

   warn
         !hosts          = : @
         logwrite        = DEBUG: SHAP CR sent: $smtp_command


   deny
         message         = NOUSR: $local_part@$domain does not exist here.
         domains         = +local_domains
         !verify         = recipient


   deny
         message         = NOUSR: $local_part@$domain does not exist.
         domains         = somedomain.de
         local_parts     = edv


# try #1
   deny
         message         = NOUSR: $local_part@$domain does not exist.
         domains         = somedomain.de
         !verify         = recipient/callout=use_sender


# try #2
   deny
         message         = NOUSR: $local_part@$domain does not exist.
         domains         = somedomain.de
         !verify         = recipient/callout=10s,no_cache,use_sender,defer_ok






snipplet out of the log:

2008-01-14 01:14:35 SMTP connection from elwood.otherdomain.de [x.x.189.67]:3020 closed by QUIT
2008-01-14 01:15:45 SMTP connection from [x.x.189.67]:3025 (TCP/IP connection count = 1)
2008-01-14 01:15:45 DEBUG: [x.x.189.67]:3025 CC CNTRY de germany
2008-01-14 01:15:45 DEBUG: [x.x.189.67]:3025 CC FQDN: elwood.otherdomain.de
2008-01-14 01:15:48 DEBUG: [x.x.189.67]:3025 CH sent: ehlo elwood.otherdomain.de
2008-01-14 01:15:50 DEBUG: [x.x.189.67]:3025 CM sent: mail from: <karl@???>
2008-01-14 01:15:53 DEBUG: [x.x.189.67]:3025 CR sent: rcpt to: <hallo@???>
2008-01-14 01:15:53 H=elwood.otherdomain.de [x.x.189.67]:3025 F=<karl@???> rejected RCPT <hallo@???>: NOUSR: hallo@??? does not exist.
2008-01-14 01:15:56 H=elwood.otherdomain.de [x.x.189.67]:3025 incomplete transaction (QUIT) from <karl@???>



2008-01-14 23:32:26 SMTP connection from [x.x.189.67]:3397 (TCP/IP connection count = 2)
2008-01-14 23:32:26 DEBUG: [x.x.189.67]:3397 CC CNTRY de germany
2008-01-14 23:32:26 DEBUG: [x.x.189.67]:3397 CC FQDN: elwood.otherdomain.de
2008-01-14 23:32:40 DEBUG: [x.x.189.67]:3397 CH sent: ehlo elwood.otherdomain.de
2008-01-14 23:32:48 DEBUG: [x.x.189.67]:3397 CM sent: mail from: <karl@???>
2008-01-14 23:33:10 DEBUG: [x.x.189.67]:3397 CR sent: rcpt to: <hello@???>
2008-01-14 23:33:25 1JEXrq-0006ot-7k DEBUG: [x.x.189.67]:3397 CD reached acl_check_data
2008-01-14 23:33:25 1JEXrq-0006ot-7k <= karl@??? H=elwood.otherdomain.de [x.x.189.67]:3397 P=esmtp S=222
2008-01-14 23:33:27 SMTP connection from elwood.otherdomain.de [x.x.189.67]:3397 closed by QUIT



2008-01-14 23:34:24 1JEXrq-0006ot-7k ** hello@??? R=dnslookup T=remote_smtp: SMTP error from remote mail server after RCPT TO:<hello@???>: host mx1.somedomain.de [y.y.36.246]: 550 NOUSR: No such user
2008-01-14 23:34:24 1JEXsu-0006uR-OO <= <> R=1JEXrq-0006ot-7k U=Debian-exim P=local S=1124
2008-01-14 23:34:24 1JEXrq-0006ot-7k Completed




smtp dialog:

elwood> nc mail.ficos.de 25
220 mail.ficos.de ficos.de ESMTP receiver ready on Mon, 14 Jan 2008 01:53:53 +0100
ehlo elwood.otherdomain.de
250-mail.ficos.de Hello elwood.otherdomain.de [x.x.189.67]
250-SIZE 41943040
250-STARTTLS
250 HELP
mail from: <karl@???>
250 OK
rcpt to: <edv@???>
550 NOUSR: edv@??? does not exist.
quit
221 mail.ficos.de closing connection


elwood> nc mail.ficos.de 25
220 mail.ficos.de ficos.de ESMTP receiver ready on Mon, 14 Jan 2008 23:32:28 +0100
ehlo elwood.otherdomain.de
250-mail.ficos.de Hello elwood.otherdomain.de [x.x.189.67]
250-SIZE 41943040
250-STARTTLS
250 HELP
mail from: <karl@???>
250 OK
rcpt to: <hello@???>
250 Accepted
data
354 Enter message, ending with "." on a line by itself
Subject: test
test
.
250 OK id=1JEXrq-0006ot-7k
quit
221 mail.ficos.de closing connection