procmail
[Top] [All Lists]

Re: modifying spambouncer

2002-01-19 01:04:49

On Fri, 18 Jan 2002, Jonathan Ganz wrote:

1) I'm getting the following error message in the log. Note the backup
file is created. Obviously, this isn't a fatal error, but it bothers me that
something isn't working quite right. Suggestions would be welcome.

  Subject: HOMEOWNERS GET 4.5% INT. RATE GUARENTEED
   Folder: the_path_here/block.incoming
cd: can't cd to backup

Spambouncer is broken here. First her recipe is to write backups of
the incoming emails before they are filtered to a directory like this:

# Create a backup cache of 100 most recent messages in case of mistakes
:0 c
$MAILDIR/backup

Well that's nice except there is nothing to create the directory 
automatcially and the config docs don't tell you to create a backup
directory by hand. This causes the messages to be written to a file
named 'backup' instead of a directory named 'backup' (if you ever really
need to retrieve a backup, it might be easier to do in this mailbox
file format from your email reader).

Then comes the next recipe:

  :0 ic
  | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`

where we are trying to enter the non-existand directory 'backup', it
fails and leaves you the error:

cd: can't cd to backup 

 
2) How do I modify the script that creates the backup file to limit the
size to 50 messages rather than the default 100. (Also, it doesn't
seem to limit it to 100 right now, so perhaps this is related to the
"can't cd to backup" error.)

Change 100 in:

:0 ic
  | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`

to 50.
 
3) How do I send the individual spams that I get in the block.incoming
and spam.incoming folders to a spam reporting email addresses (e.g.,
uce(_at_)ftc(_dot_)gov and my spamcop subscription address)? The only thing
that I was able to do, is outside of spambouncer, using a cron command.
Unfortunately, I have to send the email in batches. This doesn't work
for spamcop (at least it doesn't appear to work).

There is a spam reporting feature built into Spambouncer that at least
handles spamcop I think. 

thanks,

--paul
CueMan

--
 http://www.cuenet.com                                         
Info(_at_)cuenet(_dot_)com
                      -= At the speed of the Internet =-

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>