[Dovecot] OS X Server Partition Problems

Bryan Harrison bryan at bryanharrison.com
Tue Jan 11 01:53:53 EET 2011


I'm a nube to Dovecot and this list.  Please be kind.  ;)

I'm running Dovecot 1.1.20 and Postfix 2.5.5 on OS X Server 10.6.6.  

I've moved accounts from another, older cyrus-based server (thank god), and used fetchmail to imap the existing mail to the new server.  At some point, I developed a problem with my partition map being semi-ignored.  Mail is stored in multiple places, and I'm not sure why or entirely clear how it ended up there.  My log is overflowing with entries such as…

Jan 10 15:44:57 gilded-bat dovecot[65]: auth(default): od(john_doe_com): unable to find partition for tag=johndoe: using default mail location: /var/spool/imap/dovecot/mail

…referring to each of my defined partitions.

Here's what I semi-understand.

/etc/dovecot/partition_map.conf.default contains:

default:/var/spool/imap/dovecot/mail

/etc/dovecot/partition_map.conf contains correct entries like

default:/Mail
JohnDoe:/Groups/JohnDoe/Mail
[etc.]

dovecotd -n is below.  It's configuration with regard to mail store locations look ok to me, but then I'm a virgin.

In practice, mail is being stored in three different locations.  They're all full of mail directories and are busy.

/var/spool/imap/dovecot/mail
/Mail
/Groups/JohnDoe/Mail

…with of course the third entry being many entries for each client.  The directories described definitely exist.  Clients started out being able to see old mail that was transferred from the retired server, but no longer do.  I'm not actually clear which of the three mail stores in use are being accessed by whom or for what.  (And let's not even ask why none of this showed up in testing.)

In short, I'm over my head and the villagers are outside with the usual pitchforks and torches.  

Thanks,
Bryan




dovecotd -n

# 1.1.20apple0.5: /private/etc/dovecot/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 356). Either grow the limit or change login_max_processes_count and max_mail_processes settings
# OS: Darwin 10.5.0 x86_64  hfs
base_dir: /var/run/dovecot
syslog_facility: local6
protocols: pop3s imaps pop3 imap
ssl_ca_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.chain.pem
ssl_cert_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.cert.pem
ssl_key_file: /etc/certificates/gilded-bat.laughingboot.net.92CAF9E2B8684ABB0933B96C62F678EC73339F22.key.pem
ssl_cipher_list: ALL:!LOW:!SSLv2:!aNULL:!ADH:!eNULL
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_user: _dovecot
login_process_per_connection: no
max_mail_processes: 100
mail_max_userip_connections(default): 20
mail_max_userip_connections(imap): 20
mail_max_userip_connections(pop3): 10
verbose_proctitle: yes
first_valid_uid: 6
first_valid_gid: 6
mail_access_groups: mail
mail_location: maildir:/Mail/%u
mail_debug: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_process_sharing: full
mail_max_connections: 5
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
lda:
  postmaster_address: postmaster at example.com
  hostname: gilded-bat.laughingboot.net
  mail_plugins: quota
  quota_full_tempfail: yes
  sendmail_path: /usr/sbin/sendmail
  auth_socket_path: /var/run/dovecot/auth-master
  log_path: /var/log/mailaccess.log
  info_log_path: /var/log/mailaccess.log
auth default:
  mechanisms: gssapi login plain apop cram-md5
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: od
  userdb:
    driver: od
    args: partition=/etc/dovecot/partition_map.conf enforce_quotas=yes
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: _dovecot
      group: mail
plugin:
  quota_warning: storage=100%% /usr/libexec/dovecot/quota-exceeded.sh
  quota_warning2: storage=80%% /usr/libexec/dovecot/quota-warning.sh
  quota: maildir:User quota
  sieve: /var/spool/imap/dovecot/sieve-scripts/%u/dovecot.sieve



More information about the dovecot mailing list