[TriLUG] help with procmail/postfix

Mike Broome mbroome at employees.org
Tue Jul 29 09:44:47 EDT 2003


On Tue, Jul 29, 2003 at 08:59:53AM -0400, Jeremy Portzer wrote:
> Also, I highly recommend you use a procmail log file.  This will most
> likely help you isolate the problem (assuming procmail is actually being
> run).  Just put something like this at the top of your ~/.procmailrc:
> LOGFILE=$HOME/mail/procmail.log
> 
> Then, procmail will log something to that file every time a message
> comes through.  (Note: if you leave that log in place, it can get kinda
> big after a while if you get a lot of email.)

FWIW, I have the following in my crontab to keep my procmail log from
growing unbounded:

# rotate my procmail log file  [Monday morning, 1am]
0 1 * * 1 umask 066; mv Mail/log Mail/log.bak; touch Mail/log

Mike

-- 
Mike Broome
mbroome(at)employees.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030729/12b2f398/attachment.pgp>


More information about the TriLUG mailing list