procmail
[Top] [All Lists]

recipe or maildir issues

2001-11-11 22:37:04
Hello...
I am quite new to procmailing, so if this problem of mine is anything
obvious I do apologize; a simple pointer to the right URL and a minor
spanking would be appreciated.  (I have googled the hell out of my
error messages, to no avail)
In short, I had a simple recipe working on my old mailserver (postfix
(on linux) spewing out to mboxes).  I switched to Maildir on a new
linux box and adjusted my recipe file accordingly; now two entries in
my recipe work, and the other fails.  The procmail log shows that it
matches correctly, but then says there's an error writing the
.Folder/tmp/.  It doesn't seem to be a permissions issue, though...
Here's the .procmailrc:

---------------------------------------------
SHELL=/bin/bash
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
LOGFILE=procmail.log
LOCKFILE=$HOME/.lockmail
VERBOSE=yes

:0:
* ^TO_(_dot_)*evening-plans(_at_)yahoogroups(_dot_)com
.Evening-plans/

:0:
* ^TO_(_dot_)*postfix-users(_at_)postfix(_dot_)org
.Postfix/

:0:
* ^TO_(_dot_)*logcheck(_at_)streampipe(_dot_)com
.Boxen/
-----------------------------------------------

Mail to evening-plans and postfix-users sorts fine into their
respective folders.  The logcheck mail Matches, but then has errors
and defaults to the inbox.  I've even tried deleting the .Boxen
folder, then doing 
cp -R .Postfix/ .Boxen/ 
(didn't care about the contents, just wanted to eliminate permissions
as the problem).  Anyway, the same thing happened.  Postfix-users was
fine, logcheck failed.
When I send mail to logcheck, here's what I get in the procmail.log:

-----------------------------------------------
From root(_at_)honeypot(_dot_)streampipe(_dot_)com  Mon Nov 12 05:01:57 2001
 Subject: honey test
  Folder:
/home/streampipe/matt/Maildir/new/1005541318.15927_1.ipe.comc     647
procmail: Unlocking "/home/streampipe/matt/.lockmail"
procmail: [16005] Mon Nov 12 05:17:32 2001
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(_dot_)*logcheck(_at_)streampipe(_dot_)com"
procmail: Locking ".Boxen/.lock"
procmail: [16005] Mon Nov 12 05:17:33 2001
procmail: Error while writing to
".Boxen/tmp/1005542253.16005_0./.lockmailcanis.streampipe.com"
procmail: Couldn't create or rename temp file
".Boxen/tmp/1005542253.16005_0./.lockmailcanis.streampipe.com"
procmail: Unlocking ".Boxen/.lock"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(_dot_)*evening-plans(_at_)yahoogroups(_dot_)com"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(_dot_)*postfix-users(_at_)cloud9(_dot_)net"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)(_dot_)*postfix-users(_at_)postfix(_dot_)org"
procmail: Assigning
"LASTFOLDER=/home/streampipe/matt/Maildir/new/1005542253.16005_1.ipe.comcanis.streampipe.com"
procmail: Notified comsat:
"matt(_at_)0:/home/streampipe/matt/Maildir/new/1005542253.16005_1.ipe.comcanis.streampipe.com"
From root(_at_)honeypot(_dot_)streampipe(_dot_)com  Mon Nov 12 05:17:32 2001
 Subject: honey test
  Folder:
/home/streampipe/matt/Maildir/new/1005542253.16005_1.ipe.comc     647
procmail: Unlocking "/home/streampipe/matt/.lockmail"
-----------------------------------------------

I'm really at a loss as to what could be wrong.  This recipe worked
fine on my old mailserver, the only difference being mbox versus
Maildir (but I thought I accounted for that in the procmailrc file. 
The working folder and the not-working folder have identical
permissions (see postscript below).
Any assistance would be greatly appreciated.

Thanks,

Matt



PS: just for kicks:

[matt(_at_)canis .Boxen]$ ls -la
total 24
drwx------    5 matt     matt         4096 Nov 12 05:17 .
drwxrwxrwx   13 matt     matt         4096 Nov 12 05:20 ..
-rw-r--r--    1 matt     matt         1205 Nov 12 05:00
courierimapuiddb
drwx------    2 matt     matt         4096 Nov 12 02:05 cur
-rwx------    1 matt     matt            0 Nov 12 02:05 maildirfolder
drwx------    2 matt     matt         4096 Nov 12 02:05 new
drwx------    2 matt     matt         4096 Nov 12 02:05 tmp

[matt(_at_)canis .Postfix]$ ls -la
total 36
drwx------    5 matt     matt         4096 Nov 12 05:01 .
drwxrwxrwx   13 matt     matt         4096 Nov 12 05:20 ..
-rw-r--r--    1 matt     matt         1205 Nov 12 05:01
courierimapuiddb
drwx------    2 matt     matt        12288 Nov 12 02:04 cur
-rwx------    1 matt     matt            0 Nov  7 10:23 maildirfolder
drwx------    2 matt     matt         8192 Nov 12 02:03 new
drwx------    2 matt     matt         4096 Nov 12 02:02 tmp
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>