· 7 years ago · Aug 15, 2018, 07:52 AM
1При отправке пиÑьма получаю ошибку RCPT TO <alphaQu4z4r@gmail.com> не удалоÑÑŒ: Temporary local problem - please try later
2
3Дебаговые меÑÑаги в конÑоли exim
4
566076 Connection request from 85.142.60.148 port 43211
666076 search_tidyup called
766076 1 SMTP accept process running
866076 Listening...
967073 host in rfc1413_hosts? yes (matched "*")
1067073 doing ident callback
1167073 ident connection to 85.142.60.148 failed: Connection refused
1267073 sender_fullhost = [85.142.60.148]
1367073 sender_rcvhost = [85.142.60.148]
1467073 Process 67073 is handling incoming connection from [85.142.60.148]
1567073 checking for IP options
1667073 no IP options found
1767073 host in host_lookup? yes (matched "*")
1867073 looking up host name for 85.142.60.148
1967073 DNS lookup of 148.60.142.85.in-addr.arpa (PTR) succeeded
2067073 IP address lookup yielded 85-142-60-148.well-com.net
2167073 gethostbyname returned 1 (HOST_NOT_FOUND)
2267073 no IP address found for host 85-142-60-148.well-com.net (during SMTP connection from [85.142.60.148])
2367073 LOG: host_lookup_failed MAIN
2467073 no IP address found for host 85-142-60-148.well-com.net (during SMTP connection from [85.142.60.148])
2567073 no IP addresses found for 85-142-60-148.well-com.net
2667073 85.142.60.148 does not match any IP address for 85-142-60-148.well-com.net
2767073 sender_fullhost = [85.142.60.148]
2867073 sender_rcvhost = [85.142.60.148]
2967073 set_process_info: 67073 handling incoming connection from [85.142.60.148]
3067073 host in host_reject_connection? no (option unset)
3167073 host in sender_unqualified_hosts? no (option unset)
3267073 host in recipient_unqualified_hosts? no (option unset)
3367073 host in helo_verify_hosts? no (option unset)
3467073 host in helo_try_verify_hosts? no (option unset)
3567073 host in helo_accept_junk_hosts? no (option unset)
3667073 SMTP>> 220 gw.itjunkie.ws ESMTP Exim 4.72 Mon, 25 Oct 2010 20:09:19 +0400
3767073 Process 67073 is ready for new message
3867073 smtp_setup_msg entered
3967073 SMTP<< EHLO [192.168.1.111]
4067073 [192.168.1.111] in helo_lookup_domains? no (end of list)
4167073 sender_fullhost = ([192.168.1.111]) [85.142.60.148]
4267073 sender_rcvhost = [85.142.60.148] (helo=[192.168.1.111])
4367073 set_process_info: 67073 handling incoming connection from ([192.168.1.111]) [85.142.60.148]
4467073 host in pipelining_advertise_hosts? yes (matched "*")
4567073 host in auth_advertise_hosts? yes (matched "*")
4667073 host in tls_advertise_hosts? no (option unset)
4767073 SMTP>> 250-gw.itjunkie.ws Hello [192.168.1.111] [85.142.60.148]
4867073 250-SIZE 52428800
4967073 250-PIPELINING
5067073 250-AUTH PLAIN LOGIN
5167073 250 HELP
5267073 SMTP<< AUTH PLAIN AHRlc3RlckBpdGp1bmtpZS53cwB0ZXN0ZXI=
5367073 auth_plain authenticator:
5467073 $auth1 =
5567073 $auth2 = tester@itjunkie.ws
5667073 $auth3 = tester
5767073 $1 =
5867073 $2 = tester@itjunkie.ws
5967073 $3 = tester
6067073 search_open: mysql "NULL"
6167073 search_find: file="NULL"
6267073 key="SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'" partial=-1 affix=NULL starflags=0
6367073 LRU list:
6467073 internal_search_find: file="NULL"
6567073 type=mysql key="SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'"
6667073 database lookup required for SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'
6767073 MySQL query: SELECT `username` FROM `mailbox` WHERE `username` = 'tester@itjunkie.ws' AND `password` = 'tester'
6867073 MYSQL new connection: host=localhost port=0 socket=NULL database=mail user=mail
6967073 lookup yielded: tester@itjunkie.ws
7067073 expanded string: yes
7167073 SMTP>> 235 Authentication succeeded
7267073 SMTP<< MAIL FROM:<tester@itjunkie.ws>
7367073 SMTP>> 250 OK
7467073 SMTP<< RCPT TO:<alphaQu4z4r@gmail.com>
7567073 using ACL "acl_check_rcpt"
7667073 processing "accept"
7767073 check hosts = :
7867073 host in ":"? no (end of list)
7967073 accept: condition test failed
8067073 processing "deny"
8167073 check domains = +local_domains
8267073 search_open: mysql "NULL"
8367073 cached open
8467073 search_find: file="NULL"
8567073 key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'" partial=-1 affix=NULL starflags=0
8667073 LRU list:
8767073 internal_search_find: file="NULL"
8867073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'"
8967073 database lookup required for SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
9067073 MySQL query: SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
9167073 MYSQL using cached connection for localhost/mail/mail
9267073 MYSQL: no data found
9367073 lookup failed
9467073 gmail.com in ""? no (end of list)
9567073 gmail.com in "+local_domains"? no (end of list)
9667073 deny: condition test failed
9767073 processing "deny"
9867073 check domains = !+local_domains
9967073 search_open: mysql "NULL"
10067073 cached open
10167073 search_find: file="NULL"
10267073 key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'" partial=-1 affix=NULL starflags=0
10367073 LRU list:
10467073 internal_search_find: file="NULL"
10567073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'"
10667073 cached data used for lookup of SELECT `domain` FROM `domain` WHERE `domain`='gmail.com' AND `active`='1'
10767073 lookup failed
10867073 gmail.com in ""? no (end of list)
10967073 gmail.com in "!+local_domains"? yes (end of list)
11067073 check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
11167073 alphaQu4z4r in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
11267073 deny: condition test failed
11367073 processing "accept"
11467073 check local_parts = postmaster
11567073 alphaQu4z4r in "postmaster"? no (end of list)
11667073 accept: condition test failed
11767073 processing "require"
11867073 check verify = sender
11967073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12067073 Verifying tester@itjunkie.ws
12167073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12267073 Considering tester@itjunkie.ws
12367073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12467073 routing tester@itjunkie.ws
12567073 --------> dnslookup router <--------
12667073 local_part=tester domain=itjunkie.ws
12767073 checking domains
12867073 search_open: mysql "NULL"
12967073 cached open
13067073 search_find: file="NULL"
13167073 key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'" partial=-1 affix=NULL starflags=0
13267073 LRU list:
13367073 internal_search_find: file="NULL"
13467073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'"
13567073 database lookup required for SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
13667073 MySQL query: SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
13767073 MYSQL using cached connection for localhost/mail/mail
13867073 lookup yielded: itjunkie.ws
13967073 itjunkie.ws in "itjunkie.ws"? yes (matched "itjunkie.ws")
14067073 itjunkie.ws in "! +local_domains"? no (matched "! +local_domains")
14167073 dnslookup router skipped: domains mismatch
14267073 --------> system_aliases router <--------
14367073 local_part=tester domain=itjunkie.ws
14467073 calling system_aliases router
14567073 rda_interpret (string): ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
14667073 search_open: mysql "NULL"
14767073 cached open
14867073 search_find: file="NULL"
14967073 key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'" partial=-1 affix=NULL starflags=0
15067073 LRU list:
15167073 internal_search_find: file="NULL"
15267073 type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'"
15367073 database lookup required for SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
15467073 MySQL query: SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
15567073 MYSQL using cached connection for localhost/mail/mail
15667073 lookup yielded: tester@itjunkie.ws
15767073 expanded: tester@itjunkie.ws
15867073 file is not a filter file
15967073 parse_forward_list: tester@itjunkie.ws
16067073 extract item: tester@itjunkie.ws
16167073 system_aliases router generated tester@itjunkie.ws
16267073 errors_to=NULL transport=NULL
16367073 uid=unset gid=unset home=NULL
16467073 routed by system_aliases router
16567073 envelope to: tester@itjunkie.ws
16667073 transport: <none>
16767073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
16867073 Considering tester@itjunkie.ws
16967073 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
17067073 routing tester@itjunkie.ws
17167073 --------> dnslookup router <--------
17267073 local_part=tester domain=itjunkie.ws
17367073 checking domains
17467073 search_open: mysql "NULL"
17567073 cached open
17667073 search_find: file="NULL"
17767073 key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'" partial=-1 affix=NULL starflags=0
17867073 LRU list:
17967073 internal_search_find: file="NULL"
18067073 type=mysql key="SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'"
18167073 cached data used for lookup of SELECT `domain` FROM `domain` WHERE `domain`='itjunkie.ws' AND `active`='1'
18267073 lookup yielded: itjunkie.ws
18367073 itjunkie.ws in "itjunkie.ws"? yes (matched "itjunkie.ws")
18467073 itjunkie.ws in "! +local_domains"? no (matched "! +local_domains")
18567073 dnslookup router skipped: domains mismatch
18667073 --------> system_aliases router <--------
18767073 system_aliases router skipped: previously routed tester@itjunkie.ws
18867073 --------> dovecot_user router <--------
18967073 local_part=tester domain=itjunkie.ws
19067073 checking "condition"
19167073 search_open: mysql "NULL"
19267073 cached open
19367073 search_find: file="NULL"
19467073 key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'" partial=-1 affix=NULL starflags=0
19567073 LRU list:
19667073 internal_search_find: file="NULL"
19767073 type=mysql key="SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'"
19867073 cached data used for lookup of SELECT `goto` FROM `alias` WHERE `address`='tester@itjunkie.ws' OR `address`='@itjunkie.ws'
19967073 lookup yielded: tester@itjunkie.ws
20067073 calling dovecot_user router
20167073 dovecot_user router called for tester@itjunkie.ws
20267073 domain = itjunkie.ws
20367073 dovecot_user router: defer for tester@itjunkie.ws
20467073 message: transport "dovecot_delivery" not found in dovecot_user router
20567073 ----------- end verify ------------
20667073 require: condition test deferred
20767073 LOG: MAIN REJECT
20867073 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
20967073 SMTP>> 451 Temporary local problem - please try later
21067073 LOG: MAIN REJECT
21167073 H=([192.168.1.111]) [85.142.60.148] F=<tester@itjunkie.ws> temporarily rejected RCPT <alphaQu4z4r@gmail.com>: Could not complete sender verify
21267073 SMTP<< QUIT
21367073 SMTP>> 221 gw.itjunkie.ws closing connection
21467073 LOG: smtp_connection MAIN
21567073 SMTP connection from ([192.168.1.111]) [85.142.60.148] closed by QUIT
21667073 search_tidyup called
21767073 close MYSQL connection: localhost/mail/mail
21866076 child 67073 ended: status=0x0
21966076 0 SMTP accept processes now running
22066076 Listening...
221
222
223Конфиг exim:
224[3|root@gw| /usr/home/alp ] cat /etc/exim/configure
225########### IMPORTANT ########## IMPORTANT ########### IMPORTANT ###########
226# #
227# It is usually a good idea to test a new configuration for syntactic #
228# correctness before installing it (for example, by running the command #
229# "exim -C /config/file.new -bV"). #
230# #
231########### IMPORTANT ########## IMPORTANT ########### IMPORTANT ###########
232
233
234######################################################################
235# MAIN CONFIGURATION SETTINGS #
236######################################################################
237
238# Specify your host's canonical name here. This should normally be the fully
239# qualified "official" name of your host. If this option is not set, the
240# uname() function is called to obtain the name. In many cases this does
241# the right thing and you need not set anything explicitly.
242
243# primary_hostname =
244
245
246# The next three settings create two lists of domains and one list of hosts.
247# These lists are referred to later in this configuration using the syntax
248# +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
249# are all colon-separated lists:
250
251#domainlist local_domains = localhost : 127.0.0.1 : jlq.su : itjunkie.ws
252#domainlist relay_to_domains = local_domains
253hostlist relay_from_hosts = localhost : 127.0.0.1
254
255acl_smtp_rcpt = acl_check_rcpt
256acl_smtp_data = acl_check_data
257
258# You should not change those settings until you understand how ACLs work.
259
260hide mysql_servers = localhost/mail/mail/365eYwc4APaPFaeL
261
262domainlist local_domains = ${lookup mysql{SELECT `domain` FROM `domain` WHERE `domain`='${domain}' AND `active`='1'}}
263domainlist relay_to_domains = ${lookup mysql{SELECT `domain` FROM `domain` WHERE `domain`='${domain}' AND `active`='1'}}
264
265# Allow any client to use TLS.
266# tls_advertise_hosts = *
267# tls_certificate = /etc/ssl/exim.crt
268# tls_privatekey = /etc/ssl/exim.pem
269
270daemon_smtp_ports = 25 : 465 : 587
271# tls_on_connect_ports = 465
272
273
274# Specify the domain you want to be added to all unqualified addresses
275# here. An unqualified address is one that does not contain an "@" character
276# followed by a domain. For example, "caesar@rome.example" is a fully qualified
277# address, but the string "caesar" (i.e. just a login name) is an unqualified
278# email address. Unqualified addresses are accepted only from local callers by
279# default. See the recipient_unqualified_hosts option if you want to permit
280# unqualified addresses from remote sources. If this option is not set, the
281# primary_hostname value is used for qualification.
282
283# qualify_domain =
284
285
286# If you want unqualified recipient addresses to be qualified with a different
287# domain to unqualified sender addresses, specify the recipient domain here.
288# If this option is not set, the qualify_domain value is used.
289
290# qualify_recipient =
291
292exim_user = mailnull
293exim_group = mail
294never_users = root
295
296host_lookup = *
297
298rfc1413_hosts = *
299rfc1413_query_timeout = 5s
300
301ignore_bounce_errors_after = 2d
302timeout_frozen_after = 7d
303
304######################################################################
305# ACL CONFIGURATION #
306# Specifies access control lists for incoming SMTP mail #
307######################################################################
308
309begin acl
310
311acl_check_rcpt:
312
313 # Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
314 # testing for an empty sending host field.
315
316 accept hosts = :
317 control = dkim_disable_verify
318
319 deny message = Restricted characters in address
320 domains = +local_domains
321 local_parts = ^[.] : ^.*[@%!/|]
322
323 deny message = Restricted characters in address
324 domains = !+local_domains
325 local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
326 #############################################################################
327
328 # Accept mail to postmaster in any local domain, regardless of the source,
329 # and without verifying the sender.
330
331 accept local_parts = postmaster
332 domains = +local_domains
333
334 # Deny unless the sender address can be verified.
335
336 require verify = sender
337
338 # !!! Unknown !!!
339 accept hosts = +relay_from_hosts
340 control = submission
341 control = dkim_disable_verify
342
343 accept authenticated = *
344 control = submission
345 control = dkim_disable_verify
346
347 require message = relay not permitted
348 domains = +local_domains : +relay_to_domains
349
350 require verify = recipient
351
352 require
353 message = relay not permitted
354 domains = +local_domains : +relay_to_domains
355
356 # At this point, the address has passed all the checks that have been
357 # configured, so we accept it unconditionally.
358
359 accept
360
361
362acl_check_data:
363
364 # Deny if the message contains a virus. Before enabling this check, you
365 # must install a virus scanner and set the av_scanner option above.
366 #
367 # deny malware = *
368 # message = This message contains a virus ($malware_name).
369
370 # Add headers to a message if it is judged to be spam. Before enabling this,
371 # you must install SpamAssassin. You may also need to set the spamd_address
372 # option above.
373 #
374 # warn spam = nobody
375 # add_header = X-Spam_score: $spam_score\n\
376 # X-Spam_score_int: $spam_score_int\n\
377 # X-Spam_bar: $spam_bar\n\
378 # X-Spam_report: $spam_report
379
380 # Accept the message.
381
382 accept
383
384
385
386######################################################################
387# ROUTERS CONFIGURATION #
388# Specifies how addresses are handled #
389######################################################################
390# THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT! #
391# An address is passed to each router in turn until it is accepted. #
392######################################################################
393
394begin routers
395
396dnslookup:
397 driver = dnslookup
398 domains = ! +local_domains
399 transport = remote_smtp
400 ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
401 no_more
402
403system_aliases:
404 driver = redirect
405 allow_fail
406 allow_defer
407 data = ${lookup mysql{SELECT `goto` FROM `alias` WHERE `address`='${quote_mysql:$local_part@$domain}' OR `address`='${quote_mysql:@$domain}'}}
408 user = mailnull
409 group = mail
410 file_transport = address_file
411 pipe_transport = address_pipe
412
413dovecot_user:
414 driver = accept
415 condition = ${lookup mysql{SELECT `goto` FROM \
416 `alias` WHERE \
417 `address`='${quote_mysql:$local_part@$domain}' OR \
418 `address`='${quote_mysql:@$domain}'}{yes}{no}}
419 transport = dovecot_delivery
420# This router handles forwarding using traditional .forward files in users'
421# home directories. If you want it also to allow mail filtering when a forward
422# file starts with the string "# Exim filter" or "# Sieve filter", uncomment
423# the "allow_filter" option.
424
425userforward:
426 driver = redirect
427 check_local_user
428# local_part_suffix = +* : -*
429# local_part_suffix_optional
430 file = $home/.forward
431# allow_filter
432 no_verify
433 no_expn
434 check_ancestor
435 file_transport = address_file
436 pipe_transport = address_pipe
437 reply_transport = address_reply
438 condition = ${if exists{$home/.forward} {yes} {no} }
439
440
441# This router matches local user mailboxes. If the router fails, the error
442# message is "Unknown user".
443
444localuser:
445 driver = accept
446 check_local_user
447# local_part_suffix = +* : -*
448# local_part_suffix_optional
449 transport = local_delivery
450 cannot_route_message = Unknown user
451
452
453
454######################################################################
455# TRANSPORTS CONFIGURATION #
456######################################################################
457# ORDER DOES NOT MATTER #
458# Only one appropriate transport is called for each delivery. #
459######################################################################
460
461begin transports
462
463remote_smtp:
464 driver = smtp
465
466local_delivery:
467 driver = appendfile
468 file = /var/mail/$local_part
469 delivery_date_add
470 envelope_to_add
471 return_path_add
472 group = mail
473 user = $local_part
474 mode = 0660
475 no_mode_fail_narrower
476
477address_pipe:
478 driver = pipe
479 return_output
480
481address_file:
482 driver = appendfile
483 delivery_date_add
484 envelope_to_add
485 return_path_add
486
487address_reply:
488 driver = autoreply
489
490
491
492######################################################################
493# RETRY CONFIGURATION #
494######################################################################
495
496begin retry
497
498# This single retry rule applies to all domains and all errors. It specifies
499# retries every 15 minutes for 2 hours, then increasing retry intervals,
500# starting at 1 hour and increasing each time by a factor of 1.5, up to 16
501# hours, then retries every 6 hours until 4 days have passed since the first
502# failed delivery.
503
504# WARNING: If you do not have any retry rules at all (this section of the
505# configuration is non-existent or empty), Exim will not do any retries of
506# messages that fail to get delivered at the first attempt. The effect will
507# be to treat temporary errors as permanent. Therefore, DO NOT remove this
508# retry rule unless you really don't want any retries.
509
510# Address or Domain Error Retries
511# ----------------- ----- -------
512
513* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
514
515
516
517######################################################################
518# REWRITE CONFIGURATION #
519######################################################################
520
521# There are no rewriting specifications in this default configuration file.
522
523begin rewrite
524
525
526
527######################################################################
528# AUTHENTICATION