procmail
[Top] [All Lists]

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

2007-06-03 05:19:44
LuKreme schreef:

* ! EXTENSION ?? ^^^^

Alternative:

  * EXTENSION ?? .


{
   :0
   * $ USER ?? $EXTENSION

Use "$\", especially for variables with contents from the outside:

     * $ USER ?? $\EXTENSION

Aren't there any anchors possible?
I mean something like 

     * $ USER ?? ^^$\EXTENSION^^
     * $ USER ?? $\EXTENSION^^
     * $ USER ?? ^^$\EXTENSION\.
etc.


MAILDIR="$HOME/$USER/"

Never put a slash at the end of MAILDIR.


 DEFAULT="$MAILDIR"

So that becomes

  DEFAULT="$MAILDIR/"


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