Sophia Alikhani
2009-Jan-21 05:34 UTC
[Dovecot] help on writing a rule for perventing spam
Hi I used qmail + dovecot-1.1.7 + dovecot-sieve + .... now everything works well but there are many spam in Bulk folders from every user address to their address for example from user1 at mydomain to user1 at mydomain in the real the sender and reciever are the same . they are spam but since everyday , everyvirtual user has many of these spams in their Bulk i need a rule in dovecot.sieve to prevent them Can anybody help me for writing this rule. -- with regards Sophia Alikhani WorkPhone: +98-21-8497057 Mobile : +98-912-3361036
Giuliano Gavazzi
2009-Jan-21 07:45 UTC
[Dovecot] help on writing a rule for perventing spam
On W 21 Jan, 2009, at 06:34 , Sophia Alikhani wrote:> > Hi > I used qmail + dovecot-1.1.7 + dovecot-sieve + .... > now everything works well but there are many spam in Bulk folders from > every user address to their address for example > from > user1 at mydomain to user1 at mydomain > in the real the sender and reciever are the same . > they are spam but since everyday , everyvirtual user has many of these > spams in their Bulk i need a rule in dovecot.sieve to prevent them > Can anybody help me for writing this rule.you are much better off rejecting those even before seing the DATA, if that address is in the envelope sender, or after, if it is only in the From: message header. No need to accept them, so no need for dovecot to even see them. So this is an issue you should take, if necessary, to the mailing list of your MTA of choice. Giuliano