Ankush Grover wrote: > hey friends, > > I am using postfix 2.1.5 on Fc3 with MailScanner 4.44 version + > spamassassin 3.1.1 + clamav 0.88.3 + Mailwatch + Isoqlog + Fetchmail + > Dovecot. > > The problem I am facing is that I am receiving lot of spams with the > subject as "Viagra or Vijagra" these are not alone words mostly it is > like this "sxafdviagra or wxxxweessfsdvijara" any words but the > subject line do contains "Viagra or Vijagra" so If I can write a rule > which treat the mail as spam if it contains "Viagra or Vijagra" in the > subject line. > > I am not a programmer by any means but I know through perl regular > expressions one can write such a rule, but so far I am not able to > write such a rule. > > Any kind of guidance or help will be very fruitful. I've found that using the smf-grey milter from http://smfs.sourceforge.net/ gets rid of 99% of these without having to write any rules. Regards, Ed -- Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.!