[Dovecot] [PATCH] dovecot-lda with expire plugin segfaults if dict failed

2012-05-15 Thread Lazy
Program received signal SIGSEGV, Segmentation fault. 0x7f1975cccdee in expire_mailbox_transaction_commit (t=value optimized out, changes_r=value optimized out) at expire-plugin.c:169 169 } else if (strcmp(value, 0) == 0) { (gdb) bt #0 0x7f1975cccdee in

Re: [Dovecot] namespace from snapshots

2012-05-16 Thread Lazy
Hi, With same config as Kerl and Your patch I'm still getting thiese errors May 16 12:11:36 thebe2 dovecot: imap(lazy): Debug: Namespace backup_h1: type=private, prefix=backup-h1., sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/snapshot/h1/vmail/la/lazy/Maildir:INDEX

[Dovecot] outlook and redirect sieve

2012-07-16 Thread Lazy
Hi Aall, we are having issues with outlook clients, running exchange or lotus being unable to parse the email messages redirected by dovecot's sieve 0.3.1, the command is plain redirect em...@lotusmail.xxx; redirects from mta also work correctly exchange was fixed by removing this commit

Re: [Dovecot] outlook and redirect sieve

2012-07-16 Thread Lazy
2012/7/16 Lazy lazy...@gmail.com: Hi Aall, we are having issues with outlook clients, running exchange or lotus being unable to parse the email messages redirected by dovecot's sieve 0.3.1, the command is plain redirect em...@lotusmail.xxx; redirects from mta also work correctly exchange

Re: [Dovecot] outlook and redirect sieve

2012-07-17 Thread Lazy
2012/7/16 Stephan Bosch step...@rename-it.nl: On 7/16/2012 5:00 PM, Lazy wrote: 2012/7/16 Lazy lazy...@gmail.com: i have got it if ( recipient != NULL ) rfc2822_header_field_write(f, X-Sieve-Redirected-From, recipient); was adding crlf in the headers, and it made

[Dovecot] dovecot-lda setting quota rules

2012-07-17 Thread Lazy
Hi, in my setup dovecot-lda reads user and home from environment, and dosn't perform userdb lookup Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Effective uid=300, gid=300, home=/vmail/la/lazytest_test Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota root: name=User

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-02 Thread Lazy
2012/7/31 Timo Sirainen t...@iki.fi: On 18.7.2012, at 4.33, Lazy wrote: I wan't it to stay that way. The problem is that it dosn't update the quota rules in Maildir when quota is changed in userdb. I have the rules avaiable in qmail-lda's environment, but I need an idea on how to feed

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-03 Thread Lazy
it works great. thank You again Regards, Michal Grzedzicki 2012/8/3, Timo Sirainen t...@iki.fi: On 3.8.2012, at 2.13, Lazy wrote: dovecot-lda -o plugin/quota_rule=*:storage=1G thank You ! This is simple and elegant. Sill I need this to be taken from environment, I produced a simple

Re: [Dovecot] namespace from snapshots

2012-08-16 Thread Lazy
2012/5/19 Timo Sirainen t...@iki.fi: On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read-only file system Does the attached patch help? maybe it will be easier

Re: [Dovecot] namespace from snapshots

2012-08-21 Thread Lazy
2012/8/19, Timo Sirainen t...@iki.fi: On 16.8.2012, at 14.58, Lazy wrote: 2012/5/19 Timo Sirainen t...@iki.fi: On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read

[Dovecot] segfault in mail_user_get_home()

2012-08-21 Thread Lazy
gdb ./src/imap/.libs/imap Reading symbols from /usr/src/dovecot-2.1.9/src/imap/.libs/imap...done. (gdb) run Starting program: /usr/src/dovecot-2.1.9/src/imap/.libs/imap warning: no loadable sections found in added symbol-file system-supplied DSO at 0x77ffa000 [Thread debugging using

Re: [Dovecot] namespace from snapshots

2012-08-21 Thread Lazy
be usefull I will try to produce more general patch automagicly subscribing root or any other mailbox in an namespace. Regards, Michal Grzedzicki 2012/8/21, Lazy lazy...@gmail.com: 2012/8/19, Timo Sirainen t...@iki.fi: On 16.8.2012, at 14.58, Lazy wrote: 2012/5/19 Timo Sirainen t...@iki.fi

Re: [Dovecot] 2 node dovecot

2013-01-08 Thread Lazy
2013/1/4 Timo Sirainen t...@iki.fi: On 26.12.2012, at 22.01, Lazy lazy...@gmail.com wrote: We run dovecot 2.1 on 2 nodes with shared nfs storage. Index files are kept on local disk. Second node is usually used only for email snapshots access. If primary node fails it is configured to take

[Dovecot] header brakage on sieve redirect ?

2013-02-28 Thread Lazy
Hi all, In the sieve file require [copy]; redirect :copy a...@asd.pl; emails with headers containing \n in non terminated field like Cc: xxx x...@plus.pl, asd, Grzegorz xx...@nsn.com Subject: RE: RF after redirecting them Cc: xxx x...@plus.pl, asd,\ \ Grzegorz xx...@nsn.com Subject:

Re: [Dovecot] header brakage on sieve redirect ?

2013-02-28 Thread Lazy
2013/2/28 Lazy lazy...@gmail.com: Hi all, In the sieve file require [copy]; redirect :copy a...@asd.pl; emails with headers containing \n in non terminated field like Cc: xxx x...@plus.pl, asd, Grzegorz xx...@nsn.com Subject: RE: RF after redirecting them Cc: xxx x...@plus.pl

[Dovecot] dovecot-sieve vacation vs qmail-ldap

2010-02-15 Thread Lazy
Helloo, We are using dovectot lda with qmail-ldap, dovecot 1.2.10, sieve 0.1.15 lda is executed as exec /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -s preline adds Delivered-To: header, everything works fine except vacation Feb 9 16:07:16 thebe dovecot: deliver(lazy

Re: [Dovecot] dovecot-sieve vacation vs qmail-ldap

2010-02-16 Thread Lazy
2010/2/15 Lazy lazy...@gmail.com: Helloo, We are using dovectot lda with qmail-ldap, dovecot 1.2.10, sieve 0.1.15 lda is executed as exec /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -s preline adds Delivered-To: header, everything works fine except vacation

[PATH] expire plugins segfault with misconfigured dict

2014-07-07 Thread Lazy
dovecot 2.2.13 With configuration like plugin { expire_dict = blblbla } expiere plugins segfaults during deinit. It might also segfault if the dict service was unavaiable. attached bellow is a diff against 2.2.13 Jul 7 14:51:11 dovecot1 dovecot: lmtp(10548, lazy): Error: expire plugin

Redis sentinel support in dict

2014-07-08 Thread Lazy
Redis sentinel ( http://redis.io/topics/sentinel ) is a service that monitors and manages redis master slave replication. Using sentinel you can easily create a redis ha cluster. You can connect to a sentiniel and subscribe to certain events then in case of an failover update the redis address to

fts solr database size

2014-07-15 Thread Lazy
Hi, Could anyone share any numbers about real life solr database size/cpu/memory usage for certain amounts of messages ? We have now over 5TB of maildirs (about 5 000-6 000 concurrent imap clients) and I'm trying to guess how much hardware might be needed. -- Michal

Re: fts solr database size

2014-07-15 Thread Lazy
2014-07-15 13:05 GMT+02:00 Ricardo Branco rica...@wenn.com: We are no way as big as you but in terms users but our user vs mailbox size is large. Dovecot: 50 users 425Gb (mdbox + zlib) Note solr only indexes folders within a mailbox when a search is done on them so size can vary and most

Re: [PATH] expire plugins segfault with misconfigured dict

2014-08-03 Thread Lazy
2014-07-07 15:18 GMT+02:00 Lazy lazy...@gmail.com: dovecot 2.2.13 With configuration like plugin { expire_dict = blblbla } expiere plugins segfaults during deinit. It might also segfault if the dict service was unavaiable. attached bellow is a diff against 2.2.13 Jul 7 14:51:11

lmtp usernames with -

2014-12-18 Thread Lazy
Hello I have a problem with lmtp delivery to usernames with '-' char. Everythong after - is ignored. when delivering to test-test2 the error message is. User doesn't exist: test I suspect this is a sideefect of auth_username_format = %Lu I have tried %Ln without success. Imap works without

Re: lmtp usernames with -

2014-12-19 Thread Lazy
2014-12-19 8:27 GMT+01:00 Lazy lazy...@gmail.com: Hello I have a problem with lmtp delivery to usernames with '-' char. Everythong after - is ignored. when delivering to test-test2 the error message is. User doesn't exist: test I suspect this is a sideefect of auth_username_format = %Lu

Re: lmtp usernames with -

2014-12-19 Thread Lazy
2014-12-19 9:22 GMT+01:00 Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Dec 2014, Lazy wrote: I have a problem with lmtp delivery to usernames with '-' char. Everythong after - is ignored. thank You his was it

director + lmtp + ldap user

2014-12-24 Thread Lazy
Hi, recently I have migrated our prevoius dovecot-lda to 2.2 with director + lmtp. And we are having some issues. When lmtp delivers to ldap uid names everything works except sieve vacation (login is not found in headers so reply is not sent). When using full email addresses in rcpt to vacation

Authcache and user changing

2014-12-29 Thread Lazy
Hi, I have noticed that during auth cache hits usernames are not updated. (We use ldap backend and change username with user_attrs = uid=user, mailMessageStore=home, mailQuotaSize=quota_rule=*:bytes=%$ cold cache lmtp(14414): Debug: auth input: testmon_testmon home=/vmail/te/testmon_testmon

Re: Authcache and user changing

2014-12-30 Thread Lazy
2014-12-29 12:47 GMT+01:00 Lazy lazy...@gmail.com: Hi, I have noticed that during auth cache hits usernames are not updated. (We use ldap backend and change username with user_attrs = uid=user, mailMessageStore=home, mailQuotaSize=quota_rule=*:bytes=%$ cold cache lmtp(14414): Debug

Re: Authcache and user changing

2014-12-30 Thread Lazy
2014-12-30 15:04 GMT+01:00 Lazy lazy...@gmail.com: 2014-12-29 12:47 GMT+01:00 Lazy lazy...@gmail.com: Hi, I have noticed that during auth cache hits usernames are not updated. (We use ldap backend and change username with user_attrs = uid=user, mailMessageStore=home, mailQuotaSize

Re: Authcache and user changing

2015-01-09 Thread Lazy
2015-01-09 9:16 GMT+01:00 Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 29 Dec 2014, Lazy wrote: I have noticed that during auth cache hits usernames are not updated. (We use ldap backend and change username with user_attrs = uid

Re: segfault in dict_transaction_rollback() on doveadm quota recalc -u

2015-12-30 Thread Lazy
Bump > Hi, > > We have a dovecot cluster with nfs storage, 2 directors and 3 > imap/pop3/lmtp backends. > > Redis is used as a dict backend with a dict proxy. > > dict { > quota = redis:host=127.0.0.1:prefix=user/ > } > > plugin { > > quota = dict:User quota::proxy::quota > > } > > Redis