[Dovecot] Using a BSDI 4.X system for Dovecot

The Doctor
Tue, 17 Aug 2010 06:51:26 -0000

It might be old but still worked.


I am using Dovecot 1.2.11 hoping to replace QualComm Eudora and
Cyrus IMAP.

dovecot -n yields

base_dir: /var/run/dovecot/
protocols: imap imaps pop3 pop3s
ssl_listen: 204.209.81.1
ssl_cipher_list: ALL:!LOW:!SSLv2
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/dovecot/libexec/dovecot/imap-login
login_executable(imap): /usr/dovecot/libexec/dovecot/imap-login
login_executable(pop3): /usr/dovecot/libexec/dovecot/pop3-login
mail_max_userip_connections(default): 10
mail_max_userip_connections(imap): 10
mail_max_userip_connections(pop3): 3
first_valid_uid: 100
last_valid_uid: 65535
last_valid_gid: 65535
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u
dbox_rotate_days: 0
mail_executable(default): /usr/dovecot/libexec/dovecot/imap
mail_executable(imap): /usr/dovecot/libexec/dovecot/imap
mail_executable(pop3): /usr/dovecot/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /usr/dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/dovecot/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(pop3):
auth default:
  executable: /usr/contrib/libexec/dovecot/dovecot-auth
  passdb:
    driver: passwd-file
    args: /etc/master.passwd
  userdb:
    driver: passwd
  userdb:
    driver: passwd-file
    args: /etc/passwd

And running SSL here

In my logs I see

Aug 17 00:35:10 doctor dovecot: POP3(user1): Fatal: setregid(100(user),14(mail))
failed with euid=0(root): Operation not permitted
Aug 17 00:35:15 doctor dovecot: IMAP(user2): Fatal: setregid(100(user),14(mail))
failed with euid=0(root): Operation not permitted


Question: What are am I not doing right?

--
Member - Liberal International	This is doctor at nl2k.ab.ca Ici doctor at
nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware AntiChrist
rising!
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
Australia!! Vote to throw the REpublicans to the sharks!