[Dovecot] Virtual mailbox plugin, 4 days of struggling

Brandon Lamb brandonlamb at gmail.com
Tue Apr 28 03:24:03 EEST 2009


Hello,

I finally got an INBOX to work, but is virtual mailbox plugin only
meant to create a virtual inbox, or should I be able to have an
Allmails virtual folder that is viewable in my imap client? if
~/virtual/ is my location, would I create an Allmails directory in the
virtual/ or virtual/INBOX/Allmails. Im fairly confused on how this is
suppose to work. I was trying to duplicate the gmail-like setup on the
wiki but I cant get it work.

Per the wiki, i put in the userdb inbox select, but made swapped pop3 for imap

zeus:/etc/dovecot# dovecot -n
# 1.2.rc3: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-1-amd64 x86_64 Debian squeeze/sid
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 lda
listen: 208.200.251.181
ssl: no
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting: Hello there.
login_log_format_elements: <%u> <%r>
login_log_format: %s
login_process_per_connection: no
login_process_size: 128
login_processes_count: 4
login_max_processes_count: 20
login_max_connections: 128
mail_max_userip_connections(default): 15
mail_max_userip_connections(imap): 15
mail_max_userip_connections(pop3): 1
verbose_proctitle: yes
first_valid_uid: 8
last_valid_uid: 8
first_valid_gid: 8
last_valid_gid: 8
mail_access_groups: mail
mail_privileged_group: mail
mail_uid: 8
mail_gid: 8
mail_location: maildir:~/:INDEX=dovecot-index
mailbox_idle_check_interval: 60
mail_debug: yes
fsync_disable: yes
mailbox_list_index_disable: no
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota virtual autocreate
mail_plugins(imap): quota imap_quota virtual autocreate
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_log_prefix: %Ls <%u>:
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(pop3): retr=%r/%b, del=%d/%m, size=%s
namespace:
  type: private
  separator: /
  hidden: yes
  list: yes
  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: virtual/
  location: virtual:~/virtual:INDEX=~/dovecot-index
  list: yes
  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: RealMails/
  hidden: yes
  list: no
  subscriptions: yes
auth default:
  mechanisms: plain login
  default_realm: pacwebdev.com
  cache_ttl: 60
  debug: yes
  worker_max_count: 60
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: prefetch
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 438
      user: mail
      group: mail
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
      user: mail
      group: mail
plugin:
  quota: maildir
  quota_rule: Trash:ignore
  quota_rule2: Sent:ignore
  quota_rule3: Spam:ignore
  quota_rule4: Archive:ignore
  quota_rule5: Sent Items:ignore
  quota_rule6: Deleted Items:ignore
  quota_warning: storage=95%% /etc/dovecot/quota-warning.sh 95
  quota_warning2: storage=80%% /etc/dovecot/quota-warning.sh 80
  autocreate: Trash
  autocreate2: Spam
  autosubscribe: Trash
  autosubscribe2: Spam
  auth_socket_path: /var/run/dovecot/auth-master


More information about the dovecot mailing list