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@mydomain to user1@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