procmail
[Top] [All Lists]

Re: Determining a message's size in Procmail

2006-12-11 10:08:14
On Dec 11, 2006, at 5:21 AM, Rado S wrote:

=- Michael J Wise wrote on Sat  9.Dec'06 at  8:54:01 -1000 -=

a) does this happen even with : locking?

I <3 Maildir....

That's fine for your mailfolders not to get corrupted, but the
logfile is not protected this way.

It's protected in other ways.
Writes to it are "atomic" on a line-by-line basis.
So I write everything out as a single "line".

b) I use a "digest" awk-script that converts the abstract to my
liking. Given the logfile's simple form it's easy to figure out.
If interested reply in private.

I use this:

     TRAP='/usr/bin/sed -n ...

Uh well, not sure what your TRAP does there... but what do you
want your logfile to look like anyway?

I want it to have EVERYTHING.
And it does.
It's great for forensics.

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
   and Usenet Registration handy..."


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail