[Dovecot] help writeing rule for preventin spam

Charles Marcus CMarcus at Media-Brokers.com
Tue Jan 27 13:42:51 EET 2009


On 1/26/2009 11:51 PM, Sophia Alikhani wrote:
> Hi
> I installed qmail-jms1-7.07 + domainkey-patch + simscan + clamav+
> dovecot-1.1.7+ vpopmail+ spamassassin
> I also used Bayes + AWL as database connection in local.cf
> I don't know how can i stop these type of spam at MTA level (qmail) i
> wrote a rule in .dovecot.sieve
> if header :contains ["From","To"]
>            ["%u at mydomain]
>  {
>    discard;
>    stop;
>  }
> In the real i nedd to stop any mail from a virtual user to him/her self.

Again... this is NOT a dovecot problem, it is an MTA (in your case,
qmail) problem. You'll need to ask on one of their support lists...

-- 

Best regards,

Charles


More information about the dovecot mailing list