You need to create a user and group for Dovecot to run under. You could
use the vpopmail user, but it is best to be safe and have a unique user
Depending on what you're running, this should be sufficient:
# groupadd -g 202 dovecot
# useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot
Make sure to confirm those IDs are open before running the commands.
Zhan Li wrote:
I have change my conf file and run* devoct* on command line and get the
Error: Login user doesn't exist: dovecot
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
On 3/10/08, *Michael Johnson* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
The info at http://wiki.dovecot.org/AuthDatabase/VPopMail is very much a
good start. The info at http://wiki.dovecot.org/QuestionsAndAnswers is a
bit old, but also helpful.
The Dovecot example config has vpopmail listed (assuming it was compiled
in), so you can use that as well. Just comment the other passdb and
userdb sections and uncomment the vpopmail ones.
I'm actually working on replacing Courier with Dovecot, but ran into an
unrelated issue that needs to be resolved before I can deploy (bug
concerning mtime updates in JFS in older Linux kernel 2.6 versions).
For my config, this is what I'm using (output from dovecot -n):
# 1.0.12: /etc/dovecot.conf
mail_plugins: quota imap_quota
mechanisms: plain login
Zhan Li wrote:
> Hi Quey,
> I searched on internet and mailing list, could not found a sample of
> dovecot file for vpopmail.
> can you please give me a link for a sample conf file?
> On 3/9/08, *Quey* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
> Top posting cause its more appropriate:)
> Dump courier and use dovecot, the archives show the best
> people including myself have posted our configs
> Zhan Li wrote:
> > Dear List,
> > I have installed netqmail 1.06+latest version of
> > vpopmail+couier-authlib+imap.
> > All compile and installation looks good. I have created
> > and email accout by vpopmail command, I have tested to
> to my
> > virtual account , and my virtual accout recieved mail without
> > I just enabled authvchkpw module for authlib, and tested
> > account with authtest utility, and virtual accout is
> > authenticated.
> > The pop3 server login is OK. but when I telnet localhost
> > userid passwd, authentication is faild and the error
> > below:
> > Mar 9 19:58:36 mail authdaemond: stopping authdaemond
> > Mar 9 19:58:51 mail authdaemond: modules="authvchkpw",
> > Mar 9 19:58:51 mail authdaemond: Installing libauthvchkpw
> > Mar 9 19:58:51 mail authdaemond: Installation complete:
> > Mar 9 20:01:10 mail imapd: Connection,
> > <http://127.0.0.1>]
> > Mar 9 20:01:15 mail imapd: authdaemon: s_connect() failed:
> > refused
> > Mar 9 20:01:15 mail imapd: [Hint: perhaps authdaemond is not
> > Mar 9 20:01:15 mail imapd: LOGIN FAILED, user=xxx,
> > ip=[::ffff:127.0.0.1 <http://127.0.0.1> <http://127.0.0.1>
> > Mar 9 20:01:15 mail imapd: authentication error:
> > I am sure the authdaemond is started.
> > Any suggestion?
> > Thanks