[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail filtering / UNDELIVERABLE EMAIL



On Sun, Sep 24, 2000 at 05:57:12PM -0400, Michael P. Soulier wrote:
> On Sun, Sep 24, 2000 at 03:37:29PM -0500, William Jensen wrote:
> 
> > Here's mine, it works, YMMV:
> > 
> > :0:
> > * ^From:.<webmaster@my.netvigator.com>
> > /dev/null
> 
>     I'm using the perl Mail::Audit module myself:
> 
> if (($from eq 'webmaster@my.netvigator.com')
>     and ($subject =~ /undelivered email/))
> {
>     print "Rejecting stupid Debian error message.\n\n";
>     my $reason = "I'm sick of looking at these in my inbox.";
>     $message->reject($reason);
> }
> 
>     To each their own I guess. ;-)

hmm!

what process do you use to invoke perl as a mail filter?

or is it just a
	:0
	|/usr/bin/perl someScript
thingy? (i presume that would compile the script once for
each and every message, yes?)

point me to the manpage, i will go.



Reply to: