Prev Previous Post   Next Post Next
  #1  
Old 12th February 2007, 14:06
Morons Morons is offline
Senior Member
 
Join Date: Aug 2006
Posts: 199
Thanks: 8
Thanked 15 Times in 7 Posts
Lightbulb Procmail logging

I added logging of procmail to /ispconfig/isp/conf/procmailrc.master with VERBOSE=off

If the user gets created and I need to debug I change the relevant lines in /var/www/webx/user/zone.tld_test/.procmailrc to VERBOSE=on

Code:
VERBOSE=off
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
COMSAT=no
{MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
{MAILDIR_COMMENT}DEFAULT=$MAILDIR
{MAILDIR_COMMENT}ORGMAIL=$MAILDIR
{QUOTA}
INCLUDERC={PMDIR}/.mailsize.rc
{QUOTA_COMMENT}INCLUDERC={PMDIR}/.quota.rc
{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
{AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc
Also give /var/log/procmail.log some rights chmod 666 /var/log/procmail.log, this might be tweeked!
now you can follow the procmail process by issuing the command
Code:
tail -vf /var/log/procmail.log
and scannig fo errors as it happens!

P.S. I'm working on spamassasin logging as the default spamd logs but ISPC seem not to log spam results.
I need someone to please post me an script to "retro-fit" these lines to the existing user .procmailrc files that does not already have the settings please.

Last edited by Morons; 12th February 2007 at 14:17. Reason: Fixing typo
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 30th June 2006 00:20
Procmail with ISP users and system users MvincM Installation/Configuration 8 19th April 2006 23:48
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 21:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 01:58
procmail supposed to be in main.cf? Smitty Installation/Configuration 4 5th December 2005 11:10


All times are GMT +2. The time now is 19:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.