Displaying 20 results from an estimated 26 matches for "userdb_us".
Did you mean:
userdb_u
2009 Feb 12
2
Mapping usernames
...39;ve got so far:
In /etc/dovecot.conf:
...
auth default {
userdb passwd-file {
args = /etc/dovecot.passwd
}
passdb passwd-file {
args = /etc/shadow
#args = /etc/dovecot.passwd
}
}
/etc/dovecot.passwd contains:
realnamea_abc:{PLAIN-MD5}$1$Vjkfhaa....::::::userdb_user=abc at 123.com
I've been fiddling around blindly with all kinds of settings in userdb {} above, but I always get the error:
"passwd-file(abc at 123.com,::ffff:127.0.0.1): unknown user", amongst others.
In a nutshell, I want to allow a user to login with abc at 123.com, this name m...
2018 Sep 27
2
Custom variable
El 27/09/18 a las 12:04, Aki Tuomi escribi?:
>
> You can. In passdb, return userdb_your_own_variable=value, in userdb you
> can omit the userdb_ prefix, except if you are using passwd-file.
>
I'm trying this. In the ldap configuration, I have:
pass_attrs =
=userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_uuid=%{ldap:entryUUID}
user_attrs =
=user=%{ldap:mail},=quota_rule=%{ldap:quota:*:storage=10G},=uuid=%{ldap:entryUUID}
and in my dovecot config I get:
mail_home =/mail/mailboxes/%L{uuid}
but when I get user fields I have:...
2010 Aug 30
1
Passdb filter question - LDAP.
...Name is the attribute present under "ou=services"
and "ou=people" that links the entries.
I tried to do it by changing passdb filter file, like this:
pass_filter = (&(objectclass=eduPerson)(mail=%u))
pass_attrs = userPassword=userdb_password,eduPersonPrincipalName=userdb_user
It works, but changes the username to the value of
"edupersonprincipalname", and this changes the mailbox name. Dovecot
accesses the wrong mailbox then (something like
29859085900 at example.org).
* My question is: is it possible to change the passdb filter, so it
searches for so...
2008 Mar 10
3
Maildirsize automatically (re)build
...uota/Maildir
"If you configure quota limits in Dovecot (e.g.
quota=maildir:storage=102400(kilobytes)), Dovecot makes sure that this
header is kept up to date. If the file does not exist, it's simply
rebuilt."
This is my query:
password_query = SELECT username as user,
username as userdb_user, passwd as password,
1001 as userdb_uid, 1001 as userdb_gid,
concat('maildir:storage=', quota, 'M:ignore=Spam\ e\-mail') AS
userdb_quotarule,
'Trash:storage=20M' as userdb_quota_rule2
FROM mailboxen
WHERE username = '%n'
Also in the main config I use:
mail_p...
2017 Sep 11
2
Is it possible to disable pipelining in imapc?
...'',
'nopassword': '',
'host':'imap_backend',
'port':1430,
'driver':'imap',
'proxy_nopipelining':'y',
'userdb_user':qdata['Auth-User'],
'userdb_imapc_user':qdata['Auth-User'],
'userdb_imapc_password':qdata['Auth-Pass'],
'destuser':qdata['Auth-User'],
}
(and this is where I t...
2018 Sep 27
2
Username aliases
On Wed, Sep 26, 2018 at 09:34:07AM +0300, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> # before current passbd
> passdb {
> ? driver = passwd-file
> ? args = username_format=%Lu /etc/dovecot/aliases
> }
>
> # into /etc/dovecot/aliases
> alias at user:::::::user=real_username noauthenticate
>
> This hopefully works.
This seems to work fine and I had the
2011 Aug 05
1
DoveCot LDA prefetch fails with LDA, works with POP client
...what I have in dovecot-ldap.conf. I have tried different things in
"user_attrs", DoveCot keeps complaining the same thing.
user_attrs = username=user
user_filter =
(&(objectClass=DirectUser)(username=%u)(roles=*ROLE_EDGE_EMAIL*))
pass_attrs =
username=user,password=password,username=userdb_user,usermaildirectory=u
serdb_mail,userhomedirectory=userdb_home,825=userdb_uid,825=userdb_gid
pass_filter =
(&(objectClass=DirectUser)(username=%u)(roles=*ROLE_EDGE_EMAIL*))
The documentation says LDA does not use prefetch, but the log seems to
indicate otherwise. I clearly see the "serv...
2017 Sep 11
0
Is it possible to disable pipelining in imapc?
...'nopassword': '',
> 'host':'imap_backend',
> 'port':1430,
> 'driver':'imap',
> 'proxy_nopipelining':'y',
> 'userdb_user':qdata['Auth-User'],
> 'userdb_imapc_user':qdata['Auth-User'],
> 'userdb_imapc_password':qdata['Auth-Pass'],
> 'destuser':qdata['Auth-User'],
> }
>
&g...
2018 Sep 27
3
Custom variable
Hi,
I know that there are some variables (as user or username) I could use
inside dovecot. They are at https://wiki2.dovecot.org/Variables.
My question is if I can create my own variables from attributes at my
pass/user db and then use it inside dovecot configuration.
--
Angel L. Mateo Mart?nez
Secci?n de Telem?tica
?rea de Tecnolog?as de la Informaci?n
y las Comunicaciones Aplicadas
2012 Oct 31
1
backtrace for non-existant %{ldap:attr} on login
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm fetching the user and auth data from LDAP, this is the string:
pass_attrs =
uid=user,userPassword=password,homeDirectory=userdb_home,mailUidNumber=userdb_uid,mailGidNumber=userdb_gid,mailLocationDovecot=userdb_mail,uid=userdb_user,=userdb_quota_rule=*:bytes=%{ldap:mailQuotaBytes},
=userdb_quota_rule2=Trash:bytes=+%{ldap:mailQuotaBytesTrash}
If mailQuotaBytesTrash or mailQuotaBytes is not present, the LOGIN process
does not work:
1 login user pwd
1 NO [UNAVAILABLE] Temporary authentication failure. [mailsrv2:2012-10-31...
2008 Jan 05
1
help using sendmail LDA
I am stuck. I get nothing in the logs (about deliver). Sendmail
complains about "User unknown".
I am not sure I have my sendmail.mc configured right, can someone
confirm or give me some sample config files that make use of
Dovecot+LDAP and sendmail LDA?
Dovecot is running as root.
I am a little confused, so the auth-master is not even needed? (the
whole socket listen {}, since I am
2018 Oct 02
1
Bug in conditionals to assign values to variables?
>
> I can't seem to be able to reproduce this, not even with v2.2.33. It simply works without logging any errors.
>
I've made a lot of changes now. I can't neither reproduce it anymore :-(.
If I could, I'll send the complete configuration.
--
Angel L. Mateo Mart?nez
Secci?n de Telem?tica
?rea de Tecnolog?as de la Informaci?n
y las Comunicaciones Aplicadas (ATICA)
2007 Mar 07
1
Wish to improve logging
...dvtest,10.20.10.63):
bind search: base=dc=fh-bonn-rhein-sieg,dc=de
filter=(&(objectClass=fhMailAlias)(uid=dvtest))
dovecot: Mar 07 09:34:03 Info: auth(default): ldap(dvtest,10.20.10.63):
result: uidNumber(userdb_uid)=1012 gidNumber(userdb_gid)=102
homeDirectory(userdb_home)=/home/dvtest uid(userdb_user)=dvtest
mailLocationDovecot(userdb_mail)=maildir:/home/dvtestMAIL/MailDir:INDEX=/var/cache/dovecot/1012/index:CONTROL=/var/cache/dovecot/1012/index/control
dovecot: Mar 07 09:34:03 Info: auth(default): ldap(dvtest,10.20.10.63):
bind: dn=uid=dvtest,ou=staff,dc=fb02,dc=fh-bonn-rhein-sieg,dc=de
do...
2017 Sep 11
2
Is it possible to disable pipelining in imapc?
On 09/11/2017 10:42 AM, Sami Ketola wrote:
>> On 11 Sep 2017, at 11.24, Nagy, Attila <bra at fsn.hu> wrote:
>> I use dovecot with a broken IMAP server (which doesn't properly implement command pipelining amongst others) as an imapc backend.
>> Dovecot issues the above command sequence (SELECT and UID FETCH pipelined), which doesn't work with this server.
>>
2014 Nov 24
2
Possible to adjust username used to determine the proxy destination?
I'm in a fairly standard cluster environment: shared storage, bunch of
servers each acting as both proxies and backends.
We do /bin/checkpassword authentication, allowing a great deal of
flexibility...protection against brute force, billing mechanisms, but
relevant to this issue, I have it set up to allow users to login with
either their username (if they are in one of our default
2018 Sep 28
0
Username aliases
...b sieve
> postmaster_address = postmaster at server-speed.net
> }
> protocol imap {
> imap_client_workarounds = tb-extra-mailbox-sep
> }
>
>
>
>
>
>
Username change should've occured in userdb too, although with
passwd_file you probably need to return it as userdb_user.
Aki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180928/af2d182d/attachment.sig>
2018 Oct 30
0
Problem with cached userdb info
...umPersonalUniqueId}
user_filter =
(&(objectClass=CourierMailAccount)(irisUserStatus=urn:mace:rediris.es:um.es:userstatus:correo:estado:activo)(irisMailhost=popimapclu11.um.es)(|(uid=%{auth_user})(mail=%{auth_user})))
and in /etc/dovecot/dovecot-ldap.conf.ext (passdb) I have:
pass_attrs =
=userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_home_prefix=/mail/mailboxes/%L{domain},=userdb_index_prefix=/mail/indexes/%L{domain},=userdb_relpath=%2L{ldap:umServiceUniqueId}/%L{ldap:umServiceUniqueId},=userdb_uuid=%L{ldap:umPersonalUniqueId},=uuid=%L{ldap:umPersonalUniqueId...
2008 Nov 21
1
userdb, Dovecot LDA not using mail_location config properly?
...ted since it would avoid the use of passdb and userdb, right?)
# auth_bind_userdn = ...
# userdb
user_filter = (&(objectclass=postfixuser)(mail=%u))
user_attrs = uid=user
# passdb
pass_filter = (&(objectclass=inetlocalmailrecipient)(uid=%u))
pass_attrs = uid=user,userPassword=password,uid=userdb_user
--- mail log
host postfix/smtpd[8923]: connect from localhost[127.0.0.1]
host postfix/smtpd[8923]: 5B449EA2C6: client=localhost[127.0.0.1]
host postfix/cleanup[8925]: 5B449EA2C6: message-id=<20081121103114.5B449EA2C6 at host>
host postfix/smtpd[8923]: disconnect from localhost[127.0.0.1]...
2007 Aug 14
3
Log format question...
Trying to do a little (cosmetic) tweak to my configuration and just don't
seem to be able to come up with a set of options that works.
My POP/IMAP configuration is working just fine in terms of mail retrieval,
etc. What I'm seeing in the logs now is...
Aug 13 18:15:17 test2 dovecot: pop3-login: Login: user=<support>,
method=PLAIN, rip=10.11.12.12, lip=10.11.12.13
I would
2006 Aug 15
2
Acl, Namespace, User Confusion
I'm using dovecot RC6.
I have a group named "cmpymail" with 2 users "jdoe at arinbe.com"
and "jsmith at arinbe.com". I set up a mail folders like:
drwxrwx--- 4 cmpymail cmpymail 4096 2006-08-13 02:21 cmpymail
drwxrwx--- 3 jdoe users 4096 2005-11-21 13:34 jdoe
drwxrwx--- 3 jsmith users 4096 2006-08-13 02:27 jsmith
drwxrwx--- 3 fred users