I have a problem sending any mail back using any recipe from my standalone
BNU/Linux machine, but they all work on my shell account. Everything else
works on my standalone box. I have practically all services turned off to
harden my system but I wouldn't think that would matter on something done
locally. I do have sendmail turned on (though considered closing that port
and turning on postfix - just haven't gotten around to it). So, why
wouldn't it work on a machine I use to fetchmail and sendmail but would
work on the shell I telnet into?? I have been trying to figure this out
for weeks and nothing seems to work. As noted, procmail works fine
otherwise - locally to segment my mailbox folders and filter spam.
Hank
On Wed, 4 Apr 2001, Dave Robbins wrote:
From: Poohba <poohba(_at_)poohba(_dot_)adsl(_dot_)duke(_dot_)edu>
Date: Wed, 04 Apr 2001 13:11:30 -0400
Is there anyway to create a bounced email? I want a bounced email to go
back to specific senders so that they think this account is invalid.
I regret to say that I no longer have the name of the list member
who provided this recipe a few years back.
You must have GNU grep for the $EGREP. You should have this anyway.
The undesired sender (if on your reject list) gets a MAILER-DAEMON message
back (produced by the EXITCODE = 77) and you get nothing but their
mail header tucked away in the gzipped file.
Dave Robbins
--
BOZOS=.reject # file with addresses to reject (one per line)
FROM=`formail -rzxTo:`
:0
* ? echo "$FROM" | $EGREP -i -f $BOZOS
* ? test -r $BOZOS -a -s $BOZOS
{
EXITCODE = 77
:0h:
| gzip -fc >> $MAILDIR/.headers.gz
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail