procmail
[Top] [All Lists]

Re: Maildirs and virtual users and postfix, oh my!

2007-06-26 08:13:34
On 6/25/07, LuKreme <kremels(_at_)kreme(_dot_)com> wrote:

So, the variables are expanded in the LOG, but not in the MAKENEWDIR

All that you've demonstrated is that when procmail verbosely logs a
backtick'd command, it doesn't write the expansion to the log file.

/nonexistent: Can't open /nonexistent: No such file or directory

I suspect that error means either that $SHELL is set to /nonexistent,
or that some other variable that the shell is trying to use is set to
/nonexistent, or that the /etc/passwd file entry for the current user
says that the home directory is /nonexistent, or some similar thing.

Try

LOG=`echo $HOME/$USER`

and see what ends up in the log file.
____________________________________________________________
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