At 14:32 2001-12-30 -0700, Luke Holton wrote:
:0
* ^TO_lholton(_at_)desertsky(_dot_)com
{
:0
mail/testing
}
You should perform LOCKING. Also, lose the braces and the extra flags
line, and get in the habit of escaping dots where they should be
interpreted as actual dots. Thus, the recipe should look like:
:0:
* ^TO_lholton(_at_)desertsky\(_dot_)com
mail/testing
Now, if MAILDIR is set to anything other than $HOME, say:
MAILDIR=$HOME/mail
Then you don't need to include the dir in front of the mailbox name (in
fact, if it is set, you DO NOT want to include the dir in front of the
mailbox name, unless you're providing an absolute path, or expect to
deliver to a subdirectory below MAILDIR). If all your deliveries occur
within one folder, setting MAILDIR is a lot more convenient than repeating
the dirname throughout all your recipes.
As Mr. Tamkin has posted, the "?" may be as the result of a CR+LF formatted
.rc file, rather than a unix LF formatted one. However, I'd like to point
out that that explanation doesn't mesh precisely with how you described the
problem: that specifically being that if the file already existed, then the
message was written to a file with a trailing ? in the name. By that
description, it would seem that the first time you run a message through
that it would write to a file without a trailing ? in the name... Is that
the case?
> Please DO NOT carbon me on list replies. I'll get my copy from the list.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thank you.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail