Re: mailfront imapfront-auth with dovecot 1.2.16 : SUCCESS

Giam Teck Choon <[email protected]> Fri, 12 Nov 2010 03:08:24 +0800
Newsgroups gmane.comp.sysutils.bgware
Organization CHOON.NET
Message-ID <[email protected]>
SUCCESS with v2.0.7... Many thanks to Timo from dovecot.org :)

> Things not what we expected. Their version 2.0.7 not honouring $MAIL at
> all. I will keep on testing various environment variables and report
> back if I find out more.

Wrapper below for dovecot v2.0.7

--------------------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<---------------------

Thanks.

Kindest regards,
Giam Teck Choon