Migrating procmail recipes
Anne Wilson
cannewilson at tiscali.co.uk
Fri Jan 27 11:41:52 UTC 2006
I have been using imap with mbox format mail. The new server is to us
maildir, so all my recipes have to be migrated, and I'm having problems
because I'm unsure of how maildir is handled in procmail. Take this,
for instance:
Old version -
:0:
* ^To:.*design at lydgate.org
{
:0 c
! xxxx at xxx.org.uk
:0
./Mail/Design
}
which worked as desired on the old, mbox, server.
New version -
MAILDIR=/home/anne/Maildir
:0:
* ^To:.*design at lydgate.org
{
:0 c
! xxxx at xxx.org.uk
:0
./Maildir/Design/
This gives error messages such as
<anne at localhost.lydgate.net> (expanded from <anne at localhost>): can't
create user output file. Command output: procmail: Couldn't create
"/var/mail/anne" /bin/sh: anne: No such file or directory procmail:
Error while writing to "/home/anne.pm.log" procmail:
[3466] Fri Jan 27 10:48:22 2006 procmail: Assigning "LOGABSTRACT=YES"
procmail: Match on "^To:.*design at lydgate.org" procmail: Extraneous
locallockfile ignored # ##I have fixed that###
procmail: Locking ".lock" procmail: Unlocking ".lock" procmail:
Executing
"/usr/sbin/sendmail,-oi,xxxx at xxxx.org.uk" procmail: Assigning
"LASTFOLDER=/usr/sbin/sendmail -oi xxxx at xxxx.org.uk" procmail:
Locking "./Maildir/Design/.lock" procmail: Error while writing to
"./Maildir/Design/_K2%2pf2DB.packbell.lydgate.n" procmail:
[3466] Fri Jan 27 10:48:30 2006 procmail: Locking
"./Maildir/Design/.lock" procmail: Error while writing to
"./Maildir/Design/_K2.-pf2DB.packbell.lydgate.n" procmail:
[3466] Fri Jan 27 10:48:38 2006 procmail: Locking
"./Maildir/Design/.lock" procmail: Error while writing to
"./Maildir/Design/_K2,-pf2DB.packbell.lydgate.n" procmail:
<snip>
[3466] Fri Jan
27 10:49:18 2006 procmail: Locking "./Maildir/Design/.lock"
procmail: Error while writing to
"./Maildir/Design/_K2+eqf2DB.packbell.lydgate.n" procmail:
Lock failure on "./Maildir/Design/.lock" procmail: Unable to treat
as directory "./Maildir/Design" procmail: Assigning
"LASTFOLDER=./Maildir/Design" procmail: Opening "./Maildir/Design"
procmail: Error while writing to "./Maildir/Design" procmail:
Notified comsat: "anne@:**Bounced**" From cannewilson at tiscali.co.uk
Fri Jan 27
10:48:22 2006 Subject: Testing packbell's handling Folder:
**Bounced**
2294
Ignoring the extraneous lockfile (now fixed) there seems to be two
problems. One refers to /var/spool/mail/anne. Is that a left-over
from mbox? and if so, what do I need to edit?
The second is the Design folder. On this workstation I see that as a
sub-folder of Packbell's Inbox. What is the syntax for moving mail to
that folder?
Anne
More information about the users
mailing list