[Dovecot] Autocreate plugin for some domains

Jose Luis Marin Perez jolumape_al at hotmail.com
Mon Oct 12 23:48:43 EEST 2009


Dear Sirs,

 I use as userdb,  the following:

  userdb:
    driver: prefetch
    args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u

Dovecot -n

# 1.1.16: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.9-67.0.15.plus.c4smp i686 CentOS release 4.6 (Final)
log_path: /var/log/dovecot.log
listen: *:10143
ssl_listen: *:10943
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
first_valid_uid: 89
last_valid_uid: 89
first_valid_gid: 89
last_valid_gid: 89
mail_uid: 89
mail_gid: 89
mail_location: maildir:~/Maildir
mail_plugins: quota
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: checkpassword
    args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh
  userdb:
    driver: prefetch
    args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u
plugin:
  quota: maildir
  quota_rule: ?:storage=0
  quota_rule2: Trash:ignore

How could create folders to users in certain domains by autocreate plugin?

Thanks

Jose Luis



> Subject: Re: [Dovecot] Autocreate plugin for some domains
> From: tss at iki.fi
> To: jolumape_al at hotmail.com
> CC: dovecot at dovecot.org
> Date: Mon, 12 Oct 2009 16:03:18 -0400
> 
> On Mon, 2009-10-12 at 14:59 -0500, Jose Luis Marin Perez wrote:
> 
> > In my mail server are hosted multiple domains, I
> > need to create folders automatically only to users of certain domains, it is feasible to
> > use the plugin "Autocreate" only for certain domains? 
> 
> What do you use as userdb? From userdb you can add/override any
> settings.
> 
 		 	   		  
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE


More information about the dovecot mailing list