procmail
[Top] [All Lists]

Re: Procmail recipe

2009-01-24 10:03:59
* Dallman Ross <dman(_at_)nomotek(_dot_)com> [01-24-09 09:33]:
On Sat, Jan 24, 2009 at 09:17:42AM -0500, Patrick Shanahan wrote:

# -------------------------------------------------------
:0:
* ^X-BeenThere:(_dot_)*lolica(_at_)lolica(_dot_)org
$MAILDIR/list.org.lolica.lolica
# -------------------------------------------------------

Hi, Patrick,

Well, this approach is a little unusual, for the following
reason: MAILDIR, in addition to being a "magic" invocation
in procmail to chdir, also represents by the current working
directory.  So there is no difference between the folder


  $MAILDIR/list.org.lolica.lolica
 
and the folder
 
  list.org.lolica.lolica
  
    
Well, please pardon me for being a bit dense here but reading your
explanation and that offered in the Quick Start,
  http://www.ii.com/internet/robots/procmail/qs/
leaves me somewhat confused (remember the advancing age).

Mrs. McGough offers:

MAILDIR variable  and  maildir format  (which are two completely
different beasts!)
    Unfortunately, the word “maildir” is used in (at least) two
    different ways in the Procmail world. MAILDIR (in all caps) is a
    Procmail variable that changes Procmail's current working
    directory and is used to point to the directory where your
    personal (non-system-spool) mailboxes are stored. For more
    information about Procmail's MAILDIR variable, see the blinking
    IMPORTANT note in Step 4 below. Maildir (not in all caps) is the
    name of a mailbox format. For more information about the maildir
    mailbox format, see Using maildir format, the maildir man page,
    and the section below about delivering to a mailbox that is in
    maildir format. 

and "Step 4 below"

    Make sure you replace MAILDIR=$HOME/Msgs with the directory where
    your personal (non-system-spool) mailboxes are stored and that
    this directory exists and is writable by your LOGNAME. The MAILDIR
    variable specifies Procmail's working directory and all relative
    paths are relative to this directory. 
    

Are you saying that $MAILDIR should not be used or that the value of
$MAILDIR tells procmail to use that value as it's working directory
and that makes the delivery directory relivant to the cwd making
$MAILDIR superfluous?

Or does $MAILDIR (in this case) make it easier for me to read my own
recipies :^)?

tks,
-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>