procmail
[Top] [All Lists]

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

2007-06-07 13:26:18
On 7-Jun-2007, at 01:07, Ruud H.G. van Tol wrote:
You had "$HOME/$USER/", which looks strange, because $HOME is like
"/home/user" already, so you'll end up with "/home/user/user/".

Not in this case.  Since we are dealing with procmailrc.common for  
virtual users, $HOME is '/usr/local/virtual' and $USER is passed from  
postfix as 'user+extension(_at_)thevirtualdomain(_dot_)tld'

That's why I had to rewrite $USER in procmailrc.common to strip out  
$EXTENSION from $USER before passing both $USER and $EXTENSION to any  
possible virtual user define procmailrc in /usr/local/ 
virtual/.procmail/$USER


-- 
The trouble with being a god is that you've got no one to pray to.
____________________________________________________________
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