[Dovecot] $MAIL environment variable to override mail_location works in v1.2.16 but not in v2.0.7 for /usr/libexec/dovecot/imap

Giam Teck Choon dovecot.org at choon.net
Thu Nov 11 21:02:13 EET 2010

Hi Timo,

On 11/12/2010 02:53 AM, Timo Sirainen wrote:
> On 11.11.2010, at 18.50, Giam Teck Choon wrote:
>> However, same trick can't be used for dovecot v2.0.7.  First error is /etc/dovecot/dovecot.conf must be exists so I just simply touch /etc/dovecot/dovecot.conf with empty content to bypass that error.
> -O parameter avoids that.

Ok :)

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

Many thanks.

Kindest regards,
Giam Teck Choon

More information about the dovecot mailing list