Re: [Dovecot] Logging in to a virtual users Maildir
Steve Downes steve@kingswayelec.co.uk writes:
When I open a local mutt I get the following:-
- could not connect to vmail-s (connection refused) (vmail-s is the mailserver host)
Full stop, anything past here and you're debugging noise.
You've configured out SSL/TLS on dovecot ...
/etc/dovecot/dovecot.conf # disable ssl for now ssl = no
... but your Mutt configuration has ...
~/.mutt.muttrc set spoolfile=imaps://steve@vmail-s/
... and your debug logs state ...
[2013-10-31 14:35:23] Reading imaps://steve@vmail-s/... [2013-10-31 14:35:23] Looking up vmail-s... [2013-10-31 14:35:23] Connecting to vmail-s... [2013-10-31 14:35:23] Connection failed. errno: 111... [2013-10-31 14:35:23] Could not connect to vmail-s (Connection refused). [2013-10-31 14:35:25] Connected to vmail-s:993 on fd=-1
You configured dovecot to accept only plain IMAP (on port 143), but your mail reader is configured to connect to an IMAP/SSL service (port 993).
Maybe it will start working if you configure Mutt
set spoolfile=imap://steve@vmail-s/
(Just guessing -- I don't use Mutt.)
Joseph Tam jtam.home@gmail.com
On 2013-11-02 00:38, Joseph Tam wrote:
Steve Downes steve@kingswayelec.co.uk writes:
When I open a local mutt I get the following:- the
- could not connect to vmail-s (connection refused) (vmail-s is
mailserver host)
Full stop, anything past here and you're debugging noise.
You've configured out SSL/TLS on dovecot ...
/etc/dovecot/dovecot.conf # disable ssl for now ssl = no
... but your Mutt configuration has ...
~/.mutt.muttrc set spoolfile=imaps://steve@vmail-s/
... and your debug logs state ...
[2013-10-31 14:35:23] Reading imaps://steve@vmail-s/... [2013-10-31 14:35:23] Looking up vmail-s... [2013-10-31 14:35:23] Connecting to vmail-s... [2013-10-31 14:35:23] Connection failed. errno: 111... [2013-10-31 14:35:23] Could not connect to vmail-s (Connection refused). [2013-10-31 14:35:25] Connected to vmail-s:993 on fd=-1
You configured dovecot to accept only plain IMAP (on port 143), but your mail reader is configured to connect to an IMAP/SSL service (port 993).
Maybe it will start working if you configure Mutt
set spoolfile=imap://steve@vmail-s/
(Just guessing -- I don't use Mutt.)
Joseph Tam jtam.home@gmail.com
Joseph,
Doh!! The hours I have spent looking around the dovecot & mutt config files & not spotted that "imaps". How embarrassing.
However that is not to distract from me thanking you profusely from the bottom of my heart for spotting it. Having corrected it the log files are now giving information & I'm sure I'll have it logging in soon.
Thanks also to Steffan for more or less the same reply.
Steve
participants (2)
-
Joseph Tam
-
Steve Downes