Spam filtering

Chris Wagner ismgr at atchisonkansas.net
Mon Sep 8 13:44:14 CDT 2003


We're running Postfix on a Yellow Dog 3.0 install and I have created a 
.procmailrc (as suggested by a very gracious member here with full 
attachment clipping - thanks so much) and a .forward file for a single 
unix account user. I sent a couple of test messages to that user account 
with a small .exe file attached and the recipe seemed to work like a 
charm, but I have a question.

As far as I can tell, the recipe calls for stripping the attachment 
based on specified type and then dumping the message in a 
.messages-rejected directory.

However, when I check the directory itself, I find no instance of 
anything there......

Should I be seeing any data in that directory when a message is run 
through the procmail filtering and thrown in that directory?

Here's the contents of the file:

VERBOSE=off
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
COMSAT=no

:0 B
*^Content-Type: (application|audio)
*^.*name=.*.(vb[esx]|ws[hf]|c[ho]m|bat|cmd|hta|exe|lnk|pif|scr|shs)
.messages-rejected/

## subject lines with 'adv' or 'advertisement' or some other variation
:0:
* ^Subject: [?ADV.*]?
/var/log/spam

Thanks, all.

Chris




More information about the Kclug mailing list