[Dovecot] Logging in to a virtual users Maildir

Steve Downes steve at kingswayelec.co.uk
Thu Oct 31 16:42:52 EET 2013


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:-
1) could not connect to vmail-s  (connection refused) (vmail-s is the 
mailserver host)
2) mutt then opens, with a blank message screen
3) from mutt I then put C (open mailbox ? for list) & ?.
4) I then get a file list for the mailbox including all dovecot files 
but no mailbox files except cur. new, & tmp
5) if enter on ../ I get (presumably) /home/vmail/users/steve/ showing 
Maildir as the 2nd line
6) 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)


More information about the dovecot mailing list