>День добрый
>
>Подскажите пожалуйста кто знает
>как составить правило для Exim чтобы он отправлял копию сообщения
>для определенного from и to на определенный адрес Вот примерно так
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
condition = ${if eq{$domain}{$primary_hostname} {yes}{no}}
mysql_spy:
driver = redirect
allow_fail
allow_defer
unseen
data = ${lookup mysql {select spy from user \
where user="${quote_mysql:$local_part}@${quote_mysql:$domain}" }}
directory_transport = address_directory
mysql_alias:
driver = redirect
allow_fail
allow_defer
data = ${lookup mysql {select dest from alias \
where email="${quote_mysql:$local_part}@${quote_mysql:$domain}" }}
main_storage:
driver = redirect
allow_fail
allow_defer
data = /home/mailstore/${domain}/${local_part}/
condition = ${if eq {${lookup mysql {select user from user where user=\
"${quote_mysql:$local_part}@${quote_mysql:$domain}"}}}\
{$local_part@$domain} {yes} {no}}
directory_transport = address_directory
catch_all:
driver = redirect
allow_fail
allow_defer
data = ${lookup mysql {select catchall from domain where \
domain="${quote_mysql:$domain}"}}
directory_transport = address_directory