Re: [Dovecot] ssh tunneling and maildir

2007-07-13 Thread Johannes Berg
On Fri, 2007-07-13 at 14:11 -0700, Joel Becker wrote: > > > Will I need any auth? I don't right > > > now? > > > > No, with --exec-mail imap it gives you a preauth imap session. > > Ok, with "/usr/sbin/dovecot -c /home/jlbec/.dovecotrc --exec-mail > imap" I now have it working successfu

Re: [Dovecot] ssh tunneling and maildir

2007-07-13 Thread Joel Becker
On Thu, Jul 12, 2007 at 11:49:14AM +0200, Johannes Berg wrote: > > /usr/sbin/dovecot -c /home/jlbec/.dovecotrc > > Sounds good. > > > Will I need any auth? I don't right > > now? > > No, with --exec-mail imap it gives you a preauth imap session. Ok, with "/usr/sbin/dovecot -c /home/j

Re: [Dovecot] ssh tunneling and maildir

2007-07-12 Thread Johannes Berg
On Wed, 2007-07-11 at 08:57 -0700, Joel Becker wrote: > Ok. How do I configure it if I cannot modify /etc? Ah, good question. > /usr/sbin/dovecot -c /home/jlbec/.dovecotrc Sounds good. > . I also assume I need -F to > run it as a foreground process? No, with --exec-mail imap it automa

Re: [Dovecot] ssh tunneling and maildir

2007-07-11 Thread Joel Becker
On Wed, Jul 11, 2007 at 11:58:10AM +0200, Johannes Berg wrote: > On Tue, 2007-07-10 at 23:31 -0700, Joel Becker wrote: > > > However, this doesn't appear to be documented anywhere. A > > friend showed it to me, and I don't even remember who that was. > > :) > > You should really just config

Re: [Dovecot] ssh tunneling and maildir

2007-07-11 Thread Johannes Berg
On Tue, 2007-07-10 at 23:31 -0700, Joel Becker wrote: > However, this doesn't appear to be documented anywhere. A > friend showed it to me, and I don't even remember who that was. :) You should really just configure dovecot as though you wanted to run the daemon and then run /usr/sbin/d

[Dovecot] ssh tunneling and maildir

2007-07-10 Thread Joel Becker
Hello everyone, please keep my CC'd, I'm not on the list. I've been using dovecot happily via an ssh tunnel. My mutt is configured to use IMAP, and the tunnel is as follows in my muttrc: set tunnel="ssh -q mymailhost 'MBOX_LOCKS=fcntl MAIL=/home/jlbec/mail /usr/libexec/dovecot/imap'"