Hi,

I'm sure someone else can do much better with a bit of effort :)

--jcm



On 01 Sep 2001 16:26:29 +0200, [EMAIL PROTECTED] wrote:
> On Sat, Sep 01, 2001 at 07:13:06AM -0500, Bud Rogers wrote:
> > I put him in a filter.  Every mail I receive from him gets forwarded back to 
> > him and to postmaster and abuse at his ISP.  I don't think he'll be around 
> > long.
> 
> Could you tell me how to do that ?

Quickly hacked example:

:0:
* (^From:.*[EMAIL PROTECTED])
{
        :0 c:
        'Abuse/Layne-Log-'`date +%b-%Y`

        :0 c:
        ! [EMAIL PROTECTED]

        :0:
        | (formail -r -k -A"X-Loop: mail-loop@$YOURDOMAIN" \
           -A"From: \"$YOURNAME\" <$YOURADDRESS>";\
           -A"Subject: [ABUSE] Forwarded Message";\
          ) | $SENDMAIL -oi -t
}

I have not tested the above so it probably doesn't work...

--jcm



Reply via email to