11 Nov
2010
11 Nov
'10
9:24 p.m.
I noticed v2.0.7 is not using $MAIL environment variable to override mail_location?
-o mail_location=blah
Ha... so simple and tested... works!
Will v1.2.16 works with the same options? Like below?
/usr/libexec/dovecot/imap -O -o mail_location=blah... ...
--------------------8<----------8<----------8<----------8<--------------------- #!/bin/sh
if [ -n "$MAIL" ] ; then
export MAIL=maildir:echo $MAIL | sed 's@:@::@g'
fi
exec "$@" -O -o mail_location=$MAIL
--------------------8<----------8<----------8<----------8<---------------------
Where $@ is actually /usr/libexec/dovecot/imap.
Thanks.
Kindest regards, Giam Teck Choon