Displaying 14 results from an estimated 14 matches for "userdb_quota_rule2".
Did you mean:
userdb_quota_rule
2013 Aug 14
0
weird situation with pop3/imap proxy and postfix authentication
...query, exactly like:
password_query=select endereco as user, password, '/var/spool/mail/%u'
as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as
userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as
userdb_quota_rule, 'Trash:storage=+100M' as userdb_quota_rule2, 'Y' as
proxy_maybe, '10.252.38.2' as host from emails where endereco = '%u' and
ativa = '1' UNION select NULL as user, '%w' as password, NULL as
userdb_home, NULL as userdb_mail, NULL as userdb_uid, NULL as
userdb_gid, NULL as userdb_quota_rule, NULL as...
2010 Oct 03
1
question on quota configuration on 2.0.5
...vecot-sql.conf file:
password_query = select endereco as user, password, '/var/spool/mail/%u'
as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as
userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as
userdb_quota_rule, 'Trash:storage=100M' as userdb_quota_rule2 from
emails where endereco = '%u' and ativa = '1'
special attention to
'Trash:storage=100M' as userdb_quota_rule2
after migrating to 2.0.5, i got this warning on the logs:
Oct 3 16:06:41 ns2 dovecot: imap(user at domain.com), rip=127.0.0.1,
lip=127.0.0.1: Wa...
2008 Mar 10
3
Maildirsize automatically (re)build
...mply
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_plugins: quota imap_quota
plugin:
quota: maildir
So I use maildir:storage in my config. However when I delete the
maildirsize (for testing purposes) it doesn't get automatically
recreated? According to the...
2010 Mar 11
3
IMAP proxy configuration
...;
# Get the password
password_query = select endereco as user, password, '/var/spool/mail/%u'
as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as
userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as
userdb_quota_rule, 'Trash:storage=100M' as userdb_quota_rule2 from
emails where endereco = '%u' and ativa = '1'
[root at correio dovecot]#
i've read several docs about configuring proxy on dovecot but all
of them says about proxying specific users .... i'm interested on
proxying some domains. I couldnt find a way to configure...
2015 Jan 30
1
LDAP: "unused" & "uid missing"
...ssages=quota_rule2=*:messages=%$
pass_attrs = uid=user, userPassword=password,
mailStorageDirectory=userdb_home=%$/%u,
mailStorageDirectory=userdb_mail=maildir:%$/%u/maildir,
mailUidNumber=userdb_uid, mailGidNumber=userdb_gid,
mailQuotaStorage=userdb_quota_rule=*:storage=%$,
mailQuotaMessages=userdb_quota_rule2=*:messages=%$
[...]
Thanks
2011 Sep 23
1
Glued-together private namespaces
...round, create subfolders, subscribe to
folders in ~/Maildir-Archive). The only thing I can't seem to get
working is quotas. With my password_query like:
password_query = ...
CONCAT( '*:bytes=', "1M" ) AS 'userdb_quota_rule', \
CONCAT( '*:messages=10' ) AS 'userdb_quota_rule2', \
CONCAT( 'INBOX.Archives:bytes=+4900M' ) AS 'userdb_quota_rule3', \
CONCAT( 'INBOX.Archives:messages=+3900' ) AS 'userdb_quota_rule4'
...
only the default quota seems to be in place for any subfolder of
INBOX.Archives and for INBOX.Archives itself, i.e. *:byt...
2015 Jan 30
0
LDAP Quota Limits & Warnings
...ld multiple values for it - only a single
one for each limit:
user_attrs = [...] mailQuotaStorage=quota_rule=*:storage=%$,
mailQuotaMessages=quota_rule2=*:messages=%$,
mailQuotaIgnore=quota_rule3=*:ignore=%$
pass_attrs = [...] mailQuotaStorage=userdb_quota_rule=*:storage=%$,
mailQuotaMessages=userdb_quota_rule2=*:messages=%$,
mailQuotaIgnore=userdb_quota_rule3=*:ignore=%$
And unfortunately /var/log/maillog tells me:
dovecot: imap(abuse at netocean.local): Error: user abuse at netocean.local:
Initialization failed: Failed to initialize quota: Invalid quota root
quota: Invalid rule *:ignore=Trash: Un...
2012 Oct 31
1
backtrace for non-existant %{ldap:attr} on login
...llo,
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
08:56:51]
* OK Waiting for authentication process to respond..
If I add...
2011 Jun 02
2
Custom sql query for keeping quota with dict-sql
Hello!
I'd like to setup quota for for virtualusers, i'm using both maildir++
and mdbox as storage, and i'm using postgresql to keep users.
I'm keeping all users data in one table:
[...]
login text NOT NULL,
domain text,
password text,
quota_mb integer NOT NULL DEFAULT 0
[... other columns ...]
i'd like to keep present quota in such two columns:
quota_dict_bytes integer NOT
2010 Feb 16
2
quota problem
dovecot 1.0.15
Hello,
i try to set quota settings for my users.
currentyl i use a mysql table for auth process and now i want to add
quotasettings for each individual user.
at the moment i have the problem that only global quota is effective and no
userquota which is stored in usertable.
This is my mysql-usertable:
login varchar(255)
password varchar(64)
home varchar(128)
uid int(11)
gid
2013 Nov 25
4
v2.2.9 released
http://dovecot.org/releases/2.2/dovecot-2.2.9.tar.gz
http://dovecot.org/releases/2.2/dovecot-2.2.9.tar.gz.sig
+ Full text search indexing can now be done automatically after
saving/copying mails by setting plugin { fts_autoindex=yes }
+ replicator: Added replication_dsync_parameters setting to pass
"doveadm sync" parameters (for controlling what to
2013 Nov 25
4
v2.2.9 released
http://dovecot.org/releases/2.2/dovecot-2.2.9.tar.gz
http://dovecot.org/releases/2.2/dovecot-2.2.9.tar.gz.sig
+ Full text search indexing can now be done automatically after
saving/copying mails by setting plugin { fts_autoindex=yes }
+ replicator: Added replication_dsync_parameters setting to pass
"doveadm sync" parameters (for controlling what to
2017 Oct 10
2
Issue with mailbox conversion using dsync in v2.2.32 (maildir <-> mdbox)
...mail.tld): Debug: Added userdb setting:
plugin/userdb_quota_clone_dict=file:/home/blahmail/mail/dovecot-quota
doveadm(_mainaccount at blahmail.tld): Debug: Added userdb setting:
plugin/userdb_quota_rule=*:messages=2147483647
doveadm(_mainaccount at blahmail.tld): Debug: Added userdb setting:
plugin/userdb_quota_rule2=INBOX.Trash:ignore
doveadm(_mainaccount at blahmail.tld): Debug: Added userdb setting:
plugin/userdb_quota_status_overquota=552 5.2.2 Mailbox is full / Blocks
limit exceeded / Inode limit exceeded
doveadm(_mainaccount at blahmail.tld): Debug: Added userdb setting:
plugin/userdb_quota_vsizes=yes
dov...
2017 Jul 12
0
shared namespace not showing in thunderbird
...#011quota2=fs:cPanel Account#011mail=maildir:/home/webserver/mail/ourdomian1.com/rich#011quota_rule2=INBOX.Trash:ignore#011quota_status_overquota=552 5.2.2 Mailbox is full / Blocks limit exceeded / Inode limit exceeded#011uid=502#011home=/home/webserver/mail/ourdomian1.com/rich#011userdb_gid=514#011userdb_quota_rule2=INBOX.Trash:ignore#011userdb_quota_status_overquota=552 5.2.2 Mailbox is full / Blocks limit exceeded / Inode limit exceeded#011userdb_home=/home/webserver/mail/ourdomian1.com/rich
Jul 12 00:42:45 ssd99 dovecot: auth: Debug: policy(rich at ourdomian1.com,2.26.22.162,<IyugQRNUHoYCGhai>): Polic...