2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] log variables to file
FromSent OnAttachments
TungMay 24, 2004 3:31 pm 
Ron JohnsonMay 25, 2004 1:24 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] log variables to fileActions...
From:Ron Johnson (ron.@cox.net)
Date:May 25, 2004 1:24:00 am
List:net.sourceforge.lists.courier-maildrop

On Mon, 2004-05-24 at 15:31 -0700, Tung wrote:

hi, what is the proper way to log env variables or dianostics to a file?

I have echo "$HOME" >> maildroplog.txt but that results in a syntax error.

At the top of .mailfilter, put: logfile "mailfilter.log"

Then, you can do: log " the homedir is ${HOME}."