[Dovecot] dovecot creating unknown users

Yann Shukor yann.shukor at azurtem.net
Sun Jun 16 10:09:35 EEST 2013


Hi

We recently installed a dovecot postfix roundcube debian
wheezy serverIt is now in production and we are feeling
our way as we progressivelyadd new users to this local
server.

I noticed that dovecot is creating user directory structures
for unknown users withinour domain in /var/vmail, even
though we have setup a static users.conf db file.

I tried omiting the "allow_all_users=yes" parameter but
that doesn't seem to be linked to this issue

Sorry if this has been asked a number of times already
Is there an easy way to search the archives of this
mailinglist ?

Thanks

yann

# 2.2.2 (45399357008a): /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.0 ext4
auth_debug = yes
auth_mechanisms = plain login
auth_socket_path = /var/run/dovecot/auth-userdb
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 5000
hostname = holimail.holinice.com
last_valid_gid = 5000
last_valid_uid = 5000
listen = *
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/vmail/%d/%n/Maildir
mail_privileged_group = mail
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
namespace inbox {
   inbox = yes
   location = maildir:/var/vmail/%d/%n/Maildir
   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 =
   subscriptions = yes
}
passdb {
   args = scheme=CRAM-MD5 /etc/dovecot/users.conf
   driver = passwd-file
}
passdb {
   driver = pam
}
plugin {
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = azurtem at holinice.com
protocols = " imap sieve pop3"
service auth-worker {
   user = $default_internal_user
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
   unix_listener auth-userdb {
     group = vmail
     mode = 0600
     user = vmail
   }
}
service imap-login {
   group = dovecot
   inet_listener imap {
     port = 143
   }
   inet_listener imaps {
     port = 993
     ssl = yes
   }
}
service imap {
   process_limit = 1024
}
service pop3-login {
   inet_listener pop3 {
     port = 110
   }
   inet_listener pop3s {
     port = 995
     ssl = yes
   }
}
service pop3 {
   process_limit = 1024
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   args = uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
   driver = static
}
userdb {
   driver = passwd
}
protocol lda {
   mail_plugins = " sieve"
}



More information about the dovecot mailing list