>сабж.
>
>подскажите как реализовать.
>нужно все входящую почту редиректить на внешний почт. адрес, оставляя копии в
>локальном.
>
>читал про .forward - но не вкурил как сделать :(
>
>Заранее спасибо. в соот-вии c
If you want the pure forwarding (with no local copy) behaviour, and are starting with a .forward file that is essentially the same as the standard one recommended above, then you should insert the rule:
deliver you@offsite.email.address
into the post-spam section (there's no point in forwarding spam!)
If you want forwarding with local copy behaviour, then the rule is:
unseen deliver you@offsite.email.address
создал /var/mail/exim/my.domian.com/.forward
в нем прописал
unseen deliver realaddress@yahoo.com
в конф. файле екзима прописал следующее:
userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
# file = $home/.forward
file = /var/mail/exim/my.domain.com/$local_part/.forward
# allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
рестартанул екзим. Результат - 0.
Помогите что не так.