Tue, 08 Jan 2008
Passwordless alpine with Dovecot
Do you run a server that people SSH into for email?
Do you like to offer them (al)pine?
Do you use the Dovecot IMAP server?
Do you think your users would like to enjoy IMAP benefits from the comfort of alpine without entering their password?
I do! Here's how: Add this to /etc/pine.conf:
rsh-command=/usr/local/bin/alpine-rimapd %s %s %s %s rsh-path=/bin/sh
And store this in /usr/local/alpine-rimapd:
#!/bin/sh exec /usr/sbin/dovecot --exec-mail imap
chmod +x that sucker and you're off to the races!
One minor error in your write up. You say:
And store this in /usr/local/alpine-rimapd:
Should be
And store this in /usr/local/bin/alpine-rimapd:
Posted by weave at Sat Oct 24 19:31:18 2009
Usage: dovecot [-F] [-c <config file>] [-p] [-n] [-a] [--help] [--version]
[--build-options] [reload] [stop]
Fatal: Unknown argument: --exec-mail
Has something changed?
Pls pls pls pls can someone point me to idiot-proof instructions for how to set up alpine, dovecot to work on a maildir created by offlineimap (from gmail).
Posted by Chris Barrington-Leigh at Tue Nov 15 12:07:29 2011