Re: mailfront imapfront-auth with dovecot 1.2.16 : SUCCESS
Bruce Guenter <[email protected]> Thu, 11 Nov 2010 13:56:52 -0600
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 12, 2010 at 03:08:24AM +0800, Giam Teck Choon wrote: > 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. > > exec "$@" -O -o mail_location=$MAIL So you could replace the $IMAPD part of the original script with: sh -c "exec $IMAPD -O -o mail_location=\$MAIL" so it would end up running: tcpserver [options] \ imapfront-auth \ sh -c 'exec /usr/libexec/dovecot/imap -O -o mail_location=$MAIL' making sh do the substitution of $MAIL. No wrapper script should be needed for that. -- Bruce Guenter <[email protected]> http://untroubled.org/
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkzcSoQACgkQ6W+y3GmZgOid5wCffX1TYBqvGEu9sUe3t+/TRXA4 MDsAn0ujZooaqzwA7RhDKfD66Nyat+4q =SYlr -----END PGP SIGNATURE-----