[Dovecot] No Spaces in Directory names

Matt Rude lists at mattrude.com
Mon Jan 26 05:49:40 EET 2009


How can I make it so my users can not create folders with spaces in
them? Or allow them to create such folders but rewrite them on the
hardrive with a "_" or some other symbol. I have looked threw the wiki
but couldn't find anything about folder name restrictions or folder name
rewriting (rewrite the space to a "_").

Im having problems with some of the expire and compress scripts when it
hits these types of folders.

Is dovecot able to restrict or rewrite the names of imap folders?

dovecot -n
# 1.1.9: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.27.9-159.fc10.i686 i686 Fedora release 10 (Cambridge) ext3
listen: *:143
ssl_listen: *:993
ssl_cert_file: /etc/postfix/SSL/mail.mattrude.com.cert
ssl_key_file: /etc/postfix/SSL/mail.mattrude.com.key
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
login_user: postfix
mail_location:
maildir:/var/spool/virtualmailboxes/%d/%u/imap/:INBOX=/var/spool/virtualmailboxes/%d/%u/
mail_plugins: quota imap_quota zlib
auth default:
  mechanisms: plain login cram-md5
  cache_size: 128
  cache_ttl: 600
  master_user_separator: *
  passdb:
    driver: sql
    args: /etc/dovecot-mysql.conf
  passdb:
    driver: sql
    args: /etc/dovecot-sql-master.conf
    pass: yes
    master: yes
  userdb:
    driver: sql
    args: /etc/dovecot-mysql.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: virtualmail
      group: virtualmail
plugin:
  sieve: /var/spool/virtualmailboxes/%d/%u/dovecot.sieve
  sieve_storage: = /var/spool/virtualmailboxes/%d/%u/
  quota: maildir
  quota_rule: *:storage=10M
  quota_rule2: Trash:storage=20%


Thanks
-Matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090125/3d3eea84/attachment-0001.bin 


More information about the dovecot mailing list