Package: dovecot-imapd
Version: 1:2.2.13-11
Severity: important
Dear Maintainer,
I've had three attempts at installing dovecot on a fresh jessie install. Played
with various configurations to try to connect with/without ssl. The 1st
appended confile is before altering the configs.
-- Package-specific info:
INITIAL dovecot configuration
---------------------
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-686-pae i686 Debian 8.0
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = " imap"
ssl = no
userdb {
driver = passwd
}
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dovecot-imapd depends on:
ii dovecot-core 1:2.2.13-11
ii libbz2-1.0 1.0.6-7+b3
ii libc6 2.19-18
ii liblzma5 5.1.1alpha+20120614-2+b3
ii ucf 3.0030
ii zlib1g 1:1.2.8.dfsg-2+b1
dovecot-imapd recommends no packages.
dovecot-imapd suggests no packages.
Versions of packages dovecot-imapd is related to:
ii dovecot-core [dovecot-common] 1:2.2.13-11
pn dovecot-dbg <none>
pn dovecot-dev <none>
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.2.13-11
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-managesieved <none>
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
pn dovecot-sieve <none>
pn dovecot-sqlite <none>
-- no debconf information
Added 'login' in 10-auth.conf
auth_mechanisms = plain login
Change mail_location in 10-mail.conf
mail_location = maildir:~/Maildir
Restart dovecot: refused connection from client on the network
In 10-ssl.conf
ssl = yes
and uncommented:
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
Restart dovecot: refused connection from client on the network
No dovecot.pem in either location referred to in 10-ssl.conf
Ran /usr/share/dovecot/mkcert.sh which gave:
3074340540:error:02001002:system library:fopen:No such file or
directory:bss_file.c:169:fopen('dovecot-openssl.cnf','rb')
3074340540:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:
3074340540:error:0E078072:configuration file routines:DEF_LOAD:no such
file:conf_def.c:197:
Here's the output from doveconf -n after the configuration changes:
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-686-pae i686 Debian 8.0
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
protocols = " imap"
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
I've installed and upgraded dovecot a number of times over the last few years
and I've never had to alter the conf files beyond adding:
protocols = imap imaps
Other than that it worked straight out of the box. I can't help feeling I'm
missing something obvious but ...
Regards
Clive
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]