--On Donnerstag, 19. Februar 2004 09:54 -0500 Nathan Harris <[EMAIL PROTECTED]> wrote:

> I have searched the mail-list archives, but I can't seem to find out how to
> reject email if it's tagged over a certain spam level by SpamAssassin.  In
> the courierd config file, my default delivery is set like so:
> 
> DEFAULTDELIVERY="| /usr/bin/spamc | /usr/lib/courier/bin/maildrop"
> 
> I have looked at filtering with maildrop.  I can figure out how to deliver
> spam email to a .Spam folder, but nothing on flat out rejecting the email.
> Any help would really be appreciated.

You cant reject mail at local delivery since it already has been
accepted by your server in an earlier stage.

One could bounce, but thats a bad thing since the address of the
sender usually has nothing to do with the spammer and the only effect
will be annoyed victims which block your server because of the emmitted
crap.

Alternatively you could move the content-filtering into the perlfilter
or maildropfilter which are both able to reject mail during the transfer.

But they are somewhat difficult to configure compared to your current
solution, and there is nothing wrong with delivering to the spam-folder.

Roland



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to