Re: [Dovecot] dovecot-sieve (pigeonhole) -- is is possible to re-filter INBOX when filters have been updated?

2013-05-25 Thread Chris Richards
On Sat, May 25, 2013 3:53 am, Lev Serebryakov wrote: So, I need a way to run it from httpd (running with credentials of web user) on behalf mail subsystem (running with credentials of v-mail user) according command from PHP script... It could be non-trivial... There's a dovecot plugin that

Re: [Dovecot] dovecot-sieve (pigeonhole) -- is is possible to re-filter INBOX when filters have been updated?

2013-05-25 Thread Chris Richards
On Sat, May 25, 2013 3:36 pm, Chris Richards wrote: On Sat, May 25, 2013 3:53 am, Lev Serebryakov wrote: So, I need a way to run it from httpd (running with credentials of web user) on behalf mail subsystem (running with credentials of v-mail user) according command from PHP script

Re: [Dovecot] Error: dict client sent broken reply

2013-05-24 Thread Chris Richards
Anyone have any thoughts on this? Chris On Sun, May 19, 2013 4:33 pm, Chris Richards wrote: I've been mucking about, experimenting with the expire plugin and using a dictionary. I've got the iteration query working when I do a normal expunge using: doveadm expunge -A mailbox INBOX.Trash

Re: [Dovecot] dovecot-sieve (pigeonhole) -- is is possible to re-filter INBOX when filters have been updated?

2013-05-24 Thread Chris Richards
On Fri, May 24, 2013 3:20 pm, Lev Serebryakov wrote: Hello, Dovecot. And I wonder, is here simple way to re-filter INBOX after sieve filters have been changed? Any offline (desktop) mail client could run new filters on old messages -- is here any way to do this with dovecot-sieve

[Dovecot] Error: dict client sent broken reply

2013-05-19 Thread Chris Richards
I've been mucking about, experimenting with the expire plugin and using a dictionary. I've got the iteration query working when I do a normal expunge using: doveadm expunge -A mailbox INBOX.Trash savedbefore 1w and expunging works as expected. However, I've got over 12,000 accounts on this

Re: [Dovecot] Quota not working with dict proxy

2013-05-16 Thread Chris Richards
On Wed, May 15, 2013 9:15 pm, Daniel Parthey wrote: map { pattern = priv/quota/storage # dictionary for storage bytes table = quota # table where to write storage count username_field = username # username of whom storage should be counted

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Chris Richards
Are you using the same SQL table email for user lookup and quota/storage accounting? Try to use two different tables for user and quota database, because the quota accounting might have deleted an entry from the user table while it only tried to delete a row from the quota table. Regards

Re: [Dovecot] Quota not working with dict proxy

2013-05-13 Thread Chris Richards
On Mon, May 13, 2013 5:55 pm, Daniel Parthey wrote: Are you using the same SQL table email for user lookup and quota/storage accounting? Try to use two different tables for user and quota database, because the quota accounting might have deleted an entry from the user table while it only

[Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
Hello all, I'm sure this has been covered somewhere before, but my googlefu is not up to the challenge. Basically, I'm trying to configure quota plugin to use a dictionary service (specifically proxy with mysql) so that I can store the quota usage in a database and use that information in a

Re: [Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
On Sun, May 12, 2013 12:24 pm, Chris Richards wrote: Hello all, I'm sure this has been covered somewhere before, but my googlefu is not up to the challenge. More info; this is the debug output from the doveadm command: doveadm -Df tab quota recalc -u 'user@domain' doveadm(root): Debug

Re: [Dovecot] Random LDA failure to access auth socket

2013-03-18 Thread Chris Richards
Chris, Chris Richards wrote: service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } user = $default_internal_user } In order

Re: [Dovecot] Random LDA failure to access auth socket

2013-03-10 Thread Chris Richards
I was finally able to make this change. It doesn't appear to have broken anything, which is a plus. ;) I'll ping back in a couple of days or so and let you know if the issue appears resolved. Thanks again for your help! Chris On Sun, March 3, 2013 6:31 pm, Chris Richards wrote: In order

Re: [Dovecot] Random LDA failure to access auth socket

2013-03-03 Thread Chris Richards
In order for dovecot-lda to work, default internal user dovecot seems to need permission for the user listing. This should work, but you should try to narrow the permissions down: service auth { unix_listener auth-userdb { group = dovecot mode = 0666 user = dovecot } }

[Dovecot] Random LDA failure to access auth socket

2013-03-02 Thread Chris Richards
Greetings all. Please forgive me if I'm posting something that has already been addressed, but my google-foo is not strong enough to find the solution. I've got a dovecot server running version 2.0.19 on Gentoo Hardened. I have Postfix as my MTA, and it is calling the Dovecot LDA to deliver the

Re: [Dovecot] Random LDA failure to access auth socket

2013-03-02 Thread Chris Richards
: (0/root) Access: 2012-11-24 17:43:57.124794021 + Modify: 2012-11-24 17:44:02.204920992 + Change: 2012-11-24 17:44:04.444976978 + Birth: - Thanks in advance for your help. Chris On Sat, March 2, 2013 11:15 am, Daniel Parthey wrote: Chris Richards wrote: I've got a dovecot

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-04-02 Thread Chris Richards
Mar 31 14:00:58 myserver dovecot: IMAP(me): Maildir /home/me/.Maildir sync: UID inserted in the middle of mailbox (85953 85053, file = msg.XL7B:2,) This is a procmail configuration problem: http://wiki.dovecot.org/MailboxFormat/Maildir#procmail Just wanted to say thanks for the help.

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-04-01 Thread Chris Richards
Timo Sirainen wrote: On Mon, 2008-03-31 at 15:10 -0500, Chris Richards wrote: Dovecot is version 1.0.rc15 I agree with others that it would be a good idea to upgrade from rc15, but.. I'm working on this Mar 31 14:00:58 myserver dovecot: IMAP(me): Maildir /home/me/.Maildir

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-04-01 Thread Chris Richards
Chris Richards wrote: Ok, As I read this, basically you're saying that I need to append the / to my delivery dirs? Or that I need to append the / and only deliver to Maildir, instead of Maildir/new? Here's my .procmailrc # .procmailrc # routes incoming mail to appropriate destinations PATH

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-04-01 Thread Chris Richards
Timo Sirainen wrote: On Tue, 2008-04-01 at 14:55 -0500, Chris Richards wrote: DEFAULT=$MAILDIR/new/ # This is where incoming mail goes $MAILDIR/.Spam/new/ Do these really work? They're not writing mails to new/new/ directory? I think they should have been without the new/ part

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-04-01 Thread Chris Richards
Charles Marcus wrote: No groan here... I love the flexibility Gentoo gives... you can easily leave the primary system at 'stable', then just set certain packages to unstable for the latest/greatest. My servers have been running nonstop for over 3 years, with just a few minor hiccups now and

[Dovecot] DoveCot IMAP and inconsistent state messages

2008-03-31 Thread Chris Richards
I need some help troubleshooting this problem. It only shows up with IMAP connections. I initially thought it was related to SquirrelMail (because it gives me an 'EXPUNGE' error), but after attempting to send IMAP commands directly to the server as shown below, I'm thinking there is

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-03-31 Thread Chris Richards
Charles Marcus wrote: On 3/31/2008, Chris Richards ([EMAIL PROTECTED]) wrote: Dovecot is version 1.0.rc15 Upgrade please - rc15 is very old... Err, that's the newest thing in the yum repository, and if I go compiling code that isn't 'official' (i.e. doesn't come from the yum repository

Re: [Dovecot] DoveCot IMAP and inconsistent state messages

2008-03-31 Thread Chris Richards
Scott Silva wrote: on 3-31-2008 1:31 PM Chris Richards spake the following: Charles Marcus wrote: On 3/31/2008, Chris Richards ([EMAIL PROTECTED]) wrote: Dovecot is version 1.0.rc15 Upgrade please - rc15 is very old... Err, that's the newest thing in the yum repository, and if I go