[Dovecot] Logging in to a virtual users Maildir
Trying to set up a mailserver to run exim4, dovecot2, (clamav procmail or similar not yet installed) on a virtual machine & access it from various hosts mostly using Mutt. So far no attempt at encryption although there are some pem files from a previous attempt & some evidence from the mutt debug file they may be being used .
So far I have attempted to set up dovecot to by accessed by MUAs only & tried to access it from Mutt on on the mailserver virtual machine & on another on locally networked machine (no networking problems).
When I open a local mutt I get the following:-
- could not connect to vmail-s (connection refused) (vmail-s is the mailserver host)
- mutt then opens, with a blank message screen
- from mutt I then put C (open mailbox ? for list) & ?.
- I then get a file list for the mailbox including all dovecot files but no mailbox files except cur. new, & tmp
- if enter on ../ I get (presumably) /home/vmail/users/steve/ showing Maildir as the 2nd line
- select Maildir gives me my inbox but continuing the process does not give me acces to any other folders.
The files in my mailbox are from my previous version of Dovecot (V1*) but I have previously tried to start anew set of mailboxes with similar results.
I enclose below:- my Dovecot.conf file My muttrc file a .muttdebug0 file Dovecot log files show nothing but Dovecot stop/start lines.
Any pointers please?
Steve
/etc/dovecot/dovecot.conf
# based on Dovecot.org/HowTo/SimpleVirtualInstall # Dovecot version 2 # ASD 131028
protocols = imap
# separate dovecot logging log_path = /var/log/dovecot.log # info_log_path = /var/log/dovecot-info.log info_log_path = /var/log/dovecot.log mail_debug=yes
# disable ssl for now ssl = no disable_plaintext_auth = no
# Maildir boxes mail_location = maildir:~/home/vmail/%u/Maildir
# if your using pop3, you'll need this # pop3_uidl_format = %g
# authentication configuration
auth_verbose=yes auth_debug=yes auth_mechanisms=plain auth_debug_passwords=yes
passdb { driver = passwd-file args = /etc/dovecot/passwd }
userdb { driver = static args = uid=vmail gid=vmail home=/home/vmail/%u/Maildir }
~/.mutt.muttrc
# muttrc file started 131029
set mbox_type="Maildir" set spoolfile=imaps://steve@vmail-s/ set folder="/home/vmail/users/steve" unset mark_old set postponed="/home/vmail/users/steve/drafts/" set postpone=ask-yes set imap_check_subscribed set abort_nosubject=yes set include=yes set editor="emacsclient %s" set alias_file="/home/steve/.mutt/mutt-aliases
.muttdebug0
[2013-10-31 14:35:23] Mutt/1.5.21 (2010-09-15) debugging at level 2
[2013-10-31 14:35:23] Reading configuration file '/etc/Muttrc'.
[2013-10-31 14:35:23] Reading configuration file
'/usr/lib/mutt/source-muttrc.d|'.
[2013-10-31 14:35:23] Reading configuration file
'/etc/Muttrc.d/charset.rc'.
[2013-10-31 14:35:23] Reading configuration file
'/etc/Muttrc.d/colors.rc'.
[2013-10-31 14:35:23] Reading configuration file
'/etc/Muttrc.d/compressed-folders.rc'.
[2013-10-31 14:35:23] Reading configuration file
'/etc/Muttrc.d/gpg.rc'.
[2013-10-31 14:35:23] Reading configuration file
'/etc/Muttrc.d/smime.rc'.
[2013-10-31 14:35:23] Reading configuration file
'/home/steve/.mutt/muttrc'.
[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
[2013-10-31 14:35:55] Reading /home/vmail/users/steve/Maildir...
[2013-10-31 14:35:55] Scanning /home/vmail/users/steve/Maildir... 0
[2013-10-31 14:35:55] Reading /home/vmail/users/steve/Maildir... 0
[2013-10-31 14:35:55] Scanning /home/vmail/users/steve/Maildir... 0
[2013-10-31 14:35:55] ../mh.c:728: queueing
1382383788.2292_0.mail-s:2,Sa
[2013-10-31 14:35:55] ../mh.c:728: queueing
1381593772.6226_1.mail-s:2,S
[2013-10-31 14:35:55] ../mh.c:728: queueing
1382022143.2719_1.mail-s:2,S
[2013-10-31 14:35:55] Reading /home/vmail/users/steve/Maildir... 0/54
(0%)
[2013-10-31 14:35:55] Reading /home/vmail/users/steve/Maildir... 0/54
(0%)
[2013-10-31 14:35:55] parse_parameters:
boundary="==Multipart_Boundary_xc75j85x"' [2013-10-31 14:35:55] parse_parameter:
boundary' =
==Multipart_Boundary_xc75j85x' [2013-10-31 14:35:55] parse_parameters:
charset="us-ascii"'
[2013-10-31 14:35:55] ../mh.c:773 maildir_add_to_context(): Considering
[2013-10-31 14:35:55] ../mh.c:782 Adding header structure. Flags: OR
[2013-10-31 14:35:55] ../mh.c:773 maildir_add_to_context(): Considering
[2013-10-31 14:35:55] Sorting mailbox...
(I have cut most of the repeated lines for each email out of this file)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Steve Downes wrote:
# disable ssl for now ssl = no disable_plaintext_auth = no
set spoolfile=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).
You have setup mutt to connect to vmail-s, but in your server you have disbled ssl. Does Dovecot listen on 993 at all? You get Connection refused.
Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEVAwUBUnPePV3r2wJMiz2NAQLLdggAmymcKwIJgCELX9iRKW9Isjdt7AI7VhTz uTd5iQYmWRutX0h0dQBv5GMSym2mSgc/liCdOGRRR7tr2D2p7UjIoi1FNDnTOx1p NSUXoTuM3c21+2FAv8Zdi+l9KtLUGZSWFbV2ToOAfBrRQ88nkcG1Eu5yCv4B+mis eDPqDE4uvRty2xGzbqks7Tt2TTHbU2eJbxs1WgObpONQmM3i0Oaypv8LojykP4yI tph8dPW4p6dqC3vRiKI3/aIQjY9XF2/F2w8fhZZfSFD0CepboWFWwAeRCQLZclP2 ZxOYm0ykiiw2rV0GUvhlCEodKb2T9P+7z79uPV6QEAnjK0Yg1rcG+A== =ik34 -----END PGP SIGNATURE-----
participants (2)
-
Steffen
-
Steve Downes