Hi all
I've set up Dovecot to use maildir-storage according to the previous
hint from Blair Zajac, and it's working perfectly. However, I still
have a problem with the way procmail wants to name the received emails.
The following is a slightly modified extract from my logs:
procmail: [5373] Thu Feb 5 23:59:14 2004 procmail: Assigning "MAILDIR=/Users/name/Maildir/" procmail: Assigning "ORGMAIL=/Users/name/Maildir/" procmail: Assigning "DEFAULT=/Users/name/Maildir/" procmail: Assigning "INCLUDERC=/Users/name/Library/rc.myrules" procmail: Match on "^From:.*someone@somewhere.com" procmail: Error while writing to ".Folder/tmp/1076021954.5373_0.y/rc.myrulessomewhere.com" procmail: Couldn't create or rename temp file ".Folder/tmp/1076021954.5373_0.y/rc.myrulessomewhere.com" procmail: Assigning "LASTFOLDER=/Users/name/Maildir/new/ 1076021954.5373_1.rp.comsomewhere.com" procmail: Notified comsat: "name@0:/Users/name/Maildir/new/1076021954.5373_1.rp.comsomewhere.com"
As you can see, procmail puts a slash in the middle of the name, which
of course is not allowed. This causes the rule to break, and the mail
to be delivered to the default mailbox instead of the intended. Does
anyone know how to control which characters are allowed in procmail, or
how to control the naming eg. by way of grep?
/Lars