<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok so i see my rule now in the headers for the email, so i guess its
working... however it seems that it would not work alone??<br>
<br>
IE, if i send a regular email with the text in the subject that i am
looking for, the email comes through with no score at all, even though
i associated my rule with a score of 2.75<br>
<br>
Strange, i guess there is something i am missing....<br>
<br>
Yes, score=20.952 tag=-9999 tag2=4.5 kill=7.5 tests=[BAYES_99=3.5,
DIDO_PDF_ATTACHMENT_SUBJECT_RULE=2.75, HELO_DYNAMIC_IPADDR=4.2,
RCVD_IN_BL_SPAMCOP_NET=1.558, RCVD_IN_NJABL_DUL=2, RCVD_IN_PBL=0.001,
RCVD_IN_SORBS_DUL=2.046, RCVD_IN_XBL=4.897]<br>
<br>
My rule is DIDO_PDF_ATTACHMENT_SUBJECT_RULE=2.75<br>
<br>
but if i send an email with .pdf in the subject it does not get
caught.... weird...<br>
<br>
### To catch that pdf attach email crap in the subject line<br>
header DIDO_PDF_ATTACHMENT_SUBJECT_RULE Subject =~ /.pdf/i<br>
score DIDO_PDF_ATTACHMENT_SUBJECT_RULE 2.75<br>
describe DIDO_PDF_ATTACHMENT_SUBJECT_RULE PDF Crap<br>
<br>
<br>
<pre class="moz-signature" cols="72">Rob Morin
Dido InterNet Inc.
Montreal, Canada
<a class="moz-txt-link-freetext" href="Http://www.dido.ca">Http://www.dido.ca</a>
514-990-4444</pre>
<br>
<br>
Julian Field wrote:
<blockquote cite="mid468A634E.2080002@ecs.soton.ac.uk" type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Where did you put local.cf?
Rob Morin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello all... i wanted to make a test custom rule as a test to start to
write my own rules as i have not done this before....
so in local.cf i wrote
header DIDO_ATTACHMENT_SUBJECT_RULE Subject =~ /testing
123/i score DIDO_ATTACHMENT_SUBJECT_RULE 2.50
describe DIDO_ATTACHMENT_SUBJECT_RULE Test Headers
However after a reload of MS and SA this rule is never seen/used??
What would i be doing wrong, i read the custom rule wiki at apache
Any help appreciated...
using SA version 3.17 and pretty much latest MS
thanks
</pre>
</blockquote>
<pre wrap=""><!---->
Jules
- --
Julian Field MEng CITP
<a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info">www.MailScanner.info</a>
Buy the MailScanner book at <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info/store">www.MailScanner.info/store</a>
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFGimNdEfZZRxQVtlQRArzhAKDAetPqAfjxQCIeRlZIg8KgWPj3xwCdGJO4
NOiDhL46APDoFmVHeNcBnNE=
=eksY
-----END PGP SIGNATURE-----
</pre>
</blockquote>
</body>
</html>