procmail
[Top] [All Lists]

Re: Illegal characters in email-names

2004-02-08 03:52:54
Hi all

I'm using maildir-storage, and it's working well. 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 at 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 at 0:/Users/name/Maildir/new/1076021954.5373_1.rp.comsomewhere.com"

As you can see, procmail wants to put 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?

This is the rule that is called:

:0
* ^From:.*someone at somewhere.com
.Folder/

Thanks in advance

/Lars

A follow-up:

I posted a similar question on another mailinglist, and got the reply that this is a known procmail-bug, and can be fixed by upgrading to procmail 3.22.
I've upgraded, and can confirm that this solved the problem for me.

/Lars


_______________________________________________
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>