Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- При отправке письма получаю ошибку RCPT TO <alphaQu4z4r@gmail.com> не удалось: Temporary local problem - please try later
- Дебаговые мессаги в консоли exim
- 66076 Connection request from 85.142.60.148 port 43211
- 66076 search_tidyup called
- 66076 1 SMTP accept process running
- 66076 Listening...
- 67073 host in rfc1413_hosts? yes (matched "*")
- 67073 doing ident callback
- 67073 ident connection to 85.142.60.148 failed: Connection refused
- 67073 sender_fullhost = [85.142.60.148]
- 67073 sender_rcvhost = [85.142.60.148]
- 67073 Process 67073 is handling incoming connection from [85.142.60.148]
- 67073 checking for IP options
- 67073 no IP options found
- 67073 host in host_lookup? yes (matched "*")
- 67073 looking up host name for 85.142.60.148
- 67073 DNS lookup of 148.60.142.85.in-addr.arpa (PTR) succeeded
- 67073 IP address lookup yielded 85-142-60-148.well-com.net
- 67073 gethostbyname returned 1 (HOST_NOT_FOUND)
- 67073 no IP address found for host 85-142-60-148.well-com.net (during SMTP connection from [85.142.60.148])
- 67073 LOG: host_lookup_failed MAIN
- 67073 no IP address found for host 85-142-60-148.well-com.net (during SMTP connection from [85.142.60.148])
- 67073 no IP addresses found for 85-142-60-148.well-com.net
- 67073 85.142.60.148 does not match any IP address for 85-142-60-148.well-com.net
- 67073 sender_fullhost = [85.142.60.148]
- 67073 sender_rcvhost = [85.142.60.148]
- 67073 set_process_info: 67073 handling incoming connection from [85.142.60.148]
- 67073 host in host_reject_connection? no (option unset)
- 67073 host in sender_unqualified_hosts? no (option unset)
- 67073 host in recipient_unqualified_hosts? no (option unset)
- 67073 host in helo_verify_hosts? no (option unset)
- 67073 host in helo_try_verify_hosts? no (option unset)
- 67073 host in helo_accept_junk_hosts? no (option unset)
- 67073 SMTP>> 220 gw.itjunkie.ws ESMTP Exim 4.72 Mon, 25 Oct 2010 20:09:19 +0400
- 67073 Process 67073 is ready for new message
- 67073 smtp_setup_msg entered
- 67073 SMTP<< EHLO [192.168.1.111]
- 67073 [192.168.1.111] in helo_lookup_domains? no (end of list)
- 67073 sender_fullhost = ([192.168.1.111]) [85.142.60.148]
- 67073 sender_rcvhost = [85.142.60.148] (helo=[192.168.1.111])
- 67073 set_process_info: 67073 handling incoming connection from ([192.168.1.111]) [85.142.60.148]
- 67073 host in pipelining_advertise_hosts? yes (matched "*")
- 67073 host in auth_advertise_hosts? yes (matched "*")
- 67073 host in tls_advertise_hosts? no (option unset)
- 67073 SMTP>> 250-gw.itjunkie.ws Hello [192.168.1.111] [85.142.60.148]
- 67073 250-SIZE 52428800
- 67073 250-PIPELINING
- 67073 250-AUTH PLAIN LOGIN
- 67073 250 HELP
- 67073 SMTP<< AUTH PLAIN AHRlc3RlckBpdGp1bmtpZS53cwB0ZXN0ZXI=
- 67073 auth_plain authenticator:
- 67073 $auth1 =
- 67073 $auth2 = tester@itjunkie.ws
- 67073 $auth3 = tester
- 67073 $1 =
- 67073 $2 = tester@itjunkie.ws
- 67073 $3 = tester
- 67073 search_open: mysql "NULL"
- 67073 search_find: file="NULL"
- 67073 key="SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'"
- 67073 database lookup required for SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'
- 67073 MySQL query: SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'
- 67073 MYSQL new connection: host=localhost port=0 socket=NULL database=mail user=mail
- 67073 lookup yielded: tester@itjunkie.ws
- 67073 expanded string: yes
- 67073 SMTP>> 235 Authentication succeeded
- 67073 SMTP<< MAIL FROM:<tester@itjunkie.ws>
- 67073 SMTP>> 250 OK
- 67073 SMTP<< RCPT TO:<alphaQu4z4r@gmail.com>
- 67073 using ACL "acl_check_rcpt"
- 67073 processing "accept"
- 67073 check hosts = :
- 67073 host in ":"? no (end of list)
- 67073 accept: condition test failed
- 67073 processing "deny"
- 67073 check domains = +local_domains
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'"
- 67073 database lookup required for SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
- 67073 MySQL query: SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
- 67073 MYSQL using cached connection for localhost/mail/mail
- 67073 MYSQL: no data found
- 67073 lookup failed
- 67073 gmail.com in ""? no (end of list)
- 67073 gmail.com in "+local_domains"? no (end of list)
- 67073 deny: condition test failed
- 67073 processing "deny"
- 67073 check domains = !+local_domains
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'"
- 67073 cached data used for lookup of SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
- 67073 lookup failed
- 67073 gmail.com in ""? no (end of list)
- 67073 gmail.com in "!+local_domains"? yes (end of list)
- 67073 check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
- 67073 alphaQu4z4r in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
- 67073 deny: condition test failed
- 67073 processing "accept"
- 67073 check local_parts = postmaster
- 67073 alphaQu4z4r in "postmaster"? no (end of list)
- 67073 accept: condition test failed
- 67073 processing "require"
- 67073 check verify = sender
- 67073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- 67073 Verifying tester@itjunkie.ws
- 67073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- 67073 Considering tester@itjunkie.ws
- 67073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- 67073 routing tester@itjunkie.ws
- 67073 --------> dnslookup router <--------
- 67073 local_part=tester domain=itjunkie.ws
- 67073 checking domains
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'"
- 67073 database lookup required for SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
- 67073 MySQL query: SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
- 67073 MYSQL using cached connection for localhost/mail/mail
- 67073 lookup yielded: itjunkie.ws
- 67073 itjunkie.ws in "itjunkie.ws"? yes (matched "itjunkie.ws")
- 67073 itjunkie.ws in "! +local_domains"? no (matched "! +local_domains")
- 67073 dnslookup router skipped: domains mismatch
- 67073 --------> system_aliases router <--------
- 67073 local_part=tester domain=itjunkie.ws
- 67073 calling system_aliases router
- 67073 rda_interpret (string): ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'"
- 67073 database lookup required for SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
- 67073 MySQL query: SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
- 67073 MYSQL using cached connection for localhost/mail/mail
- 67073 lookup yielded: tester@itjunkie.ws
- 67073 expanded: tester@itjunkie.ws
- 67073 file is not a filter file
- 67073 parse_forward_list: tester@itjunkie.ws
- 67073 extract item: tester@itjunkie.ws
- 67073 system_aliases router generated tester@itjunkie.ws
- 67073 errors_to=NULL transport=NULL
- 67073 uid=unset gid=unset home=NULL
- 67073 routed by system_aliases router
- 67073 envelope to: tester@itjunkie.ws
- 67073 transport: <none>
- 67073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- 67073 Considering tester@itjunkie.ws
- 67073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- 67073 routing tester@itjunkie.ws
- 67073 --------> dnslookup router <--------
- 67073 local_part=tester domain=itjunkie.ws
- 67073 checking domains
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'"
- 67073 cached data used for lookup of SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
- 67073 lookup yielded: itjunkie.ws
- 67073 itjunkie.ws in "itjunkie.ws"? yes (matched "itjunkie.ws")
- 67073 itjunkie.ws in "! +local_domains"? no (matched "! +local_domains")
- 67073 dnslookup router skipped: domains mismatch
- 67073 --------> system_aliases router <--------
- 67073 system_aliases router skipped: previously routed tester@itjunkie.ws
- 67073 --------> dovecot_user router <--------
- 67073 local_part=tester domain=itjunkie.ws
- 67073 checking "condition"
- 67073 search_open: mysql "NULL"
- 67073 cached open
- 67073 search_find: file="NULL"
- 67073 key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'" partial=-1 affix=NULL starflags=0
- 67073 LRU list:
- 67073 internal_search_find: file="NULL"
- 67073 type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'"
- 67073 cached data used for lookup of SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
- 67073 lookup yielded: tester@itjunkie.ws
- 67073 calling dovecot_user router
- 67073 dovecot_user router called for tester@itjunkie.ws
- 67073 domain = itjunkie.ws
- 67073 dovecot_user router: defer for tester@itjunkie.ws
- 67073 message: transport "dovecot_delivery" not found in dovecot_user router
- 67073 ----------- end verify ------------
- 67073 require: condition test deferred
- 67073 LOG: MAIN REJECT
- 67073 H=([192.168.1.111]) [85.142.60.148] sender verify defer for <tester@itjunkie.ws>: transport "dovecot_delivery" not found in dovecot_user router
- 67073 SMTP>> 451 Temporary local problem - please try later
- 67073 LOG: MAIN REJECT
- 67073 H=([192.168.1.111]) [85.142.60.148] F=<tester@itjunkie.ws> temporarily rejected RCPT <alphaQu4z4r@gmail.com>: Could not complete sender verify
- 67073 SMTP<< QUIT
- 67073 SMTP>> 221 gw.itjunkie.ws closing connection
- 67073 LOG: smtp_connection MAIN
- 67073 SMTP connection from ([192.168.1.111]) [85.142.60.148] closed by QUIT
- 67073 search_tidyup called
- 67073 close MYSQL connection: localhost/mail/mail
- 66076 child 67073 ended: status=0x0
- 66076 0 SMTP accept processes now running
- 66076 Listening...
- Конфиг exim:
- [3|root@gw| /usr/home/alp ] cat /etc/exim/configure
- ########### IMPORTANT ########## IMPORTANT ########### IMPORTANT ###########
- # #
- # It is usually a good idea to test a new configuration for syntactic #
- # correctness before installing it (for example, by running the command #
- # "exim -C /config/file.new -bV"). #
- # #
- ########### IMPORTANT ########## IMPORTANT ########### IMPORTANT ###########
- ######################################################################
- # MAIN CONFIGURATION SETTINGS #
- ######################################################################
- # Specify your host's canonical name here. This should normally be the fully
- # qualified "official" name of your host. If this option is not set, the
- # uname() function is called to obtain the name. In many cases this does
- # the right thing and you need not set anything explicitly.
- # primary_hostname =
- # The next three settings create two lists of domains and one list of hosts.
- # These lists are referred to later in this configuration using the syntax
- # +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
- # are all colon-separated lists:
- #domainlist local_domains = localhost : 127.0.0.1 : jlq.su : itjunkie.ws
- #domainlist relay_to_domains = local_domains
- hostlist relay_from_hosts = localhost : 127.0.0.1
- acl_smtp_rcpt = acl_check_rcpt
- acl_smtp_data = acl_check_data
- # You should not change those settings until you understand how ACLs work.
- hide mysql_servers = localhost/mail/mail/365eYwc4APaPFaeL
- domainlist local_domains = ${lookup mysql{SELECT `domain` FROM `domain` WHERE `domain`='${domain}' AND `active`='1'}}
- domainlist relay_to_domains = ${lookup mysql{SELECT `domain` FROM `domain` WHERE `domain`='${domain}' AND `active`='1'}}
- # Allow any client to use TLS.
- # tls_advertise_hosts = *
- # tls_certificate = /etc/ssl/exim.crt
- # tls_privatekey = /etc/ssl/exim.pem
- daemon_smtp_ports = 25 : 465 : 587
- # tls_on_connect_ports = 465
- # Specify the domain you want to be added to all unqualified addresses
- # here. An unqualified address is one that does not contain an "@" character
- # followed by a domain. For example, "caesar@rome.example" is a fully qualified
- # address, but the string "caesar" (i.e. just a login name) is an unqualified
- # email address. Unqualified addresses are accepted only from local callers by
- # default. See the recipient_unqualified_hosts option if you want to permit
- # unqualified addresses from remote sources. If this option is not set, the
- # primary_hostname value is used for qualification.
- # qualify_domain =
- # If you want unqualified recipient addresses to be qualified with a different
- # domain to unqualified sender addresses, specify the recipient domain here.
- # If this option is not set, the qualify_domain value is used.
- # qualify_recipient =
- exim_user = mailnull
- exim_group = mail
- never_users = root
- host_lookup = *
- rfc1413_hosts = *
- rfc1413_query_timeout = 5s
- ignore_bounce_errors_after = 2d
- timeout_frozen_after = 7d
- ######################################################################
- # ACL CONFIGURATION #
- # Specifies access control lists for incoming SMTP mail #
- ######################################################################
- begin acl
- acl_check_rcpt:
- # Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
- # testing for an empty sending host field.
- 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 mail to postmaster in any local domain, regardless of the source,
- # and without verifying the sender.
- accept local_parts = postmaster
- domains = +local_domains
- # Deny unless the sender address can be verified.
- require verify = sender
- # !!! Unknown !!!
- 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
- require
- message = relay not permitted
- domains = +local_domains : +relay_to_domains
- # At this point, the address has passed all the checks that have been
- # configured, so we accept it unconditionally.
- accept
- acl_check_data:
- # Deny if the message contains a virus. Before enabling this check, you
- # must install a virus scanner and set the av_scanner option above.
- #
- # deny malware = *
- # message = This message contains a virus ($malware_name).
- # Add headers to a message if it is judged to be spam. Before enabling this,
- # you must install SpamAssassin. You may also need to set the spamd_address
- # option above.
- #
- # warn spam = nobody
- # add_header = X-Spam_score: $spam_score\n\
- # X-Spam_score_int: $spam_score_int\n\
- # X-Spam_bar: $spam_bar\n\
- # X-Spam_report: $spam_report
- # Accept the message.
- accept
- ######################################################################
- # ROUTERS CONFIGURATION #
- # Specifies how addresses are handled #
- ######################################################################
- # THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT! #
- # An address is passed to each router in turn until it is accepted. #
- ######################################################################
- begin routers
- 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 mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
- user = mailnull
- group = mail
- file_transport = address_file
- pipe_transport = address_pipe
- dovecot_user:
- driver = accept
- condition = ${lookup mysql{SELECT `goto` FROM \
- `alias` WHERE \
- `address`='${quote_mysql:$local_part@$domain}' OR \
- `address`='${quote_mysql:@$domain}'}{yes}{no}}
- transport = dovecot_delivery
- # This router handles forwarding using traditional .forward files in users'
- # home directories. If you want it also to allow mail filtering when a forward
- # file starts with the string "# Exim filter" or "# Sieve filter", uncomment
- # the "allow_filter" option.
- userforward:
- driver = redirect
- check_local_user
- # local_part_suffix = +* : -*
- # local_part_suffix_optional
- file = $home/.forward
- # allow_filter
- no_verify
- no_expn
- check_ancestor
- file_transport = address_file
- pipe_transport = address_pipe
- reply_transport = address_reply
- condition = ${if exists{$home/.forward} {yes} {no} }
- # This router matches local user mailboxes. If the router fails, the error
- # message is "Unknown user".
- localuser:
- driver = accept
- check_local_user
- # local_part_suffix = +* : -*
- # local_part_suffix_optional
- transport = local_delivery
- cannot_route_message = Unknown user
- ######################################################################
- # TRANSPORTS CONFIGURATION #
- ######################################################################
- # ORDER DOES NOT MATTER #
- # Only one appropriate transport is called for each delivery. #
- ######################################################################
- begin transports
- remote_smtp:
- driver = smtp
- local_delivery:
- driver = appendfile
- file = /var/mail/$local_part
- delivery_date_add
- envelope_to_add
- return_path_add
- group = mail
- user = $local_part
- mode = 0660
- no_mode_fail_narrower
- address_pipe:
- driver = pipe
- return_output
- address_file:
- driver = appendfile
- delivery_date_add
- envelope_to_add
- return_path_add
- address_reply:
- driver = autoreply
- ######################################################################
- # RETRY CONFIGURATION #
- ######################################################################
- begin retry
- # This single retry rule applies to all domains and all errors. It specifies
- # retries every 15 minutes for 2 hours, then increasing retry intervals,
- # starting at 1 hour and increasing each time by a factor of 1.5, up to 16
- # hours, then retries every 6 hours until 4 days have passed since the first
- # failed delivery.
- # WARNING: If you do not have any retry rules at all (this section of the
- # configuration is non-existent or empty), Exim will not do any retries of
- # messages that fail to get delivered at the first attempt. The effect will
- # be to treat temporary errors as permanent. Therefore, DO NOT remove this
- # retry rule unless you really don't want any retries.
- # Address or Domain Error Retries
- # ----------------- ----- -------
- * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
- ######################################################################
- # REWRITE CONFIGURATION #
- ######################################################################
- # There are no rewriting specifications in this default configuration file.
- begin rewrite
- ######################################################################
- # AUTHENTICATION
Add Comment
Please, Sign In to add comment