Hallo.
I have one exotic configuration to have accounting of incoming mail.
On the same machine I have two exim, compiled with different config files.
one works as relay and recives mail, than, if it is a local mail, it
delivers it to the second exim through smtp driver to virtual 10.0.xx.xx
addresses, and second exim puts it in user's mailboxes.
After I setuped it, all works perfectly, except ONE address!!!!!!!!
I have same error:
2003-07-21 18:45:08 19ebuU-0000EP-00 <= report@??? H=(gw.spcex.ru)
[195.5.1
34.124] P=esmtp S=15881 id=200307211444.h6LEiWv06155@???
2003-07-21 18:45:08 19ebuU-0000EP-00 ** natasha@??? R=virtualuser
T=x_virtua
l_delivery: retry time not reached for any host after a long failure period
2003-07-21 18:45:08 19ebuU-0000EP-00 ** irina@??? R=virtualuser
T=x_virtual_
delivery: retry time not reached for any host after a long failure period
2003-07-21 18:45:08 19ebuU-0000EP-00 ** oleg@??? R=virtualuser
T=x_virtual_d
elivery: retry time not reached for any host after a long failure period
- it happens with coming message from grandpa.spcex.spb.su!
=(
What does it mean?
Why it don't store message in the queue?
/////////////////////////////////// exim relay config //////
primary_hostname = mail.master-it.ru
local_interfaces = xx.3.152.3
domainlist virtual_domains = dbm;/usr/local/etc/exim/mail/localdomains.db
domainlist local_domains = @ : +virtual_domains : spccr.leontief.ru :
spccr.spb.ru : spccr.org
domainlist relay_to_domains = +virtual_domains
hostlist relay_from_hosts = 127.0.0.1 : 10.2.1.2 : xx.3.152.0/24
split_spool_directory = true
print_topbitchars = true
trusted_users = tourpotok
queue_run_max = 180
remote_max_parallel=50
return_size_limit = 50K
acl_smtp_rcpt = acl_check_rcpt
exim_user = mailnull
exim_group = mail
never_users = root
rfc1413_hosts = *
rfc1413_query_timeout = 5s
ignore_bounce_errors_after = 24h
timeout_frozen_after = 24h
begin acl
acl_check_rcpt:
accept hosts = :
verify = sender
verify = recipient
deny local_parts = ^.*[@%!/|] : ^\\.
accept local_parts = postmaster
domains = +local_domains
accept domains = +local_domains
endpass
message = unknown user
verify = recipient
accept domains = +relay_to_domains
endpass
message = unrouteable address
verify = recipient
accept hosts = +relay_from_hosts
verify = sender
verify = recipient
accept authenticated = *
require verify = sender
condition = ${lookup whoson {::ffff:${sender_host_address}}{yes}{no}}
accept hosts = *
deny message = relay not permitted
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{$local_part}lsearch{/etc/aliases}}
user = mailnull
group = mail
file_transport = address_file
pipe_transport = address_pipe
funky_hosts:
driver = accept
domains = aaaaaa.ru : bbbbb.spb.ru : ccccccc.org
transport = funky_delivery
virtual_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}
dbm*@{/usr/local/etc/exim/mail/${lookup{$domain}
dbm{/usr/local/etc/exim/mail/localdomains.db}}/aliases.db}}
file_transport = address_file
pipe_transport = address_pipe
virtualuser:
driver = accept
domains = +virtual_domains
dbm{/usr/local/etc/exim/mail/${domain}/users.db}}
transport = ${if or
eq{$domain}{yyyyyyy.ru}}{eq{$domain}{mail.yyyyyy.ru}}}{virtual_delivery}{x_virtual_delivery}}
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
condition = ${if exists{$home/.forward} {yes} {no} }
localuser:
driver = accept
check_local_user
transport = local_delivery
begin transports
remote_smtp:
driver = smtp
connect_timeout = 120s
user = ${if eq {$originator_uid}{1034}{mailnull}{$originator_uid}}
group = ${if eq {$originator_uid}{1034}{25}{6}}
return_path = ${if match
{$return_path}{tourpotok@???}{mailsender@???}fail}
virtual_delivery:
driver = appendfile
maildir_format
directory =
${extract{mail}{${extract{3}{|}{${lookup{$local_part@${lookup{$domain}
dbm{/usr/local/etc/exim/mail/localdomains.db}}}
dbmnz*@{/usr/local/etc/userdb.dat}}}}}}
delivery_date_add
return_path_add
envelope_to_add
user =
${extract{uid}{${extract{2}{|}{${lookup{$local_part@${lookup{$domain}
dbm{/usr/local/etc/exim/mail/localdomains.db}}}
dbmnz*@{/usr/local/etc/userdb.dat}}}}}}
group =
${extract{gid}{${extract{4}{|}{${lookup{$local_part@${lookup{$domain}
dbm{/usr/local/etc/exim/mail/localdomains.db}}}
dbmnz*@{/usr/local/etc/userdb.dat}}}}}}
mode = 0600
quota = 100M
x_virtual_delivery:
driver = smtp
hosts = ${run{/usr/local/sbin/getip
${extract{uid}{${extract{2}{|}{${lookup{$local_part@${lookup{$domain}
dbm{/usr/local/etc/exim/mail/localdomains.db}}}
dbmnz*@{/usr/local/etc/userdb.dat}}}}}}}{$value}{fail}}
hosts_override = true
funky_delivery:
driver = smtp
hosts = 10.2.1.2
hosts_override = true
local_delivery:
driver = appendfile
maildir_format
directory = $home/Maildir
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators
--
С уважением,
Самсыгин Даниил
Директор телекоммуникационного
центра "Мастер-IT"
www.master-it.ru