procmail
[Top] [All Lists]

Messages to Log file

1997-03-10 09:32:10
This may be a simple newbie question, but how does one write messages to
the log file from a (perl) program that an e-mail is piped to:

VERBOSE=on
LOGFILE=maillog.txt

:0 
* ^TOmailinglist(_at_)domain(_dot_)com
{

FROM=`formail -x From:`
SUBJ=`formail -x Subject`
:0 b 
| "$HOME/cgi-local/automail.pl \"$FROM\" \"$SUBJ\"" 


}



Steve Heiliczer, President & Senior Designer
Integrity Solutions Inc. 
Bowie, Maryland (301) 464-5868
http://www.IntegritySolutions.com
mailto:webmaster(_at_)IntegritySolutions(_dot_)com

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