A
A
Alexey Yamschikov2015-03-06 18:15:09
Exim
Alexey Yamschikov, 2015-03-06 18:15:09

Why doesn't Exim do verify = recipient?

I can't understand why during the SMTP session the server does not refuse to accept the letter and does not display an error. Constantly goes accept
Can you tell me why? I've already broken my head. The config is almost default - as it was from the package.
Here is the part of the config with acl_check_rcpt:

acl_check_rcpt:

  accept  hosts = :
          control = dkim_disable_verify

  deny    message       = Restricted characters in address
          domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|]

  deny    message       = Restricted characters in address
          domains       = !+local_domains
          local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./

  accept  local_parts   = postmaster
          domains       = +local_domains

 # require verify        = sender

  accept  hosts         = +relay_from_hosts
          control       = submission
          control       = dkim_disable_verify

  accept  authenticated = *
          control       = submission
          control       = dkim_disable_verify

  require message = relay not permitted
          domains = +local_domains : +relay_to_domains

  require   verify = recipient/defer_ok/callout=10s,defer_ok

  accept

According to the documentation, this seems to be enough. But doesn't.
here is what is in the log
15:10:01 12745 SMTP<< RCPT TO: [email protected]
15:10:01 12745 using ACL "acl_check_rcpt"
15:10:01 12745 processing "accept"
15:10:01 12745 check hosts = :
15:10:01 12745 host in ":"? no (end of list)
15:10:01 12745 accept: condition test failed
15:10:01 12745 processing "deny"
15:10:01 12745 check domains = +local_domains
15:10:01 12745 testdomain.ru in "@ : localhost : localhost.localdomain : "? no (end of list)
15:10:01 12745 testdomain.ru in "+local_domains"? no (end of list)
15:10:01 12745 deny: condition test failed
15:10:01 12745 processing "deny"
15:10:01 12745 check domains = !+local_domains
15:10:01 12745 cached no match for +local_domains
15:10:01 12745 cached lookup data = NULL
15:10:01 12745 testdomain.ru in "!+local_domains"? yes (end of list)
15:10:01 12745 check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
15:10:01 12745 expanding: ^[./|] : ^.*[@%!] : ^.*/\\.\\./
15:10:01 12745    result: ^[./|] : ^.*[@%!] : ^.*/\.\./
15:10:01 12745 test17 in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
15:10:01 12745 deny: condition test failed
15:10:01 12745 processing "accept"
15:10:01 12745 check local_parts = postmaster
15:10:01 12745 test17 in "postmaster"? no (end of list)
15:10:01 12745 accept: condition test failed
15:10:01 12745 processing "accept"
15:10:01 12745 check hosts = +relay_from_hosts
15:10:01 12745 host in ...
15:10:01 12745 host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
15:10:01 12745 check control = submission
15:10:01 12745 check control = dkim_disable_verify
15:10:01 12745 accept: condition test succeeded
15:10:01 12745 SMTP>> 250 Accepted

no hint of verification.
Exim adherents tell me what is the problem?
UPD: postfix started up immediately and without problems. cuts off at the stage of SMTP connection.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wanstein, 2015-12-08
@wanstein

Checking to require verify = recipient does not reach, accept is triggered above
in the log, you can see:
15:10:01 12745 host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question