27 Nov
2008
27 Nov
'08
8:41 p.m.
Hi guys,
I will start a little script that receive via antispam plugin an email, extract the "from" and "return-path" and create alter the sieve script of the user that send the e-mail. Well, I don't speak english very well (I speak like Borat!!!), but with some examples is better to understand:
- Some user move an "undesirable" mail to "Automatic Block" folder
- The antispam plugin call my script
- The script parse the e-mail and extract the from and return-path mail
- A rule is added to ~/.dovecot.sieve to dicard messages that came from that e-mail
- If the user remove the mail from "Automatic Block" folder, the script remove this rule
So, my question is: anyone is working on something similar with this? (I don't want to reinvent the wheel)
Regards.
-- "Não deixe a faculdade atrapalhar seus estudos."