I am using PAM auth for imapd
Last line of:
Means Maildir is in /usr/home/$USER/Maildir
I decided to change it to:
It doesn't work! $USER ends up being an empty string.
So I play dumb and try:
And Voila! In maillog, I get error, of non existant path and $HOST did expanded to full string.
Now, I now $USER is available, even in single user mode, so something has obviously stripped/deleted it!
Last line of:
Code:
# vi /usr/local/etc/courier-imap/imapd-ssl
Code:
MAILDIRPATH=Maildir
I decided to change it to:
Code:
MAILDIRPATH=/somepath/mdstore/$USER/
It doesn't work! $USER ends up being an empty string.
So I play dumb and try:
Code:
MAILDIRPATH=/somepath/mdstore/$HOST/
Now, I now $USER is available, even in single user mode, so something has obviously stripped/deleted it!