ÎÕÖÅÎ ÉÍÅÎÎÏ ×ÌÏÖÅÎÎÙÊ ÃÉËÌ?
ÐÏÞÅÍÕ ÎÅ ÓÄÅÌÁÔØ 

if $domain is "newtelco.ua" and $local_part is "ashikov"

                unseen deliver zzz ÎÁ itcons.net.ua

endif

÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 7 ÉÀÎÑ 2010 17:54:46 Á×ÔÏÒ Alexander Shikoff ÎÁÐÉÓÁÌ:
> ðÒÉ×ÅÔÓÔ×ÕÀ!
> 
> þÔÏ-ÔÏ ÎÅ ÍÏÇÕ ÐÏÎÑÔØ, ÐÏÞÅÍÕ ÎÅ ÒÁÂÏÔÁÅÔ system filter.
> ïÞÅÎØ ÐÒÏÓÔÏÊ:
> # Exim filter
> 
> if $domain is "newtelco.ua"
> then
>         if $local_part is "ashikov"
>         then
>                 unseen deliver zzz ÎÁ itcons.net.ua
>         endif
> endif
> 
> ëÏÎÆÉÇÕÒÁÃÉÅÊ ÐÏÄÈ×ÁÔÙ×ÁÅÔÓÑ:
> # exim -bP|grep filter
> system_filter = /usr/local/etc/exim/filters/system
> system_filter_directory_transport =
> system_filter_file_transport =
> system_filter_group = mail
> system_filter_pipe_transport =
> system_filter_reply_transport =
> system_filter_user = mailnull
> 
> ðÒÏ×ÅÒËÁ ×ÒÏÄÅ ÐÒÏÈÏÄÉÔ:
> # exim -bF /usr/local/etc/exim/filters/system -bfl ashikov -bfd newtelco.ua
> .
> Warning: no message headers read
> Return-path copied from sender
> Sender      = root ÎÁ emx.itcons.net.ua
> Recipient   = ashikov ÎÁ newtelco.ua
> Testing Exim filter file "/usr/local/etc/exim/filters/system"
> 
> Unseen deliver message to: zzz ÎÁ itcons.net.ua
> Filtering did not set up a significant delivery.
> Normal delivery will occur.
> 
> îÏ ÐÉÓØÍÁ ÎÅ ËÏÐÉÒÕÀÔÓÑ. þÔÏ ÎÅ ÔÁË?
> 

Ответить