procmail
[Top] [All Lists]

Re: recipe or maildir issues

2001-11-12 02:28:42

On Mon, Nov 12, 2001 at 12:08:58AM -0800, Timothy J. Luoma wrote:

^TO and ^TO_ both include the .* so including it is unnecessary, and in fact 
screws things up

How does it screw things up?  Isn't the regex /.*.*/ the same as /.*/ ?

Also you should put a \ before any . in a line that starts with a * (because 
. means "match any character" and you just want to match a literal "."

You're talking about the domain names he's matching, right?

Also, do you REALLY want to have your directories start with '.Evening-plans' 
rather than 'Evening-plans' ?

If he's using courier-imap, he absolutely does.  RTFM, specifically
http://www.ii.com/internet/robots/procmail/qs/#mailboxFormats

And do you want to deliver to *directories* (you have a trailing / there) or 
to files?  The :0: indicates a lockfile for a file.... so you need to decide 
(or share with us) what you want to do.

Yes, postfix uses maildirs, which are indeed directories, and the
notation he's used is exactly correct per the above FAQ entry.

The thing that he doesn't need is the lock files, since maildir folders
are immune to locking problems.  End of page 14 of procmail(1).

p


: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/

TjL


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

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