[exim] sender/callout=postmaster failure

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dmitri Koulikoff
Date:  
À: exim-users
Sujet: [exim] sender/callout=postmaster failure
Sometimes I send my mail from another computer. In that case I add to BCC:
my address in order to keep all the correspondence in one place. But those letters
can not be delivered. Here is the conversation.

$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 koulikoff.ru ESMTP Exim 4.67 Thu, 19 Apr 2007 21:58:46 +0400
ehlo mitrah.ru
250-koulikoff.ru Hello 501 at localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250 HELP
mail from: dima@???
550-Postmaster verification failed while checking <dima@???>
550-Called:   127.0.0.1
550-Sent:     RCPT TO:<postmaster@???>
550-Response: 550-Mailbox unknown.  Either there is no mailbox associated with this
550-550-name or you do not have authorization to see it.
550-550 5.1.1 User unknown
550-Several RFCs state that you are required to have a postmaster
550-mailbox for each mail domain. This host does not accept mail
550-from domains whose servers reject the postmaster address.
550 Sender verify failed
mail from: dima@???
250 OK
rcpt to: postmaster@???
250 Accepted
quit
221 koulikoff.ru closing connection
Connection closed by foreign host.


    I tried many things and can not understand why 
sender/callout=postmaster fails.


Here is my exim.conf

primary_hostname = koulikoff.ru
domainlist cyrus_domains = koulikoff.ru
domainlist local_domains = koulikoff.ru : mitrah.ru : mega-phone.ru
domainlist relay_to_domains =
hostlist   relay_from_hosts = 127.0.0.1
acl_smtp_mail = acl_check_mail
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 5s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
begin acl
acl_check_mail:
  deny sender_domains = +cyrus_domains
       message        = Sender unknown/invalid
       !verify        = sender/callout=defer_ok,5s
  require verify = sender/callout=postmaster,no_cache
  accept
acl_check_rcpt:
  accept  hosts = :
  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
  accept  hosts         = +relay_from_hosts
          control       = submission
  accept  authenticated = *
          control       = submission
  require message = relay not permitted
          domains = +local_domains
  require verify = recipient
  deny message = User not found
  domains = mega-phone.ru
  delay = 3m
  accept
acl_check_data:
  accept
begin routers
redir2work:
  driver = redirect
  domains = koulikoff.ru
  local_parts = work
  data = d.koulikov@???
  no_more
cyrus_home:
  driver = accept
  domains = +cyrus_domains
  transport = cyrus_ltcp
  no_more
dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more
system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
  file_transport = address_file
  pipe_transport = address_pipe
userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  no_verify
  no_expn
  check_ancestor
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
localuser:
  driver = accept
  check_local_user
  transport = local_delivery
  cannot_route_message = Unknown user
begin transports
remote_smtp:
  driver = smtp
local_delivery:
  driver = appendfile
  file = /var/mail/$local_part
  delivery_date_add
  envelope_to_add
  return_path_add
address_pipe:
  driver = pipe
  return_output
address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add
address_reply:
  driver = autoreply
cyrus_ltcp:
  driver = smtp
  protocol = lmtp
  hosts = 127.0.0.1
  allow_localhost
begin retry
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators



--

With best regards,
Dmitri Koulikoff

mailto:dima@koulikoff.ru
phone: +7-495-5052185