Dovecot

From DWIKI

Homepage


Docs

Important settings

/proc/sys/fs/inotify/max_user_instances
/proc/sys/fs/inotify/max_user_instances


Dovecot and ldap

Postfix

Using deliver with postfix

http://wiki.dovecot.org/LDA/Postfix

ManageSieve

Squirrelmail has avelsieve

Testing

Show configuration

dovecot -n
deliver

SSL

On FreeBSD

/usr/local/share/dovecot/

http://www.freebsddiary.org/dovecot.php


FAQ

the variables: %u, %h, %n etc

http://wiki2.dovecot.org/Variables

lmtp or lda?

lmtp

quota-warning and selinux

Create file quotawarning.te:

module dovecot-quota-warning 1.0;
require {
       type dovecot_t;
       type dovecot_deliver_exec_t;
       class file { read execute open getattr execute_no_trans };
}
#============= dovecot_t ==============
allow dovecot_t dovecot_deliver_exec_t:file { read execute open getattr execute_no_trans };

Then run:

semodule_package -o quotawarning.pp -m quotawarning.mod
semodule -i quotawarning.pp

 

quota check policy service

https://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/

run in foreground

dovecot -F

dovecot-ltmp: User doesn't exist

After adding user or virtuser, sometimes lmtp doesn't pick it up.

postfix reload

Fatal: Namespace initialization failed

Where's the bugtracker?

http://dovecot.org/list/dovecot/2007-January/018786.html

What's that strange attachment in quota bounces?

http://tools.ietf.org/html/rfc3798

i changed clock and it crashed

http://wiki.dovecot.org/TimeMovedBackwards

user XXX is missing UID (set mail_uid)

System fails to look up UID for user, configure a userdb besides the password db

check LMTP socket

 socat - UNIX:/var/spool/postfix/private/dovecot-lmtp

Error: quota: net_connect_unix(/var/run/dovecot/quota-warning) failed: Permission denied

check/set owner, group and mode in service quota-warning section

SOLR

Error: fts_solr: Lookup failed: 404 Not Found

Notes

getenv/setenv/clearenv

There's been issues on several OSes that didn't agree on env related functions, see lib/env-util.c See http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html putenv etc