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



--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to