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

Top Pagina
Delete this message
Reply to this message
Auteur: Aly Dharshi
Datum:  
Aan: exim-users
Onderwerp: [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.
--