[Dovecot] dsync and pop3 migration plugin fails for large inbox due to idle timeout

2012-08-03 Thread Nikolai Schupbach
Timo, There is a problem with the dsync POP3 migration plugin when syncing a large INBOX. What happens is dsync establishes a connection to the POP3 server at the beginning of the sync, but then it sits there idle until it's used to sync the UIDLs. On a very large inbox with many thousands of m

Re: [Dovecot] managesieve segfault with gold linker

2012-08-03 Thread Stephan Bosch
On 7/30/2012 4:56 PM, Eray Aslan wrote: On 07/13/2012 04:38 PM, Eray Aslan wrote: I'll try to find out more but I will be on vacation for a few days so it might not be quick. Recap: When linked with gold, pigeonhole-0.3.1 make check fails with: dovecot-2.1-pigeonhole-0.3.1/src/testsuite/.libs/l

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 : > 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 s

[Dovecot] Pigeonhole sieve include namespace regression

2012-08-03 Thread Daniel Piddock
Hi, We've recently upgraded from Dovecot 1.2.15 with Sieve 0.1.18 (Debian Squeeze) to Dovecot 2.1.8 and Pigeonhole 0.3.1. We provide a selection of global sieve scripts to make users' lives easier and one noticed that some of these have stopped working. I tracked it down to them having personal s

[Dovecot] Antispam only when LMTP delivers some specific messages

2012-08-03 Thread Sandro Tosi
Hello, we're setting up a weird platform where every incoming email is passed from the MTA directly to a tool that then uses dovecot LMTP to deliver the message into the user mailbox. We are legally *not* allowed to run antispam on all the incoming messages, but only on some of them, as they

Re: [Dovecot] Antispam only when LMTP delivers some specific messages

2012-08-03 Thread Reindl Harald
Am 03.08.2012 14:03, schrieb Sandro Tosi: > We are legally *not* allowed to run antispam on all the incoming messages you ARE allowed if you are doing it right right in this context means you have to run the filter pre-queue and REJECT blocked messages, so the sending server knows that you did

Re: [Dovecot] Antispam only when LMTP delivers some specific messages

2012-08-03 Thread Sandro Tosi
Hello, thanks for you reply. On 08/03/2012 02:09 PM, Reindl Harald wrote: Am 03.08.2012 14:03, schrieb Sandro Tosi: We are legally *not* allowed to run antispam on all the incoming messages you ARE allowed if you are doing it right please.. don't consider everyone that writes a junior wit

Re: [Dovecot] Antispam only when LMTP delivers some specific messages

2012-08-03 Thread Robert Schetterer
Am 03.08.2012 14:03, schrieb Sandro Tosi: > Hello, > we're setting up a weird platform where every incoming email is passed > from the MTA directly to a tool that then uses dovecot LMTP to deliver > the message into the user mailbox. > > We are legally *not* allowed to run antispam on all the inco

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Tue, July 10, 2012 9:34 pm, Robert Schetterer wrote: > perhaps use daily cron with something like this > > doveadm expunge -A mailbox Junk savedbefore 7d; where am I going wrong ? nothing gets removed: # pwd /var/mail/vhosts/sbt.net.au/s...@sbt.net.au/.spam/cur # ls | wc 532 532

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Robert Schetterer
Am 03.08.2012 15:09, schrieb Voytek Eymont: > > On Tue, July 10, 2012 9:34 pm, Robert Schetterer wrote: > >> perhaps use daily cron with something like this >> >> doveadm expunge -A mailbox Junk savedbefore 7d; > > where am I going wrong ? > > nothing gets removed: > > # pwd > /var/mail/vhost

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:14 pm, Robert Schetterer wrote: > do you use expire plugin ? > > http://wiki2.dovecot.org/Plugins/Expire no... I saw this part: "Note that: This command runs fine even without expire plugin loaded." and assumed I didn't have to OK, back to drawing board, thanks fo

[Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Voytek Eymont
looking through logs I noticed this today: grep mysql /var/log/maillog | grep fail Aug 3 17:35:25 dovecot: auth-worker(28335): Error: mysql: Query failed, retrying: Table 'postfix.users' doesn't exist Aug 3 17:35:57 dovecot: auth-worker(28335): Error: mysql: Query failed, retrying: Table 'postf

Re: [Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Reindl Harald
Am 03.08.2012 15:32, schrieb Voytek Eymont: > grep mysql /var/log/maillog | grep fail > Aug 3 17:35:25 dovecot: auth-worker(28335): Error: mysql: Query failed, > retrying: Table 'postfix.users' doesn't exist states clearly that a table is missing > looking at mysqld.log, all i see is: > no fa

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 16.09, Voytek Eymont wrote: >> doveadm expunge -A mailbox Junk savedbefore 7d; > > where am I going wrong ? > > nothing gets removed: Find out what Dovecot thinks the save dates are: doveadm fetch -u user@domain date.saved mailbox spam I'm pretty sure the problem is simply th

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:42 pm, Timo Sirainen wrote: > On 3.8.2012, at 16.09, Voytek Eymont wrote: > >>> doveadm expunge -A mailbox Junk savedbefore 7d; >> where am I going wrong ? >> nothing gets removed: > Find out what Dovecot thinks the save dates are: > doveadm fetch -u user@domain date.sav

Re: [Dovecot] ACL with MySQL dict => full table scans (was: v2.1.9 released)

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 11.42, Roland Rosenfeld wrote: > On Wed, 01 Aug 2012, Timo Sirainen wrote: > >> I've again mostly finished reading and answering most of the mails in >> Dovecot mailing list. There are a couple annoyingly difficult / time >> consuming bugreport mails that I haven't replied to yet,

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 16.47, Voytek Eymont wrote: >> Find out what Dovecot thinks the save dates are: >> doveadm fetch -u user@domain date.saved mailbox spam > > Timo, thanks > > I see... > > date.saved: 2012-08-03 22:44:09 > date.saved: 2012-08-03 22:44:09 > date.saved: 2012-08-03 22:44:09 > date.sa

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 10.09, Robert Schetterer wrote: > Hi Timo, most of the Problems are fixed now > many thx for your script > > , but how to avoid that in future ( Maildir filename has wrong S value ) You'd need to find out why it started happening in the first place. What software wrote those fil

Re: [Dovecot] Overriding inbox= in userdb extra fields

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 19.10, Bret Martin wrote: > I'm trying to set up an alternate user with a different inbox using > passwd-file and userdb extra fields and the extra field settings don't seem > to be taking effect. I've used auth_debug and mail_debug and I'm unclear how > I can further troublesho

Re: [Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:36 pm, Reindl Harald wrote: > states clearly that a table is missing > what about connect directly to mysqld and look if the table exists and > review your import dump-files if they did drop tables? auth-worker(28335): Error: mysql: Query failed, retrying: Table 'postfi

Re: [Dovecot] Mail deletion and Solr index update

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 9.49, Matthias Rieber wrote: > I've deleted 1s emails and it seems that every mail is removed with > a single request from Solrs index. This works, but it's quite slow. Is > it possible/plans to improve that? Could you try if the attached patch works? It compiles, but didn't t

Re: [Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 17.08, Voytek Eymont wrote: >> states clearly that a table is missing >> what about connect directly to mysqld and look if the table exists and >> review your import dump-files if they did drop tables? > > auth-worker(28335): Error: mysql: Query failed, retrying: Table > 'postfix.

Re: [Dovecot] Overriding inbox= in userdb extra fields

2012-08-03 Thread Bret Martin
On Aug 3, 2012, at 9:59 AM, Timo Sirainen wrote: [...] > Problem 1: The userdb fields need to be prefixed in passwd-file with > "userdb_" prefix, so "userdb_namespace/inbox/inbox=no". Aha! This is what I was missing. The documentation on userdb extra fields even says this, but I missed it even

Re: [Dovecot] virtual folder - crash while searching

2012-08-03 Thread Timo Sirainen
On 1.8.2012, at 23.23, Matthias Rieber wrote: > alright. Some resources say that "413 FULL head" means request too large. > Maybe that's caused by the pretty big folder virtual.all which contains more > than 36 mails. Probably it means that the virtual folder consists of too many real folde

Re: [Dovecot] dsync and pop3 migration plugin fails for large inbox due to idle timeout

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 10.04, Nikolai Schupbach wrote: > There is a problem with the dsync POP3 migration plugin when syncing a large > INBOX. What happens is dsync establishes a connection to the POP3 server at > the beginning of the sync, but then it sits there idle until it's used to > sync the UID

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-03 Thread Robert Schetterer
Am 03.08.2012 15:56, schrieb Timo Sirainen: > On 2.8.2012, at 10.09, Robert Schetterer wrote: > >> Hi Timo, most of the Problems are fixed now >> many thx for your script >> >> , but how to avoid that in future ( Maildir filename has wrong S value ) > > You'd need to find out why it started happe

Re: [Dovecot] Pigeonhole sieve include namespace regression

2012-08-03 Thread Stephan Bosch
On 8/3/2012 1:30 PM, Daniel Piddock wrote: Hi, We've recently upgraded from Dovecot 1.2.15 with Sieve 0.1.18 (Debian Squeeze) to Dovecot 2.1.8 and Pigeonhole 0.3.1. We provide a selection of global sieve scripts to make users' lives easier and one noticed that some of these have stopped working

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Voytek Eymont
On Fri, August 3, 2012 11:53 pm, Timo Sirainen wrote: > On 3.8.2012, at 16.47, Voytek Eymont wrote: >>> Find out what Dovecot thinks the save dates are: >>> doveadm fetch -u user@domain date.saved mailbox spam >> date.saved: 2012-08-03 22:44:09 >> date.saved: 2012-08-03 22:44:09 >> date.saved: 20

Re: [Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Voytek Eymont
>> where could that be called from ? > > From the default passdb/userdb sql settings. You haven't set one of > password_query, user_query or iterate_query and it's trying to use the > default which doesn't of course work with your database. thanks cd /etc/dovecot grep password_query * dovecot-