Hello!
I finally got dovecot to work with pine. I will post some instructions how to configure dovecot, Thunderbird and pine later on.
One thing is left: A telnet to port 143 and /usr/sbin/dovecot --exec-mail imap behaves slightly different and a consistent configuration for subscription folders is not possible (looks like it has a different base directory, in the first case ~/ as configured in /etc/dovecot.conf and in the second case ~/Mail (it is not set in the environment))
/usr/sbin/dovecot --exec-mail imap
- PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE LOGIN-REFERRALS] Logged in as userx 1 lsub "" "~/Mail/*" 1 OK Lsub completed.
Mozilla: with or without ssl 3 lsub "" "~/Mail/*"
- LSUB () "/" "~/Mail/Drafts"
- LSUB () "/" "~/Mail/Templates"
- LSUB () "/" "~/Mail/Trash" 3 OK Lsub completed.
Through Port 143: 1 LIST "" % returns list from ~/
Through command /usr/sbin/dovecot --exec-mail imap 1 LIST "" % returns list from ~/Mail
Maybe this comes from this TODO (from file TODO):
- dovecot --exec-mail imap doesn't set MAIL environment?
Can this be fixed easily? Where does ~/Mail come from?
Thank you for the answer.
Ciao, Gerhard
On Sat, 14 Jan 2006, Timo Sirainen wrote:
On Sat, 2006-01-14 at 19:06 +0100, Gerhard Wiesinger wrote:
On Sat, 14 Jan 2006, Timo Sirainen wrote:
On Sat, 2006-01-14 at 13:54 +0100, Gerhard Wiesinger wrote:
But I don't think that locking works well. In pine I get the following error messages: Unexpected changes to folder (try restarting)
Why do you let Pine use the mbox files directly instead of going through IMAP? That'll probably give you faster mailbox opening times as well.
Yes, in theory a good idea. But i don't want to enter a password again when I want to access my mailbox when I'm logged in through ssh.
Is there a secure possibility through imap with pine without entering a password on the local host?
Yes. Pine is able to use "ssh host imap" method to start the imap server. Maybe that's configurable somewhere? So you could replace that with: dovecot --exec-mail imap
If it's not configurable, then make a script to the location it tries to start, and make it execute dovecot.