procmail
[Top] [All Lists]

Re: MAILDIR=/some/path/with/a/trailing/slash/

2003-12-13 15:08:45
Toen ik Professional Software Engineering kietelde, kwam er dit uit:
Ruud:

In most silly uses of MAILDIR I've seen, a one-extra-won't-hurt-slash
was used, like:

  MAILDIR = $HOME/mail/
  :0:
  * test
  $MAILDIR/IN.test

Which is wholly unnecessary, seeing as:

 MAILDIR = $HOME/mail/
 :0:
 * test
 IN.test

Will write it in exactly the same place.


You just removed the silliness I meant. Maybe I should have
called it "useless uses of MAILDIR", belonging to:
  http://rhols66.adsl.netsonic.fi/era/unix/award.html
I have the idea that they come together, the useless use of
MAILDIR and the useless use of the trailing slash.

So the good recipe is of course:

  MAILDIR = $HOME/mail
  :0:
  * test
  IN.test

or for maildir-type delivery:

  MAILDIR = $HOME/mail
  :0
  * test
  IN.test/



Horror:

http://mailman.theapt.org/pipermail/openbsd-newbies/2003-March/001097.html
which contains:

  MAILDIR=$HOME/Maildir/
  :0
  $MAILDIR

which looks more acceptable like this:

  MAILDIR=$HOME/Maildir
  :0
  ./

or just:

  DEFAULT=$HOME/Maildir/


-- 
Affijn, Ruud (Bcc: DStaal)


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