On 17 March 2019 16:38 Rob De Langhe via dovecot <dovecot@dovecot.org> wrote:
hi all,
I have a successful (self-compiled from source code) Dovecot v2.2.16 setup active on my Solaris-10 server, with mails stored in user's $HOME/Maildir
The mails are fetched from the ISP with "fetchmail", using a "cron" job
fetchmail -f $HOME/etc/pop3.myisp
where the file "$HOME/etc/pop3.myisp" contains
set logfile fetchmail.log
poll pop.myisp.be with proto POP3
user myIspmailLogin there with password myIspPwd is rob here nokeep
mda "/programs-3.2/amd64/64/libexec/dovecot/deliver"
Now I want to get it also running on a Debian server, with the same Dovecot version, and exactly the same config files, but here I get the following messages in "/var/log/mail.log" when launching a "fetchmail" attempt :
Mar 17 14:36:20 apps_b dovecot: lda(rob): Debug: Effective uid=1000, gid=1000, home=/home/rob
Mar 17 14:36:20 apps_b dovecot: lda(rob): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Mar 17 14:36:20 apps_b dovecot: lda(rob): Error: User initialization failed: Namespace '': Unknown mail storage driver maildir
Mar 17 14:36:20 apps_b dovecot: lda(rob): Fatal: Invalid user settings. Refer to server log for more information.
So it seems to be complaining about "maildir" storage driver ?!
My config is:
# /programs/3.4/x86_64/64/sbin/dovecot -n -c /usr/local/dovecot/dovecot.conf
# 2.2.16: /usr/local/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.4
disable_plaintext_auth = no
first_valid_gid = 1000
first_valid_uid = 1000
last_valid_gid = 1500
last_valid_uid = 2000
mail_debug = yes
mail_location = maildir:~/Maildir
namespace inbox {
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 {
args = *
driver = pam
}
postmaster_address = rob@mydomain.be
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
--- Aki Tuomi