procmail
[Top] [All Lists]

Re: Comments on this way to use procmail with virtual domains

2007-06-07 01:01:17
Ruud H.G. van Tol schreef:

The $MAILDIR is used in expressions, like

  LOGFILE = "$MAILDIR/LOG/pm.$YYYY-$MM.log"

so if you would also have a "/" at the end of MAILDIR, you would get
"//".

As Dallman pointed out to me, that is not a very good example, because
in this case the relative approach

   LOGFILE = "LOG/pm.$YYYY-$MM.log"

can be used.

(similar to MAILDIR, setting LOGFILE is also doing more than just
setting a variable to another value: it switches the stderr-handle)

-- 
Groet, Ruud
____________________________________________________________
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