Displaying 20 results from an estimated 10000 matches similar to: "quota ignore trash"
2008 Sep 16
1
Quota, maildir, MySQL,
Hi everybody,
I am trying to work with quota. I use postfix and dovecot with a sql 
backend. Below you'll find my configuration. Everything works except for 
the quota part. It doesn't seem to see the quota and doesn't respond to 
the sender that the client is over its quota.
versions:
postfix-2.5.20070531-mysql
dovecot-1.0.2-mysql
Thanks for the help in advance.
My Settings:
#
2007 Aug 31
2
dirsize quota assertion problem
Our current virtual mailbox configuration is not compatible with one of
the assertions in the dovecot quota plugin's assertions in quota-dirsize.c.
I believe the assertion is incorrect, but I would also be happy if I
could get the same result with a better configuration setting.
Here is a sample passdb entry which causes the quota assertion to fail:
test at
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 Dec 24
1
doveadm quota get -u segmentation fault
Hello!
I'm trying move to dovecot2 (centos 5.5, dovecot 2.0.8, dovecot
compiled/packaged via edited dovecot2.spec from fedora git).
Almost all fine, I can login via imap/pop3 and work with mail.
I get segfault error with "doveadm quota get -u user"
Here backtrace and other info:
# gdb `which doveadm` core.5202 
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)
Copyright
2014 Dec 09
2
Quota issue with mailbox.
good morning,
i am experiencing an issue with a quot limits with a new install of 
dovecot with mysql integration. quotas are set to 0 (unlimited) and show 
as such in the mysql database as well as via the postfixadmin frontend.
i use imapsync to transfer mail from another imap server to this one, 
the total user mailbox size is 18gb. dovecot lda tells me mailbox is 
full even though i have set
2016 May 03
3
Changing Password Schemes
OK QUERY is WORKING ("password_query" relies on having a field/column
"password', hence the addition under WHERE):
password_query = \
      SELECT username AS USER, \
    IF(cryptpwd IS NULL OR cryptpwd=' ', CONCAT('{PLAIN}',clearpwd),
cryptpwd) AS PASSWORD, \
    '/var/vmail/%d/%n' as userdb_home, \
      'maildir:/var/vmail/%d/%n' as
2016 May 03
3
Changing Password Schemes
1. Auth debug turned on, - nothing
2. cryptpwd is the name of my "password" column, have to specify that if
you want to run password_query as it relies on a field "password" to work.
3. I have access to the "clear passwords" but none of my google searches
worked for converting them to SHA512_CRYPT
On Tue, May 3, 2016 at 1:02 PM, Steffen Kaiser <
skdovecot at
2009 Jan 13
2
Can not Create Maildir using userdb
Thank you for your reply.
So, you mean that both user_query and password_query should have the same amount of parameter and the mail parameter from user_query should have the exact parameter as userdb_mail from password_query?
And also I've to turn on userdb prefetch {}
Kind Regards,
Henry
From: Timo Sirainen [mailto:tss at iki.fi]
To: Dovecot Mailing List [mailto:dovecot at dovecot.org]
2011 Feb 01
2
override not working
Hi, I'm using  dovecot 2.x and I'm using override so that only certain
domains are allowed to use ACLs, however it does seem to be working even
though I see the mail_plugins override in the logs. 
In the config file I have
protocol imap {
                mail_plugins = quota imap_quota trash expire autocreate
                       }
       
Using the following password/user queries:
2010 Oct 03
1
question on quota configuration on 2.0.5
Hi,
     On dovecot 1.2 i had the following configuration on my 
dovecot-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
2007 Jan 12
1
dovecot Digest, Vol 45, Issue 18
>
> I use postfx 2.3.5 + dovecot (pop3/imap/lda/auth daemon for postfix) rc15.
>
> root at post /etc/postfix# grep dovecot main.cf
> smtpd_sasl_type = dovecot
> virtual_transport = dovecot
> dovecot_destination_recipient_limit = 1
>
> root at post /etc/dovecot# grep password_query dovecot-sql.conf
> password_query = SELECT mail as user, cryptp as password,
>
2016 May 03
5
Changing Password Schemes
Thank you,
Due to changes I had to make to let password_query work, I think your 
"quick" version should be like this my setup:
UPDATE mailbox set password = ENCRYPT(clearpwd, CONCAT('$6$',sha(RAND()))) WHERE password IS NULL OR password=' ';
------------
You have a good day now, en mag jou m?re ook so wees,
Carl A Jeptha
On 2016-05-03 18:10, Gedalya wrote:
> The
2017 Feb 08
2
How to add User in MSSQL DB - error unknown user
Hello
 
Please I need to add  "Maurizio" to this MSSQL DB, but I don't now how to
add this step 
in my opinion I'think that the user can't be found, so I will have the
"unknown user"
Can give here any little help to fix this?
 
Feb  8 12:09:56 caloro dovecot: auth: Debug: auth client connected
(pid=13300)
Feb  8 12:09:56 caloro dovecot: auth: Debug: client
2016 May 03
2
Changing Password Schemes
Steffen,
If you can point me in the direction as to how to convert a column of 
clear text passwords to SHA512-CRYPT I will be happy to follow it and 
close this query, I only came here because I had spent almost two weeks 
trying to make the dovecot wiki work and thought someone would point out 
the mistakes I had made.
But otherwise, I will move on, and not waste anyone's time anymore.
2016 May 02
2
Changing Password Schemes
On 05/02/2016 05:32 AM, Carl Jeptha wrote:
> May  2 05:26:03 |****** dovecot: auth-worker(3442): Error:
> sql(user at domain.tld,xxx.xxx.xxx.xxx): Password query must return a
> field named 'password'
I'm not sure, maybe it's checking case-sensitive. Your query returns PASSWORD. Make it lowercase.
>
> For testing purposes I put the query in PHPMyAdmin and it
2010 Mar 11
3
IMAP proxy configuration
i know dovecot can act as IMAP and POP3 proxy ..... but i'm having 
a hard time configuring it. Actually i'm using a simple dovecot 
configuration with virtual users stored on MySQL. My dovecot-sql.conf is 
pretty simple:
[root at correio dovecot]# cat dovecot-sql.conf
driver = mysql
connect = host=localhost dbname=DATABASE user=USERNAME password=PASSWORD
default_pass_scheme = PLAIN
#
2019 Feb 14
1
Quota count and clone questions
all this almost reads like I can drop maintaining the quota2 table?
 From https://wiki.dovecot.org/Quota/Count
mailbox_list_index = yes
# Avoid spending excessive time waiting for the quota calculation to 
finish when
# mails' vsizes aren't already cached. If this many mails are opened, 
finish the
# quota calculation on background in indexer-worker process. Mail 
deliveries will
# be
2016 May 03
2
Changing Password Schemes
Just tried to run it on the "Live" database, the simulation found all 
the rows, but when I ran the query I got this error (still trying to see 
what mus be changed):
|#1064 - You have an error in your SQL syntax; check the manual that 
corresponds to your MySQL server version for the right syntax to use 
near '.sha(RAND()))) WHERE password IS NULL OR password=''' at line
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
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 = \