15 Feb
2007
15 Feb
'07
2:14 p.m.
On Fri, 2007-02-09 at 12:57 -0500, John Harper wrote:
However, it appears that the root dir '~/mail' string is used at some point before the tilde-expansion takes place. I see a literal ~ directory in the users home, with an empty mail directory inside.
Hmm. I thought I had fixed all such cases.
After that it picks up the proper location and works correctly. I tried a %h and got a literal %h directory.
Yea, %h is expanded by master process.
home=
/bin/pwd
if [ -f .procmailrc -a -d Maildir ]; then MAIL="maildir:$home/Maildir"; export MAIL
Wouldn't $HOME work directly?