Displaying 20 results from an estimated 2000 matches similar to: "Bug with userdb prefetch"
2006 Mar 14
1
Losing messages
Hi,
I have been running dovecot cvs happily for.. well.. very, very long
now. Don't remember when I switched from 0.99, but it was back in the
test-days, long before the alpha's. Anyway, it seems to have been
working very well all the time. But recently three of my clients have
claimed to have lost mail when moving from Thunderbird. I even
experienced it myself once. I'm using
2007 Jan 11
1
Configuring Dovecot for use with Active Directory
Hello,
My server is configured as follows:
FreeBSD 6.1
OpenLDAP 2.3.27
Cyrus SASL 2.1.21
Dovecot 1.0.rc15
I have PostFix configured to use SASL for SMTP AUTH, which in turn leverages OpenLDAP to verify users in Active Directory. I do not have, nor want to in the future, local users in FreeBSD, so I've configured PostFix for Virtual Mailboxes.
Everything is working and I'm getting
2005 Jul 14
1
configuration of user_global_uid and user_global_gid
Hi.
I'm configuring LDAP auth with dovecot (cvs trunk at 14, July) as follows:
/etc/dovecot/dovecot.conf:
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
/etc/dovecot/dovecot-ldap.conf:
user_attrs = mail,homeDirectory,mailbox,,,
user_global_uid = 10000
user_global_gid = 1000
But
2007 Aug 15
0
Dovecot on OpenBSD stalls
Hello list,
I'm using dovecot 1.0.2 on OpenBSD 4.1. About every month, dovecot will just stall, without any error messages. The processes
are still running, the network ports are open, but the login just hangs.
The following error message does occur on a very regular basis:
Aug 15 00:52:37 mail dovecot: auth(default): LDAP: ldap_result() failed: Can't contact LDAP server
Aug 15
2007 Jan 15
1
patch for serdb-ldap which allows set user_global_mail variable
--- dovecot-1.0.rc17/src/auth/db-ldap.~h 2007-01-15
03:23:09.000000000 +0200
+++ dovecot-1.0.rc17/src/auth/db-ldap.h 2006-11-07 18:47:00.000000000
+0200
@@ -38,6 +38,7 @@
const char *default_pass_scheme;
const char *user_global_uid;
const char *user_global_gid;
+ const char *user_global_mail;
/* ... */
int ldap_deref, ldap_scope;
---
2007 Sep 05
2
passdb/userdb args
I'm a bit unclear on these - give me a moment to ramble on. I should
mention I'm using version 1.0.3, my primary backend is LDAP, and I do
NOT want to store user mail folders in my LDAP directory.
I currently have the following:
default_mail_env = maildir:/var/mail/%d/%n
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
# Instructions for deliver state a userdb is still
2005 Oct 27
2
Problems with dual ldap auth
Hi,
I can't seem to figure this out. Is it impossible to use two different
ldap auth? It works if I use one ldap and one pam, but I do need to use
ldap for both. This is from my config:
auth default {
mechanisms = plain
passdb ldap {
args = /etc/dovecot/ldap-virtual.conf
}
passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
userdb ldap {
args =
2007 Sep 25
2
user_global_uid and user_global_gid
Hi to all,
I am using the new beta release 1.1.
I see that parameters user_global_uid and user_global_gid are no more used
in dovecot-ldap.conf. That means that, as I use LDAP as backend I am obliged
to se t these two fileds in LDAP for each user even if they are always
the same, as I use virtual domains.
I see that I can set the in dovecot.conf the parameters mail_uid and
mail_gid, but
2006 Mar 26
2
userdb prefetch not working for passdb sql
Hi all,
I'm using 1.0.beta3 and having problems using userdb prefetch in conjuction with passdb sql. Here are my mail logs when I log to virtual account "testuser at mydomain.com" by doing "telnet localhost 143":
Mar 26 15:15:47 imapserver dovecot: Dovecot v1.0.beta3 starting up
Mar 26 15:15:49 imapserver dovecot: auth-worker(default): mysql: Connected to (null) (mail)
2003 Mar 01
0
patch for src/auth/db-ldap.c
*** src/auth/db-ldap.c.orig Sat Mar 1 00:20:10 2003
--- src/auth/db-ldap.c Sat Mar 1 00:20:31 2003
***************
*** 35,42 ****
DEF(SET_STR, pass_attrs),
DEF(SET_STR, pass_filter),
DEF(SET_STR, default_pass_scheme),
! DEF(SET_STR, user_global_uid),
! DEF(SET_STR, user_global_gid)
};
struct ldap_settings default_ldap_settings = {
--- 35,42 ----
2004 Aug 31
4
dovecot+postifx+ldap
hi,
i'm trying to set a dovecot/pop + postfix couple with ldap authentification.
and i'v got a lots of troubles.
hers's my dovecot.conf
protocols = pop3
login = imap
login = pop3
first_valid_gid = 1000
last_valid_gid = 0
mail_extra_groups = mail
default_mail_env = maildir:/var/mail/%1u/%u/Maildir
mbox_locks = dotlock flock
auth = default
auth_mechanisms = plain
auth_userdb = ldap
2006 Jul 10
2
userdb prefetch problem..
I have a setup that I'm working on migrating to Dovecot for thousands of
users across a few dozen domains.. All users are authed from LDAP.. In
LDAP, each user has a unique uidNumber, and varying gidNumber (for use
in other applications)
As far as mail storage, the entire Maildir structure is owned by
UID/GID: vmail/vmail
So, the uidNumber/gidNumber from LDAP is not needed. global uid/gid is
2006 May 11
1
userdb prefetch not working with dovecot LDA?
Hello,
I've configured MySQL authentication as follows.
-- divecot-sql.conf --
driver = mysql
connect = host=localhost dbname=postfix user=myuser password=mypass
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT CONCAT('/var/vmail/', maildir, 'Maildir') AS home,
'1234' AS uid, '1234'
2020 Aug 24
0
Ldap userdb prefetch not working
I am having some issues with getting the prefetch working.
In /etc/dovecot/dovecot-ldap.conf.ext I am having:
pass_attrs =
uid=user,userPassword=password,host=host,homeDirectory=userdb_home,uidNu
mber=userdb_uid,gidNumber=userdb_gid
If I do an ldap search from this location I am able to get these
properties.
ldapsearch -LLL -W -s sub -D
2007 Mar 01
2
user_global_uid - tricky to set
Hola!
Dovecot should serve virtual mail users. So I've set user_global_uid
and user_global_gid in dovecot_ldap.conf to vmail/vmail. Also I've
commented auth the user_attrs field. Still Dovecot tries to switch to
the uid that is defined in the LDAP entry.
It took me some time to figure out, that the only way to prevent this
is to set
user_attrs = foo=uid,bar=gid
or something like this,
2007 Nov 26
4
dovecot imap hangs
All,
I recently did a fresh install/setup on centos 5 to replace my older
courier-imap and all seemed to go well until today I started to notice
that it simply hangs. I use thunderbird and squirrel mail and after a
while it seems like I"m simply rejected. I'm almost guessing that it has
to do with the session timing out and then dovecot is unwilling or
unable to renew the session. I
2006 Sep 11
1
userdb/autdb via ldaps
Hello,
I'm using a OpenLDAP server to store mail users infos like maildir
location and password. This server is running on a separate machine and
I'd like to protect the connection to it by using SSL/TLS.
The server is configured so that it offers ldaps and it works with other
clients.
But I haven't found how to configure dovecot to use ldaps. Would someone
please direct me to the
2008 Mar 22
1
Quotas from Active Directory LDAP
Hi Guys,
I've been trying to get this to work for 3 days now, but no luck. I
have Dovecot set with an Active Directory back-end. Everything is
working properly but I can't get user specific quotas.I tried with
both 1.0.13 and 1.0-rc7. All users have the same quota which is set in
dovecot.conf
dovecot -n
# 1.0.13: /usr/local/etc/dovecot.conf
Warning: mail_extra_groups setting was often
2007 Oct 25
1
Static home while using LDAP
Hello all,
I've been googling for a workaround for this for nearly a week to no
avail and I hope someone in the list can shed some light on it.
I have downloaded and compiled dovecot 1.0.5 and applied the
quota-warning to it. I have configured everything and it's working
wonderfully, even the lda with the sieve plugin. This is my current
relevant configuration:
userdb static{
args =
2008 Mar 26
1
(userdb/ldap) Set home dovecot variable - How?
Dovecot version dovecot-1.0.rc14-7 (opensuse)
Postfix is using Dovecot LDA.
I'm getting this error message, and I guess it's going to be a problem on my next task, which is to set up sieve scripts.
Is there something wrong/contraditory on my config or I forgot something? I want:
/var/dovecot-tests/: where user's inbox resides
/var/dovecot-tests/home/: home dir (users will not be