著者: lee 日付: To: exim-users 題目: Re: [exim] Can you help me with my filters ?
Thanks Peter and Kirill,
I see what you're saying and hey presto, problem solved!
Below is the relevant section from my revised file; I don't know if I
need the 'finish' commands as well in there? It works anyway. Many
thanks for that.
if $local_part is "incel"
and
$header_content-type: contains "boundary"
then
pipe "/home/incel/www/mailgust/dbcron.pl 18"
finish
endif
if $local_part is "incel"
and
$header_content-type: does not contain "boundary"
then
pipe "/home/incel/www/demime.pl '|/home/incel/www/mailgust/dbcron.pl 18'"
finish
endif
if $local_part is "incelot"
and
$header_content-type: contains "boundary"
then
pipe "/home/incel/www/mailgust/dbcron.pl 5"
finish
endif
if $local_part is "incelot"
and
$header_content-type: does not contain "boundary"
then
pipe "/home/incel/www/demime.pl '|/home/incel/www/mailgust/dbcron.pl 5'"
finish
endif
---
message scanned by Avast for viruses before sending