procmail
[Top] [All Lists]

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

2007-06-06 21:52:39
On 3-Jun-2007, at 06:15, Ruud H.G. van Tol wrote:
LuKreme schreef:

* ! EXTENSION ?? ^^^^

Alternative:

  * EXTENSION ?? .

Yep, I prefer the former though because it is clearer to me that I am  
checking "if EXTENSION is not empty"

{
   :0
   * $ USER ?? $EXTENSION

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

     * $ USER ?? $\EXTENSION

OK

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

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

um... I suppose it could be * $ USER ?? +$\EXTENSION@

(USER will be int eh form user+extension(_at_)thedoimain(_dot_)tld)

MAILDIR="$HOME/$USER/"

Never put a slash at the end of MAILDIR.

Good to know, new to the whole maildir thing with procmail.


-- 
It's better to burn out than it is to rust
   -- Neil Young as quoted by Kurt Cobain

____________________________________________________________
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