Displaying 20 results from an estimated 162 matches for "userdatabase".
2006 Dec 04
1
Enabling different quota limits for different users for /etc/passwd as userdatabase on FC3
hey friends,
I am running my company's mail server on FC3 which comprises of
Postfix + Dovecot + MailScanner + Clamav + Squirrelmail + MailWatch +
Spamassassin. I am using Dovecot 0.99.13-3 version on FC3 and I want
to implement Quota limits for the users.
I am using userdatabase as /etc/passwd file (auth_userdb = passwd )
and password database as pam(auth_passdb = pam) for dovecot. I read
the documentation of dovecot but the quota example for /etc/passwd is
missing. I want to have different quota limits for different users
for example Quota limitation will depend upon the...
2007 Mar 30
3
prefetch + static + deliver
Hi all...
The prefetch entry in the wiki says:
"If you're using Dovecot's local delivery agent, you'll still need a
valid userdb which it can use to locate the users. You can do this by
adding a normal sql/ldap userdb after userdb prefetch."
(http://wiki.dovecot.org/UserDatabase/Prefetch)
My question is:
Does it need to be a SQL/LDAP userdb? How about static or passwd?
Thanks in advance :)
2019 Jan 29
2
"unknown user - trying the next userdb" Info in log
...ath for SQL configuration file, see example-config/dovecot-sql.conf.ext
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
}
# "prefetch" user database means that the passdb already provided the
# needed information and there's no need to do a separate userdb lookup.
# <doc/wiki/UserDatabase.Prefetch.txt>
userdb {
driver = prefetch
}
userdb {
driver = sql
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
}
# If you don't have any user-specific settings, you can avoid the user_query
# by using userdb static instead of userdb sql, for example:
# <doc/wiki/UserDatabase....
2014 May 20
3
Setting mail location in SQL?
Trying to figure out the syntax to set a mail_location for SQL. This
doesn't work:
userdb {
driver = sql
args = /etc/dovecot/master-combined-sql.conf
override_fields =
mail_location=maildir:/fakedir/%d/%n:INBOX=/fakedir:LAYOUT=fs
}
Does anyone know the proper syntax?
Thanks in advance
2007 Nov 26
2
Some dovecot conf parameters
Hello all!
First of all - sorry for my english. :-)
Im working now on migration from cyrus to dovecot(v1.07). Everything
work`s fine for now, but some parameters at dovecot conf a mystical for
me. :-)
dovecot-ldap.conf:
user_attrs = mail
#,homeDirectory,,,,
user_filter = (&(objectClass=qmailUser)(mail=%u))
pass_attrs = mail,userPassword=password
pass_filter =
2017 Jan 17
2
Dynamic autoexpunge for IMAP folders
...om> 2017.01.17 12:04:
>
> > userdb {
> > driver = static
> > args = namespace/inbox/mailbox/Bla/autoexpunge=6h
> > }
>
> I'm almost sure that 'driver = static' contradicts the concept of userdb
> overrides:
>
> http://wiki.dovecot.org/UserDatabase/ExtraFields
>
> If you can't go with 'passwd-file' style settings, you may able to achieve
> this globaly with:
>
> protocol imap {
> namespace inbox {
> location =
> mailbox Blah {
> autoexpunge = 6h
> }
> prefix =
> }
>...
2017 Mar 11
3
Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]
...quot;
>>>> containing the needed mailbox definitions in the userdb lookup for
>>>> such users? If so, how would the userdb lookup result be formatted?
>>>> Presumably as
>>>
>>> Yes, see here:
>>>
>>> http://wiki2.dovecot.org/UserDatabase/ExtraFields
>>>
>>> Each setting ist one "Extra Field"
>>>
>>>> just one long string, but how would the setting be named given there
>>
>>>> can't be a space in it? Can I replace the space with an underscore,
>>>>...
2017 Mar 11
2
Auto create & subscribe folder from Userdb [Was: Users with extra mailbox: namespace/mailbox in userdb lookup?]
...rn an override for the default "namespace inbox"
>> containing the needed mailbox definitions in the userdb lookup for
>> such users? If so, how would the userdb lookup result be formatted?
>> Presumably as
>
> Yes, see here:
>
> http://wiki2.dovecot.org/UserDatabase/ExtraFields
>
> Each setting ist one "Extra Field"
>
>> just one long string, but how would the setting be named given there
>> can't be a space in it? Can I replace the space with an underscore,
>> e.g.
>>
>> userdb_namespace_inbox = '{...
2014 Jun 03
2
Replication with virtual users and static userdb possible ?
...sername_format=%u /var/mail/%d/PASSWD
}
userdb {
driver
= static
args = uid=vmail gid=vmail home=/var/mail/%d/%n
}
I know the
wiki http://wiki2.dovecot.org/Replication states that user listing must
be enabled, but that's not available for a static userdb. The wiki
http://wiki2.dovecot.org/UserDatabase/Static also says that it shouldn't
be a problem because it will use do a passdb lookup instead (except for
PAM which isn't used here).
Unfortunately, it's not working. I've
testing with ssh :
dsync_remote_cmd = ssh -l vmail %{host} doveadm
dsync-server -u%u -l%{lock_timeout} -n%...
2014 Dec 07
1
userdb lookup not possible with only userdb prefetch
Am 07.12.2014 um 00:56 schrieb Alexander Dalloz:
> You did fulfill the requzirements for prefetch to work documented in the
> wiki?
>
> http://wiki2.dovecot.org/UserDatabase/Prefetch
Ehm, this is my SQL configuration 'dovecot-sql.conf.ext':
> driver = mysql
> connect = host=**** user=**** password=**** dbname=****
> default_pass_scheme = PLAIN
> password_query = \
> SELECT \
> local AS username, domain, clearpass AS password, \
>...
2014 Dec 06
3
userdb lookup not possible with only userdb prefetch
Hello,
I am setting up a new server and migrating my Dovecot 1.2.9 config to
the new 2.2.9 version. There wasn't much to keep from the old version so
I had to recreate the config from scratch. Now I think I'm done but I
can't login to IMAP. The log says this:
> dovecot: auth: Error: prefetch(box@****.de,2001:****:7765,<bzAOP5QJXwAgAQpgEAXJAZyOMB1qBXdl>): userdb lookup not
2014 May 20
1
Setting mail location in SQL?
...override_fields =
> mail_location=maildir:/fakedir/%d/%n:INBOX=/fakedir:LAYOUT=fs
> }
>
> Does anyone know the proper syntax?
http://wiki2.dovecot.org/AuthDatabase/SQL#User_database_lookups
It's the "mail" field. You configured the reverse case:
http://wiki2.dovecot.org/UserDatabase?highlight=%28override_fields%29
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU3r553z1H7kL/d9rAQL87gf/b7+5vsp3eHcmqbqwrpSQXn8OElg3rpb+
wa/ym3NOBv3neiDFIW+VuOuYvuS8pddjvmpf+SLSDfuqPbDnLZ6WD1dJ9e6RMLT+
FCqw720HUrKJ2gra0i9yQZcskXEOIL23pz8p+9jf4vibHsTUJ...
2015 Mar 09
3
Overriding dovecot.conf from Userdb Extras
Hi,
I thought I read that anything from dovecot.conf can be overridden in a
userdb lookup. Or a passdb lookup with "userdb_" prefix.
But I tried for fun change log_path but it never worked. Is that because
logging is special, already started logging before it comes to the
passdb/userdb lookups? So are there some dovecot.conf settings
that cannot be overridden?
Thanks!
2016 Feb 08
2
autoexpunge - different settings for different users
...erride any mail-related setting from userdb. So for example if you have:
>
> namespace inbox {
> mailbox Trash {
> autoexpunge = 30d
> }
> }
>
> You can have your userdb return namespace/inbox/Trash/autoexpunge=90d extra field for other users. http://wiki2.dovecot.org/UserDatabase/ExtraFields has some examples.
Thank you, Timo!
Can you return something like "namespace/inbox/*/autoexpuge=90d" to cover all the namespaces? And then override individual ones if necessary?
2017 Jan 17
2
Dynamic autoexpunge for IMAP folders
I know, but it is not present in the string returned by the userdb,
which is set up for testing
userdb {
driver = static
args = namespace/inbox/mailbox/Bla/autoexpunge=6h
}
On Tue, Jan 17, 2017 at 11:03 AM, Thomas Leuxner <tlx at leuxner.net> wrote:
> * Thorsten Hater <thorsten.hater at gmail.com> 2017.01.17 10:57:
>
> > Unfortunately, this yields the same
2019 Jan 29
0
"unknown user - trying the next userdb" Info in log
...> example-config/dovecot-sql.conf.ext
> ? args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
> }
>
> # "prefetch" user database means that the passdb already provided the
> # needed information and there's no need to do a separate userdb lookup.
> # <doc/wiki/UserDatabase.Prefetch.txt>
> userdb {
> ? driver = prefetch
> }
>
> userdb {
> ? driver = sql
> ? args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
> }
>
> # If you don't have any user-specific settings, you can avoid the
> user_query
> # by using userdb static inste...
2019 Aug 29
1
User / Pass SQL queries
Hi all,
Is there any reason Dovecot shows the 'user' variable (ie:
user at domain.tld) being obtained in the password query and not the (more
logical) user query?
Thanks,
Michael
2008 Oct 06
2
Manual verses Wiki
I know I'm looking at the answer but probably not seeing it on the Wiki?
Is there a "manual" for Dovecot?
Or ... where do I find all the options for the userdb and passdb options?
While trying to get my head wrapped around this I noticed I might have
been mixing args between the two. One example has userdb first then the
next one passdb.
Rod
--
2008 Jan 09
3
Per user mailbox quota
Hi,
How do I setup per user mailbox quota? I am using /etc/passwd database.
Thanks
BAT
2007 Jul 11
1
Can Wiki entry on dovecot LDA/deliver be clarified?
...deliver
Currently deliver doesn't support namespaces. The mails can be
delivered only to mailboxes specified by the mail_location setting.
If you are using prefetch userdb, keep in mind that deliver does
not make a password query and thus will not work if -d parameter is
used. The UserDatabase/Prefetch page explains how to fix this.
==================================
Any ideas?
- Frank