Tolga wrote Tuesday, October 02, 2007 6:15 PM:
[Dallman Ross wrote and has now replaced the missing author's
attribution inside these editor's brackets:]
Please show a sample recipe that is not doing what you want
and a sample verbose log extract.
My log:
procmail: Match on "^Subject:.*Postfix log summary of (to|yester)day"
procmail: Assigning "LASTFOLDER=pflogsumm"
procmail: Opening "pflogsumm"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "tolga(_at_)44165:./pflogsumm"
From root(_at_)ozses(_dot_)net Tue Oct 2 19:15:47 2007
Subject: Postfix log summary of today
Folder: pflogsumm
My recipe:
DEFAULT=/var/mail/folders/$LOGNAME
MAILDIR = /var/mail/$LOGNAME
:0
* ^Subject:.*Postfix log summary of (to|yester)day
pflogsumm
What is not right about it?
If you are getting separate files for each mail message from
that, then it must be the case that you have previously
created a directory called pflogsumm. Why did you do that?
Rename the directory (in order to preserve your current
messages beneath it) and let procmail create the mbox
mail folder (file) on its own. The user writing to
the mailbox needs to have appropriate write perms on the
parent dir, of course.
--
dman [don't quote back my .sig, please, or the procmail list footer below]
____________________________________________________________
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