[Mimedefang] Small Assistance

John john at jjgb.com
Tue May 13 14:44:01 EDT 2003


I am currently running MimeDefang 2.30 on a public mailserver with 
SpamAssassin and everything functions perfectly.  I just add a X-Spam 
header with the score and the general users are dealing with that nicely.

However, I am about to change that a bit.  I am not a great perl person and 
need just a little help here.

After processing through SpamAssassin, I am sure I can get the code right 
for rejectiing anything 10 or over and use  whitelisting in spamassasin for 
the few mailing lists that generate an occasional 10 or over score.

My wish is to: After SpamAssassin processes the mail and returns a score, 
if any of the recipients is mine (john at jjgb.com) or my wifes 
(gloria at jjgb.com), I want to reject (bounce) that message.  The way I read 
the man pages, the @recipients is available in the "sub filter_end 
($)".  Correct?  Or is there another variable I am missing here to check 
the recipients of the processed message?

I can control my own mail, but do not wish to interfere with mail of other 
users beyond marking the message as spam and rejecting large spam 
scores.  I am getting too many actual spam's at 5.1 and 5.2 and no false 
positives that I care about and want to reject anything SpamAssassin 
scores >= 5...

Thoughts and some code please?

Thanks...

John Jaeger - Billings, Montana

EMail To	: <mailto:john at jjgb.com>
Home Page	: <http://www.jjgb.com>

PGP:
RSA Key ID: 0xAAEC7751  <http://www.jjgb.com/public_files/RSA_Key.zip>

"Our liberty is protected by four boxes...
     The ballot box, the jury box, the soap box, and the cartridge box."
                                    - Anonymous




More information about the MIMEDefang mailing list