Displaying 20 results from an estimated 400 matches similar to: ""service_count = 0" for "service dict" (High-performance mode)"
2017 Apr 28
4
Sieve dict and bindir question
Hi,
I have setup the latest Dovecot and Sieve with dict in order to read
rules from MySQL and works fine:
sieve_before = dict:proxy::sieve;name=activesql;bindir=~/.sieve-bin
dict {
sieve = mysql:/etc/dovecot/dovecot-dict-sieve-sql.conf.ext
}
# cat /etc/dovecot/dovecot-dict-sieve-sql.conf.ext
connect = host=10.1.1.1 dbname=dovecot user=dovecot password=Ciao
map {
pattern =
2017 Apr 30
0
Sieve dict and bindir question
Op 4/28/2017 om 10:58 AM schreef Alessio Cecchi:
> Hi,
>
> I have setup the latest Dovecot and Sieve with dict in order to read
> rules from MySQL and works fine:
>
> sieve_before = dict:proxy::sieve;name=activesql;bindir=~/.sieve-bin
>
> dict {
> sieve = mysql:/etc/dovecot/dovecot-dict-sieve-sql.conf.ext
> }
>
> # cat
2010 Nov 09
1
service_count=0 for imap and pop3
This is copy-pasted from Timo's comment in the "Todays Performance
Data for 2.0.x" thread, but I didn't want to hijack that thread. In
it, Timo says:
<snip>
service imap {
service_count = 0
}
(i.e. reuse imap processes) reduced the system CPU usage to almost
nothing. But if you use different UIDs for different users you can't do
that.
</snip>
Is that safe to
2014 Dec 23
1
Curious dovecot behavior with service_count = 0
Hello,
I'm not experiencing this problem at all with service_count = 1
With service_count = 0, this is what I got randomly in my logs:
TLS: SSL_read() syscall failed: Connection reset by peer
To be successfully logged, the user have to initiate a new connection.
I primary thought about vsz_limit but I've put this value to 10GB (yes
this is very overkill, that was just for the test)
2015 Apr 07
0
setting service_count results in Permission denied
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 6 Apr 2015, Micah Anderson wrote:
> service imap { service_count = 100 }
where do you put this config line?
> but when I added that to the service imap block, and restarted dovecot,
> I see this in the logs: Error:
> net_connect_unix(/run/dovecot/imap-postlogin) failed: Permission denied
> I dont understand how this impacts
2017 Aug 22
0
Disconnected in APPEND depends on service_count?
Hello,
we have quite odd behaviour of dovecot under new OS.
We use dovecot 2.2.18 for years under Ubuntu12 and Ubuntu14. Now we use
Ubuntu16 and notice some strange errors.
dovecot 2.2.18 is rather old, but runs reliable and we dont need newest
features, so we packaged it again on Ubuntu16.
For explanation: We use some own patches for dovecot and insert some
functions in deb packages, so we
2015 Apr 06
3
setting service_count results in Permission denied
The load on our machines has gotten too high, so I started to see log
messages that directed me to look at this page for config changes:
https://pad.riseup.net/redirect#http%3A//wiki2.dovecot.org/SocketUnavailable
One of the things I wanted to do on that page was to set the:
service imap { service_count = 100 }
but when I added that to the service imap block, and restarted dovecot,
I see this
2005 Jun 27
5
adding a new log-format escape
I'm adding a new escape to log-format, %s, to print out the checksum
of a file, and I've got a couple problems. They've got to be simple
bugs, but I haven't been able to figure them out. The following patch
gives me a broken pipe and a bus error when I test it. Note that I've
applied the md5 patch beforehand.
diff -Naur rsync-2.6.5-md5/log.c rsync-2.6.5/log.c
---
2015 Apr 17
0
Potentially breaking dict-proxy (dict-sql) backwards compatibility
Looks like the dict-proxy code doesn't currently do escaping newlines properly, but it still accidentally happens to work, because the data is stored in the escaped form. I'm thinking about fixing this, but this might break somebody's existing dict usage. But then again maybe nobody is actually using it now, especially because it hasn't been working exactly as expected. So, can
2015 Oct 29
0
Acl sql dict error, dict crashes
On 29 Oct 2015, at 12:15, Christian Kivalo <ml+dovecot at valo.at> wrote:
>
> Hi,
>
> I configured shared mailboxes and get an error when i use SQL as the acl_shared_dict. It works when i use a file instead. With SQL as the shared_dict, dict crashes.
>
> Oct 29 10:12:13 uschi dovecot: dict(27421): Panic: file dict-sql.c: line 670 (sql_dict_iterate): assertion failed:
2019 Jul 10
0
Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed: Field 'password' doesn't have a default value
Hi, after upgrading my database I kept on getting those errors. It seems
like later versions of databases have strict mode enabled by default and
it must either be disabled or change the dovecot database schema.
Besides the password, would anyone know what other fields must be
changed to the dovecot schema and have a default value? Is there any
other dovecot schema for strict mode?
Lefteris
2020 May 12
0
last_login_dict: Failed to write value: dict-server returned failure: sql dict: commit failed
Hello,
I get last_login_dict: Failed to write value: dict-server returned
failure: sql dict: commit failed randomly in the logs:
---
???????1 mailserver dovecot: imap(test-email-bb at exemple.com)
<NtiT9H2SFIVcuGID> [xxx.xxx.xxx.xxx]: Error: last_login_dict: Failed to
write value: dict-server returned failure: sql dict: commit failed:
INSERT, UPDATE command denied to user
2010 Jul 06
2
Jul 06 00:06:15 dict: Error: dict client: Broken handshake
After building and install dovecot I then made my own self signed SSL
certs and placed them carefully into the correct places :
Thus :
# grep -v "^#" dovecot-openssl.cnf | grep -v "^$"
[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
C=CA
ST=Ontario
L=Toronto
O=Blastwave
OU=IMAP server
2015 Oct 29
2
Acl sql dict error, dict crashes
Hi,
I configured shared mailboxes and get an error when i use SQL as the
acl_shared_dict. It works when i use a file instead. With SQL as the
shared_dict, dict crashes.
I have enabled sql query logs on the mariadb server, the table
user_shares and anyone_shares are queried but there is no insert to the
empty tables.
The dovecot-acl files are created in the mailbox when i add an acl with
2013 May 03
1
quota and dict
I have a question about using dict and quotas. I want dovecot to send
quota queries to a custom dict server over a socket. I'm doing this
because I can't do group quotas based on domain since a customer can
have each of their users associated with different domains under a
single account. I need to lookup the account ID and group based on that.
I'm worried putting everything in mysql
2007 Aug 31
1
How can i complie and install the dict modules
Hello,
I want to migrate from courier-imap to dovecot and now i am trying out
dovecot1.1.alpha3
But i have problems getting the expire plugin to work.
At startup i get the message:
Unknown dict module: db
As far as i understood i have to compile the backend manually an copy it
into tho appropirate place.
But how can i do this ?
Thanks in advance,
Oliver Eales
2008 Jul 10
1
Unknown dict module: db with expire plugin
Hello.
I upgraded my dovecot to 1.1. I use the FreeBSD port.
However, I can't use the expire plugin. See the error:
Unknown dict module: db
expire plugin: dict_init() failed
I see on the mailing list another mail like this problem. And the
problem is the imap library is not linked to libdb.
Is there a solution?
Have I to contact the FreeBSD maintainer to link the binary to the
library?
2012 Aug 29
1
ACL MySQL dict: to_user==from_user entries
Hi!
We run dovecot 2.1.6 with ACL support and MySQL dict for
shared/shared-boxes/user/$to/$from.
When a user does a SETACL (via IMAP) to himself he is added as $to and
$from to the MySQL dict. Se for example this IMAP conversation:
5 GETACL INBOX
* ACL "INBOX" "user at domain" lrwstipekxacd
5 OK Getacl completed.
6 SETACL INBOX user at domain lrwstipekxacd
6 OK Setacl
2007 Dec 10
1
dict: Leaked a t_pop() call in I/O handler
Hello,
I've just installed another postfix+dovecot based mail service (I
love dovecot! :-), and I found this message "dict: Leaked a t_pop()
call in I/O handler (nil)" being logged each time I authenticate
against it via POP3 or IMAP.
Searching through the code, I've found this (this is Dovecot v1.0.8):
---- src/dict/dict-cache.c ----
void dict_cache_unref(struct dict_cache
2007 Jul 16
0
Dict-Server
Hi,
i try to use dict server but i recive this error:
net_connect_unix(/usr/local/var/run/dovecot/dict-server) failed: Permission
denied
net_connect_unix(/usr/local/var/run/dovecot/dict-server) failed: Permission
denied
because i have dict-server in /var/run and not in /usr/local/var/run .....
Thank you in advance
Workino