[Exim] Spamassassin and filtering spam to a Spam Maildir Fol…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Aly Dharshi
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Spamassassin and filtering spam to a Spam Maildir Folder
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi Folks,

    I hope that you are well, finally found some time to get this Spam Maildir folder filtering thing. Hopefully the director and transport do it for those who are interested.



Transport:

spam_delivery:
driver = appendfile
maildir_format = true
directory = /home/$local_part/Maildir/.Spam/
directory_mode = 0700
create_directory = true
delivery_date_add
envelope_to_add
return_path_add
user = $local_part
group = $local_part


Director:

spamtrap_director:
condition = "${if def:h_X-Spam-Flag {1}{0} }"
driver = smartuser
transport = spam_delivery


    I hope that this is interesting to the rest who wish to use such a method.


    Cheers,


        Aly.
--