команда exim -d+all -bt dimon80@mail.ru
Код: Выделить всё
13:22:24 4702 Exim version 4.69 uid=0 gid=0 pid=4702 D=fffdffff
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
13:22:24 4702 changed uid/gid: forcing real = effective
13:22:24 4702 uid=0 gid=0 pid=4702
13:22:24 4702 auxiliary group list: <none>
13:22:24 4702 seeking password data for user "uucp": cache not available
13:22:24 4702 getpwnam() succeeded uid=10 gid=10
13:22:24 4702 configuration file is /etc/exim4/exim4.conf
13:22:24 4702 log selectors = 00000ffc 00612001
13:22:24 4702 trusted user
13:22:24 4702 admin user
13:22:24 4702 seeking password data for user "mail": cache not available
13:22:24 4702 getpwnam() succeeded uid=8 gid=8
13:22:24 4702 expanding: $1
13:22:24 4702 result: root
13:22:24 4702 user name "root" extracted from gecos field "root"
13:22:24 4702 originator: uid=0 gid=0 login=root name=root
13:22:24 4702 sender address = root@ETC_MAILNAME
13:22:24 4702 Address testing: uid=0 gid=104 euid=0 egid=104
13:22:24 4702 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13:22:24 4702 Testing dimon80@mail.ru
13:22:24 4702 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13:22:24 4702 Considering dimon80@mail.ru
13:22:24 4702 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13:22:24 4702 routing dimon80@mail.ru
13:22:24 4702 --------> hubbed_hosts router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 expanding: /etc/exim4/hubbed_hosts
13:22:24 4702 result: /etc/exim4/hubbed_hosts
13:22:24 4702 condition: exists{/etc/exim4/hubbed_hosts}
13:22:24 4702 result: false
13:22:24 4702 expanding: partial-lsearch;/etc/exim4/hubbed_hosts
13:22:24 4702 result: partial-lsearch;/etc/exim4/hubbed_hosts
13:22:24 4702 skipping: result is not used
13:22:24 4702 failed to expand: ${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}
13:22:24 4702 error message: "if" failed and "fail" requested
13:22:24 4702 failure was forced
13:22:24 4702 expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list
13:22:24 4702 hubbed_hosts router skipped: domains mismatch
13:22:24 4702 --------> real_local router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 real_local router skipped: prefix mismatch
13:22:24 4702 --------> system_aliases router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 mail.ru in "primaryhostname.ru"? no (end of list)
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 system_aliases router skipped: domains mismatch
13:22:24 4702 --------> userforward router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 userforward router skipped: domains mismatch
13:22:24 4702 --------> procmail router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 procmail router skipped: domains mismatch
13:22:24 4702 --------> maildrop router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 maildrop router skipped: domains mismatch
13:22:24 4702 --------> lowuid_aliases router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 lowuid_aliases router skipped: domains mismatch
13:22:24 4702 --------> local_user router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 local_user router skipped: domains mismatch
13:22:24 4702 --------> mail4root router <--------
13:22:24 4702 local_part=dimon80 domain=mail.ru
13:22:24 4702 checking domains
13:22:24 4702 cached no match for +local_domains
13:22:24 4702 cached lookup data = NULL
13:22:24 4702 mail.ru in "+local_domains"? no (end of list)
13:22:24 4702 mail4root router skipped: domains mismatch
13:22:24 4702 no more routers
dimon80@mail.ru is undeliverable: Unrouteable address
13:22:24 4702 search_tidyup called
13:22:24 4702 >>>>>>>>>>>>>>>> Exim pid=4702 terminating with rc=2 >>>>>>>>>>>>>>>>Как я понимаю письмо не прошло роуты, но почему, привожу конфиги роутов:
Код: Выделить всё
begin routers
.ifdef MAIN_ALLOW_DOMAIN_LITERALS
domain_literal:
debug_print = "R: domain_literal for $local_part@$domain"
driver = ipliteral
domains = ! +local_domains
transport = remote_smtp
.endif
hubbed_hosts:
debug_print = "R: hubbed_hosts for $domain"
driver = manualroute
domains = "${if exists{CONFDIR/hubbed_hosts}\
{partial-lsearch;CONFDIR/hubbed_hosts}\
fail}"
same_domain_copy_routing = yes
route_data = ${lookup{$domain}partial-lsearch{CONFDIR/hubbed_hosts}}
transport = remote_smtp
.ifdef DCconfig_internet
dnslookup_relay_to_domains:
debug_print = "R: dnslookup_relay_to_domains for $local_part@$domain"
driver = dnslookup
domains =! +local_domains : +relay_to_domains
transport = remote_smtp
same_domain_copy_routing = yes
no_more
dnslookup:
debug_print = "R: dnslookup for $local_part@$domain"
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
same_domain_copy_routing = yes
# ignore private rfc1918 and APIPA addresses
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
nonlocal:
debug_print = "R: nonlocal for $local_part@$domain"
driver = redirect
domains = ! +local_domains
allow_fail
data = :fail: Mailing to remote domains not supported
no_more
.endif
smarthost:
debug_print = "R: smarthost for $local_part@$domain"
driver = manualroute
domains = ! +local_domains
transport = remote_smtp_smarthost
route_list = * DCsmarthost byname
host_find_failed = defer
same_domain_copy_routing = yes
no_more
.endif
COND_LOCAL_SUBMITTER = "\
${if match_ip{$sender_host_address}{:@[]}\
{1}{0}\
}"
real_local:
debug_print = "R: real_local for $local_part@$domain"
driver = accept
domains = +local_domains
condition = COND_LOCAL_SUBMITTER
local_part_prefix = real-
check_local_user
transport = LOCAL_DELIVERYв принципе это и не вставлять, но так для наглядности, как быть то?