[Dovecot] Address extensions
Hi guys, I'm trying to set up in-mailbox routing for messages using the + delimiter. The server runs postfix and dovecot 1.2.15. I have re-defined the delivery service in master.cf as -f ${sender} -d ${user}@${nexthop} -n -m INBOX.${extension} (server was formerly courier) but the routing only works when the destination folder has no uppercase characters. Folder1 doesn't deliver correctly while folder2 does. What am I doing wrong? Kurt
[Dovecot] BUG: LDAP extension failed to authenticate if 'base' DN configuration is empty ''
Dear Dovecot developers, We have several context entries and want to authenticate a user against the whole LDAP server. However when setting base = Dovecot LDAP fails with following message: Jul 29 10:50:59 nitik1 dovecot: auth: Error: ldap(he...@staging.member.berbatik.com,127.0.0.1): ldap_search((virtualMail=he...@staging.member.berbatik.com)) failed: Other (e.g., implementation specific) error This limits the search to only one base DN, e.g. base = dc=staging,dc=berbatik,dc=com The ldap client library is able to search entries using an empty base DN, so it should be possible for Dovecot LDAP to do the same. An even more elegant solution will be the ability to specify multiple base DNs, but if Dovecot can search the root DN (empty string) it would be great. Thank you. Hendy - http://www.Soluvas.com/ Soluvas - Making eCommerce Work for You -- View this message in context: http://old.nabble.com/BUG%3A-LDAP-extension-failed-to-authenticate-if-%27base%27-DN-configuration-is-empty-%27%27-tp34226738p34226738.html Sent from the Dovecot mailing list archive at Nabble.com.
Re: [Dovecot] SSL Warnings in Debug Logs
Thank you, Timo. On 07/28/2012 09:57 AM, Timo Sirainen wrote: On 24.7.2012, at 21.27, Asai wrote: Greetings, In doing some debugging of authentication issues, I'm wondering if these SSL warnings are anything to be investigating? Jul 24 11:23:16 triata dovecot: imap-login: Warning: SSL: where=0x10, ret=1: before/accept initialization [192.168.70.101] Jul 24 11:23:16 triata dovecot: imap-login: Warning: SSL: where=0x2001, ret=1: before/accept initialization [192.168.70.101] They should be debug messages, not warnings. Fixed in hg.
[Dovecot] Help needed with configuration giving dict error No such file
Each time a mail message is delivered to a mailbox records like the following appear in /var/log/dovecot.warn: Jul 29 10:02:05 iris dovecot: lmtp(29320, j...@xxx.com): Error: file dict commit: file_dotlock_open(/var/vmail/XXX.com/jax/home/maildir/dovecot-quota) failed: No such file or directory Jul 29 10:02:05 iris dovecot: lmtp(29320, j...@xxx.com): Error: file dict commit: file_dotlock_open(/var/vmail/XXX.com/jax/home/maildir/dovecot-quota) failed: No such file or directory Jul 29 10:02:05 iris dovecot: lmtp(29320, j...@xxx.com): Error: dict quota: Quota update failed, it's now desynced This is with Dovecot 2.1.7 installed by Debian Squeeze binary packages, dovecot-core v 1:2.1.7-2~bpo60+1, and friends. The host is running GNU/Linux 3.2.0-0.bpo.2-amd64 and on a xfs filesystem. Entries in /etc/dovecot/users look like this: j...@xxx.com:{plain}password The output from 'doveconf -n' is in the attachment to this mail message. I'm a beginner without experience with either IMAP servers or clients. Can you give me pointers to see what I'm missing that causes the errors logged as above? The user data base looks like this: userdb { args = uid=5000 gid=5000 home=/var/vmail/%d/%n/home mail=maildir:/var/vmail/%d/%n driver = static } Being a beginner, I wonder if is necessary to manually make home directories for each '/var/vmail/%d/%n/home'? I've tried test accounts with and without empty home directories at the indicated locations without seeing any difference in the error indications. Is it necessary to manually populate the home directories? Besides having no clue about the errors logged, I don't understand what it takes to make quotas work nor do I understand what options are available or advisable. The distribution wiki/QuotaMaildir.txt seems clear that the Maildif+++ backend is indicated but beyond that I remain in the dark. FWIW, I've yet to try a real IMAP client. Thank you for any pointers you can give me. $ doveconf -n # IP address redacted below # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-0.bpo.2-amd64 x86_64 Debian 6.0.5 xfs auth_debug = yes auth_verbose = yes disable_plaintext_auth = no lmtp_save_to_detail_mailbox = yes mail_debug = yes mail_gid = 5000 mail_location = maildir:/var/vmail/%d/%n mail_plugins = acl quota mail_privileged_group = vmail mail_uid = 5000 namespace inbox { inbox = yes location = prefix = } passdb { args = scheme=plain username_format=%u /etc/dovecot/users driver = passwd-file } plugin { acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300 quota = dict:user::file:%h/maildir/dovecot-quota quota_rule = *:storage=1GB quota_rule2 = Trash:storage=+10%% sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /var/vmail/conf.d/%d/sieve } protocols = imap lmtp service auth-worker { user = doveauth } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = doveauth } service dict { unix_listener dict { mode = 0600 user = vmail } } service imap-login { inet_listener imap { address = 999.999.999.999 port = 143 } inet_listener imaps { port = 0 } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } ssl_cert = /etc/ssl/certs/dovecot.pem ssl_key = /etc/ssl/private/dovecot.pem syslog_facility = local7 userdb { args = uid=5000 gid=5000 home=/var/vmail/%d/%n/home mail=maildir:/var/vmail/%d/%n driver = static } verbose_proctitle = yes protocol lmtp { mail_plugins = acl quota sieve } protocol imap { mail_plugins = acl quota imap_acl imap_quota mail_log notify }