[exim] system wide filter against spam marked traffic on inb…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jonathan Gonzalez
Data:  
Para: Mailinglist EXIM
Asunto: [exim] system wide filter against spam marked traffic on inbox
Hi,

i need to take all the emails with header containing [SPAM?] and move
them to a folder in the maildir of each user named Maildir/.SPAM

I have tried a script like the following with the directives
system_filter-* but seems that some variables like $local_part and
$domain are now available to help the process:

      if $h_subject: CONTAINS "[SPAM?]"
      then
         save $home/Maildir/.SPAM/
         finish
      endif


Reading the doc and spec of exim seems that there's another way using
either a router or a directive named transport_filter in the transport
that writes to disk.

Nevertheless i was unable along the evening to make it run. I would like
to get some thought from the list.

Thanks in advance.

jonathan