procmail
[Top] [All Lists]

Re: Logging from system rc file.

1998-02-10 01:11:42
Mon 98-02-09 Sherwood Botsford <sherwood(_at_)math(_dot_)ualberta(_dot_)ca> 
list.procmail
| :0 Hc:
| *
| /dev/null
| 
| Is there a more elegant way to extract information for logging, but
| not for delivery?

Use formail. Eg. to record all headers, you could do

    HEADERS = `$FORMAIL -X ""`

Or if you're interested in only From, Reply-To, Subject

    HEADERS = `$FORMAIL -X From -X Reply-To -X Subject`

jari

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