procmail
[Top] [All Lists]

Re: problems with a recipie that handles the undeliverable emails

2001-08-19 03:11:18

What I do is put in my sendmail.mc file:

define(`LUSER_RELAY', ``procmail:KalvjaLusers.rc'')

and then have KalvjaLusers.rc:

===================

 :0 fhW
        |formail -a "X-Lost-User-Mail-From: $1 (trapped by $2)"

 :0
        ! -oi -f $1 tris+lost.user, wall

===================

Which can be filter more if need in the .procmailrc of tris.

Best wishes,

Kalvis
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail