Re: [Dovecot] getenv() in plugin not working

2011-11-15 Thread Charles Marcus
On 2011-11-14 10:58 PM, Trutwin, Joshua jtrut...@csbsju.edu wrote: Might wanna make a note on the wiki page that the DRAC setup is only for dovecot 1.x? Why? You were on the wiki for v1, so obviously it is (or may be) only meant for v1. -- Best regards, Charles

[Dovecot] Question about pop3_reuse_xuidl

2011-11-15 Thread Urban Loesch
Hi, we are in migration progress from Communigate Pro 5.0.x to Dovecot 2.0.15 with mdbox. We still migrated about 25.000 IMAP accounts from CGP to Dovecot. Also there were still added about 2000 new POP3 Accounts on Dovecot. Now we must migrate about 10.000 POP3 accounts from CGP to Dovecot.

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, I have a number of procmail scripts and I've converted them to sieve, but they didn't convert very well. Can someone show me how to convert the following: :0 {     :0 fhW     | /home/alex/bin/process-mail.pl } The script skipped right over that. The Sieve language doesn't support

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Stephan Bosch
Op 15-11-2011 16:38, Alex schreef: Hi, The Sieve language doesn't support invoking external programs. You can execute this program before Sieve, for instance by wrapping the LDA invocation. Can you describe how I might do this? You can write a shell script that is executed from your MTA

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, The Sieve language doesn't support invoking external programs. You can execute this program before Sieve, for instance by wrapping the LDA invocation. Can you describe how I might do this? You can write a shell script that is executed from your MTA instead of the Dovecot LDA. Perform

Re: [Dovecot] Please advise on very fast search

2011-11-15 Thread Stan Hoeppner
On 11/14/2011 3:16 PM, Alexander Chekalin wrote: Locking issues on mbox is the reason for my long-lasting love affair with maildir, Same reason most others fell in love with it. Many now want to divorce maildir, as the cost of the storage to maintain acceptable performance is now too high.

Re: [Dovecot] Please advise on very fast search

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 12:26 -0600, Stan Hoeppner wrote: This is why I recommended mbox in the first place. If your only writes to these mailbox files are appends of new messages, mbox is the best format by far. It's faster at appending than any other format, and it's faster for searching

[Dovecot] dsync problems

2011-11-15 Thread Micah Anderson
When a user renames their username, I am using dsync to copy their mail over to the new username's mail location[0]. Some of the dsyncs are failing with errors that I dont know how to work with, for example: dsync(username): Error: Trying to open a non-listed mailbox with

Re: [Dovecot] Question about pop3_reuse_xuidl

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 16:02 +0100, Urban Loesch wrote: At the beginning of our migration we didn't set the pop3_reuse_xuidl configuration option to yes. Do you know what happens when we activate the pop3_reuse_xuidl option on our running dovecot? Will Dovecot change the uidl value for

[Dovecot] Seg fault in dovecot/auth 2.0.15

2011-11-15 Thread Mark Goldey
Folks: I've been running Dovecot 2.0.7 on a Qmail / Vpopmail installation built on Debian Squeeze, with no problems for about a year. Dovecot is used for IMAP/S auth only. Dovecot is built from source. I just upgraded to 2.0.15 but it segfaults whenever an IMAP auth is attempted, regardless

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 13:09 -0500, Alex wrote: Yes, you can pipe the message to the Dovecot LDA from procmail. This would be similar to the solution described above, only using Procmail instead of a shell script. Are you referring to doing something like this:

Re: [Dovecot] Glued-together private namespaces

2011-11-15 Thread Timo Sirainen
On Mon, 2011-11-14 at 10:23 -0800, Mark Moseley wrote: Thanks to a fortuitously unrelated thread (how to disable quota for second namespace), I got the quota part figured out and that seems to be working: Add a second entry to plugin {}, e.g. quota2 = maildir:Archive

Re: [Dovecot] Chroot

2011-11-15 Thread Timo Sirainen
On Sun, 2011-11-13 at 17:25 +0100, Bambero wrote: all maildirs are located in: /var/mail/j...@example.com/Maildir So this is /var/mail/%u/Maildir template. namespace { type = shared separator = / prefix = shared/%%u/ location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u You

Re: [Dovecot] submission_host problem

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-12 at 05:32 +0100, Bambero wrote: I configured dovecot to use submission smtp host becouse of chroot. submission_host = 127.0.0.1 Unfortunatelly: Nov 12 05:11:15 myhost exim[23366]: 2011-11-12 05:11:15 SMTP protocol synchronization error (next input sent too soon:

Re: [Dovecot] Migration From Courier Imap.

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-12 at 12:58 +0530, Rajeev Sharma wrote: I am using vpopmail,qmail along with courier-imap 4.0 i want to migrate from courier to dovecot but i have 100 shared folder under /home/vpopmail/domains/domain.com/Malidir and user shared them on the basis of rights assign. I am very

Re: [Dovecot] Invalid doveadm search queries not rejected

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 23:41 -0800, Peter Williams wrote: I think I've encountered a bug in Dovecot 2.0.9 (as provided on CentOS 6). According to the doveadm-search-query(7) manual page, a mailbox specification can only come at the beginning of a search query. It doesn't exactly say that,

Re: [Dovecot] dovecot-lda quota rule

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: I really like the feature where you can define quota rules with percents which trigger off of the default values[0] (so you can set the Trash to allow for 10% more of the user's quota for example). What I would really love in dovecot

Re: [Dovecot] Dovecot 2.0.15 quota configuration with mbox

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 12:14 +0100, David Ocana wrote: namespace { separator = / prefix = INBOX/ location = mbox:/var/empty:INBOX=/mail/%d/%n:INDEX=/var/dovecot/%d/%n inbox = yes hidden = yes } plugin { quota = dirsize:User quota

Re: [Dovecot] Limit the number of pop/imap requests

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 10:40 +0100, wwl wrote: Hello Group, is it possible to Limit the number of pop/imap requests to Dovecot? I read the Wiki and found max_mail_processes = 512 is this the way to limit this ? This limits the number of simultaneous IMAP and POP3 connections. Is

Re: [Dovecot] indexes permissions problem

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 00:30 -0800, Mark Hanford wrote: I've got a centos 6 server running Dovecot 2.0.beta6 (3156315704ef). For legacy reasons (I'm moving mail from a Dovecot 1.1.1 and FreeBSD box with user home directories NFS mounted), my index files are setup to be in /u/indexes/ On

Re: [Dovecot] default Dovecot-LDA CHGRP/CHMOD

2011-11-15 Thread Timo Sirainen
On Wed, 2011-11-09 at 14:04 -0500, Chris Young wrote: I am familiar with this article http://wiki.dovecot.org/LDA#multipleuids I want to disable setuid-root, but I don't know the default group and permissions. sudo chgrp root /usr/libexec/dovecot/dovecot-lda sudo chmod 00750

Re: [Dovecot] Dovecot SASL on another machine

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-05 at 20:43 +0100, Patrick Ben Koetter wrote: * Timo Sirainen dovecot@dovecot.org: On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? With v2.0 you should

Re: [Dovecot] Seg fault in dovecot/auth 2.0.15

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 14:31 -0500, Mark Goldey wrote: Could you do a bit more with gdb and this core: #1 0x08059890 in auth_worker_handle_user (client=0x82b34d0) at auth-worker-client.c:405 auth_request = 0x82b56e8 userdb_id = 1 fr 1 p *auth_request-userdb-userdb p

Re: [Dovecot] dsync problems

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 14:24 -0500, Micah Anderson wrote: When a user renames their username, I am using dsync to copy their mail over to the new username's mail location[0]. Some of the dsyncs are failing with errors that I dont know how to work with, for example: dsync(username): Error:

Re: [Dovecot] default Dovecot-LDA CHGRP/CHMOD

2011-11-15 Thread Chris Young
Thanks for the response. I was able to get it working with chmod 755 On Tue, Nov 15, 2011 at 3:34 PM, Timo Sirainen t...@iki.fi wrote: On Wed, 2011-11-09 at 14:04 -0500, Chris Young wrote: I am familiar with this article http://wiki.dovecot.org/LDA#multipleuids I want to disable

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, I just don't understand how to invoke procmail from deliver. The idea was to invoke deliver from procmail. I still do this myself since I haven't bothered changing my procmail scripts to Sieve: DELIVER=/usr/local/libexec/dovecot/deliver :0 * ^List-Id.*dovecot.dovecot.org | $DELIVER

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 0.14, Alex wrote: I just don't understand how to invoke procmail from deliver. The idea was to invoke deliver from procmail. I still do this myself since I haven't bothered changing my procmail scripts to Sieve: DELIVER=/usr/local/libexec/dovecot/deliver :0 *

[Dovecot] Excessive imap-logins, never die

2011-11-15 Thread Nick Edwards
Hiya, Today I note there are 38 imap-logins that seem to be stale on our staff imap server, they do not seem to die off, new imap-logins are created with new logins and exit accordingly. Now, these are from our monitoring software that runs on another server on our LAN. Our corporate link was

Re: [Dovecot] Excessive imap-logins, never die

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 0.48, Nick Edwards wrote: Today I note there are 38 imap-logins that seem to be stale on our staff imap server, they do not seem to die off, new imap-logins are created with new logins and exit accordingly. .. Dovecot version 1.2.17, built from source All this code has

Re: [Dovecot] Excessive imap-logins, never die

2011-11-15 Thread Nick Edwards
On Wed, Nov 16, 2011 at 8:50 AM, Timo Sirainen t...@iki.fi wrote: On 16.11.2011, at 0.48, Nick Edwards wrote: Today I note there are 38 imap-logins that seem to be stale on our staff imap server, they do not seem to die off, new imap-logins are created with new logins and exit

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, I just don't understand how to invoke procmail from deliver. The idea was to invoke deliver from procmail. I still do this myself since I haven't bothered changing my procmail scripts to Sieve: DELIVER=/usr/local/libexec/dovecot/deliver :0 * ^List-Id.*dovecot.dovecot.org | $DELIVER

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 2.00, Alex wrote: It's now delivering, but my deliver command must be wrong. This is my ~/.procmailrc: .. # # /usr/libexec/dovecot/deliver -m spamtest lda(root): Fatal: destination user parameter (-d user) not given Am I doing something wrong? Is it trying to deliver

Re: [Dovecot] Glued-together private namespaces

2011-11-15 Thread Mark Moseley
On Tue, Nov 15, 2011 at 11:39 AM, Timo Sirainen t...@iki.fi wrote: On Mon, 2011-11-14 at 10:23 -0800, Mark Moseley wrote: Thanks to a fortuitously unrelated thread (how to disable quota for second namespace), I got the quota part figured out and that seems to be working: Add a second entry

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, It's now delivering, but my deliver command must be wrong. This is my ~/.procmailrc: .. # # /usr/libexec/dovecot/deliver -m spamtest lda(root): Fatal: destination user parameter (-d user) not given Am I doing something wrong? Is it trying to deliver mails to root user? That's not

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 2.08, Alex wrote: No, I was just running as root from the command-line for an example. The maillog shows error 75: procmail: Assigning DELIVER=/usr/libexec/dovecot/deliver procmail: Executing /usr/libexec/dovecot/deliver,-m,xspamtest procmail: Non-zero exitcode (75) from

[Dovecot] Deleting a mailbox and all its children

2011-11-15 Thread Micah Anderson
I'm looking at scripting a mechanism to delete a mailbox, which is easy with 'doveadm mailbox delete' -- however it gets complicated when there are children of arbitrary depth, for example, I may have this: restored.daily1.INBOX restored.daily1.Sent restored.daily1.Mystuff

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Alex
Hi, procmail: Assigning DELIVER=/usr/libexec/dovecot/deliver procmail: Executing /usr/libexec/dovecot/deliver,-m,xspamtest procmail: Non-zero exitcode (75) from /usr/libexec/dovecot/deliver procmail: Rescue of unfiltered data succeeded procmail: Executing /usr/libexec/dovecot/deliver

Re: [Dovecot] Deleting a mailbox and all its children

2011-11-15 Thread micah anderson
On Wed, 16 Nov 2011 03:15:02 +0200, Timo Sirainen t...@iki.fi wrote: On 16.11.2011, at 3.04, Micah Anderson wrote: I'm looking at scripting a mechanism to delete a mailbox, which is easy with 'doveadm mailbox delete' -- however it gets complicated when there are children of arbitrary