procmail
[Top] [All Lists]

Re: What wrong with this recipe set?

1999-12-09 05:22:38
John Antypas asked,

| Given that, the second recipe is causing me trouble.  I get a forwarded
| message, but no body.

| :0 h c
| * !^FROM_DAEMON
| * ? test `$MAILPREFS $USERID F` = 1
| | formail -r | $SENDMAIL -t `$MAILPREFS $USERID f`

You're using the `h' flag, whose function is to feed only the body to the
action line.  Get rid of it.

Also, the action line itself calls formail -r, which drops the body.  If
you want the incoming body sent back, use the -k option to formail as well.

Plus you might want -rt instead of -r; I'm not sure of what you're after
here.

<Prev in Thread] Current Thread [Next in Thread>