>> Can the return path be generated from the From: field in these cases, and if >> so, how? > >You don't want to do this. Often, with either sophisticated users or >with spammers the envelope sender and the From field are different. > >You could try this in your /usr/local/etc/procmailrc (untested): > >:0fw >RETURN_PATH=`/usr/local/bin/formail -X Return-Path` >/usr/local/bin/spamc -f > >:0fw >| /usr/local/bin/formail -I "$RETURN_PATH" >
Close, very close. This caused procmail to break and all mail delivery ceased...so I changed the order around to this: RETURN_PATH=`/usr/local/bin/formail -X Return-Path` :0fw /usr/local/bin/spamc -f :0fw | /usr/local/bin/formail -I "$RETURN_PATH" Thanks for all of your help, its working great now! Bill _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
