procmail
[Top] [All Lists]

Re: procmail rules

2006-11-27 11:07:49

On Mon, 27 Nov 2006, Matthias H?ker wrote:



Carlos Eduardo R. L. de Miranda schrieb:

Hello,

I am trying to stop some spam that my spam system doesn’t catch.
Anyone to fix or send me a better way to do it?

/etc/procmailrc

DROPPRIVS=yes

MAILDIR=$HOME/Maildir

LOGFILE=/var/log/procmailrc.log

LOGABSTRACT=all

VERBOSE=yes

COMSAT=no

# Test subject

:0 c

* ^Subject:*wrote:*

/dev/null

# Test score by spamassassin

:0

* ^X-myserver-MailScanner-SpamScore:\ sssss

/dev/null

Thank you,

Carlos


maybe it is better to collect this STOCK SPAM for a while and train SA on it
:0:
* ^Subject:*wrote:*
/var/mail/stockspam

and at the shell

su-2.05#sa-learn --spam --mbox --progress /var/mail/stockspam


i have a good success with that and the BAYES score for this kind of
SPAM is now 3.5

and then with

:0:
* ^X-Spam-Level: ***
* 1^0 B ?? ^Price:
* 1^0 B ?? ^Current Price:
* 1^0 B ?? ^Short Term Target:
* 1^0 B ?? ^Long Term Target:
* 1^0 B ?? ^Sym:
* 1^0 B ?? ^Currently:
* 1^0 B ?? ^Feature:
* 1^0 B ?? ^Smart
* 1^0 B ?? ^Money
* 1^0 B ?? ^Equities
* 1^0 B ?? ^cash prize
* 1^0 B ?? ^Current:
* 1^0 B ?? ^projected
* 1^0 B ?? ^Symbol:
* 1^0 B ?? ^Target:
* 1^0 B ?? ^Rating:
/mail/spam


        I thinks that

* B ?? ^( ... |Feature:|Smart|Equities| ... )

        or

*     ...
* 2147483647^0 B ?? ^Feature:
* 2147483647^0 B ?? ^Money
*     ...

        Will be faster.

Bye,
 Udi





only to be shure not to /dev/null

Matthias








____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.







************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>