AW: Re: [Dovecot] [OT] Apple Mail.app access to localhost imap whe n nonetwork
This script is what I use -- note that you need to have it on the server, and then call ssh to execute that script (on the server) immediately.
#!/bin/sh # arch-tag: dbfe44f6-0d80-40c4-948a-bac05a804bf5
export MAIL=/home/johannes/Maildir export MAILBOX_CHECK_INTERVAL=60 exec /usr/lib/dovecot/imap
Hi.
IIRC you should exec dovecot as a whole, to use it properly. Also edit your dovecot.conf to only serve imap.
christian
On Thu, 2004-11-25 at 21:07, valo@valo.at wrote:
IIRC you should exec dovecot as a whole, to use it properly. Also edit your dovecot.conf to only serve imap.
No. I don't want to exec dovecot as a whole as that would force me to log in again, exactly what I want to avoid. And in this case, the listen directives in dovecot.conf don't matter _at all_ (in fact, you can make it so dovecot doesn't run at all).
I do think that I don't even need a dovecot.conf, but I'm not too sure about that. Timo?
johannes
On 26.11.2004, at 11:50, Johannes Berg wrote:
No. I don't want to exec dovecot as a whole as that would force me to log in again, exactly what I want to avoid. And in this case, the listen directives in dovecot.conf don't matter _at all_ (in fact, you can make it so dovecot doesn't run at all).
I do think that I don't even need a dovecot.conf, but I'm not too sure about that. Timo?
dovecot.conf is only read by dovecot binary, so it's not used if you run imap binary directly. But instead of doing that, you could run:
dovecot --exec-mail imap
which reads dovecot.conf and executes imap binary. Mostly useful just so that you don't have to try to figure out what environment variables to use for what settings.
Timo Sirainen said:
dovecot.conf is only read by dovecot binary, so it's not used if you run imap binary directly. But instead of doing that, you could run:
dovecot --exec-mail imap
which reads dovecot.conf and executes imap binary. Mostly useful just so that you don't have to try to figure out what environment variables to use for what settings.
Nice to know, thanks!
johannes
participants (3)
-
Johannes Berg
-
Timo Sirainen
-
valo@valo.at