--On Dienstag, 30. Dezember 2003 08:50 -0600 Joe Laffey
<[EMAIL PROTECTED]> wrote:

> I don't think we ever came to a resolution for the best way to discrad
> spam from a .mailfilter. People tried delivering to /dev/null, etc.

Delivery to /bin/true should work just fine, or if you dont want to
spawn a shell rtfm maildropfilter(5):

        The exit statement causes maildrop to terminate
        without delivering the message anywhere.

> I wondered if Sam had any comments on how to do this? I am now in a
> position where I need to discard spam marked above a certain threshold.
> 
> I can deliver it to a junk mailbox and have a cronjob delete it. But it
> seems there must be a better way.

whats wrong with:

EXITCODE=0
exit
 
> Simply rejecting it with something like an exitcode of 99 fills up the
> mailqueue with junk trying to be delivered to non-existent
> addresses/domains.

Nonbody cares about your queue, but the innocent forged senders and
their postmasters hopefully blackhole any spam-bouncing host forever.

Roland



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to