[Dovecot] help on writing a rule for perventing spam
Giuliano Gavazzi
dev+lists at humph.com
Wed Jan 21 09:45:06 EET 2009
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
More information about the dovecot
mailing list