4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Logging?
FromSent OnAttachments
Richard Harvey ChapmanMar 22, 2002 2:32 am 
Sean RimaMar 22, 2002 5:28 am 
JeffMar 22, 2002 5:09 pm 
Sean RimaMar 23, 2002 2:42 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] Logging?Actions...
From:Sean Rima (sean@tcob1.net)
Date:Mar 23, 2002 2:42:45 am
List:net.sourceforge.lists.courier-maildrop

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi Jeff!

On Fri, 22 Mar 2002, Jeff wrote:

Is it possible to get some sort of logging out of maildrop? I'd like to keep stats on my rules (mostly the spam ones) and see which rules match more often than others, etc.

You can very easy, use the keyword log, ie # Adapted Rule #Correct wrong sig-dashes, ie add a space for lines with only "--" in them: #from: ^--$ # to: ^-- $ if (/^--$/:b) { xfilter "sed -e 's/^--$/-- /'" log "Sig Dash Rule" }

You could add the line below to the .mailfilter file in the users home directory to get a log of that filter files activity:

logfile $HOME/.maildroplog

That usually only logs writing to the final destination not if certain receipes have worked.

Sean - -- Sean Rima http://www.tcob1.net Linux User: 231986 Jabber: tcob@jabber.org THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjycW80ACgkQeR/L2ZZp3E/4RQCgzmNpImY9U31+OCCWrCyKrH3n MM8Anjk/2oaggmT6vc/SQDxm6h7U+Vpk =8uJN -----END PGP SIGNATURE-----