Re: Procmailrc start

"Ruud H.G. van Tol" <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On 2011-08-26 19:21, LuKreme wrote:
> Hylton Conacher:

>> Is there a list of the lines of code that could go in the start of the file, if so where?
>
> Nope, it depends largely on your system and your setup. For example, I start off mine with:
>
> DATE=`date '+%d-%b-%Y'`
> LONGDATE=`date "+%Y%m%d %I:%M:%S %z"`

I hate to do shell calls,
so I get the date from the '^From ' line of the message.

Demo: http://rvtol.home.xs4all.nl/procmail/basic/

-- 
Ruud
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.