Re: [Dovecot] Post-login scripting - Trash cleanup

2012-02-28 Thread Robert Schetterer
Am 28.02.2012 20:26, schrieb l...@airstreamcomm.net: > On Tue, 28 Feb 2012 19:26:11 +0100, Robert Schetterer > wrote: >> Am 28.02.2012 19:11, schrieb l...@airstreamcomm.net: >>> We are considering using the post-login scripting to clear trash older >>> than 90 days from user accounts. has anyone

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-02-28 Thread Andreas M. Kirchwitz
> everything? That's the way to go. Makes things better, but I've found three more dependencies. This patch is against the daily snapshot 20120228. (Sorry for the changes to Makefile.in which you won't need. But this way I don't have to rebuild Makefile.in from Makefile.am wh

Re: [Dovecot] Master user

2012-02-28 Thread Emiliano Rago
On 02/28/2012 08:09 PM, Timo Sirainen wrote: On 28.2.2012, at 21.04, Emiliano Rago wrote: USER#0113607363585#011rago#011uid=5000#011gid=5000#011home=/#011master_user=rago#011master_user=admin Oh, right, it doesn't work because there are two master_users and the second one overrides the first

Re: [Dovecot] quota warning script not working after upgrade to 2.1.1

2012-02-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > With 2.0.18 I was using a quota warning script like this: Must have been a PEBKAC - I fixed my installation by harmonising $PREFIX (seperate $PREFIX for 2.0 and 2.1, removig an old installation along the way) as well as cleaning up some old scripts and alas: Feb 28 22:13:15

Re: [Dovecot] Dovecot clustering with dsync-based replication

2012-02-28 Thread Charles Marcus
On 2012-02-28 9:43 AM, Timo Sirainen wrote: On Tue, 2012-02-28 at 09:27 -0500, Charles Marcus wrote: On 2012-02-28 9:03 AM, Timo Sirainen wrote: This document describes a design for a dsync-replicated Dovecot cluster. Wow, talk about timing... this looks like a perfect answer to my previo

Re: [Dovecot] Post-login scripting - Trash cleanup

2012-02-28 Thread Ed W
On 28/02/2012 18:11, l...@airstreamcomm.net wrote: We are considering using the post-login scripting to clear trash older than 90 days from user accounts. has anyone done this, and if so did this cause logins to slow down too much waiting for the trash to purge? One idea was to execute the tras

Re: [Dovecot] Post-login scripting - Trash cleanup

2012-02-28 Thread list
On Tue, 28 Feb 2012 19:26:11 +0100, Robert Schetterer wrote: > Am 28.02.2012 19:11, schrieb l...@airstreamcomm.net: >> We are considering using the post-login scripting to clear trash older >> than 90 days from user accounts. has anyone done this, and if so did >> this >> cause logins to slow dow

Re: [Dovecot] Master user

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 21.04, Emiliano Rago wrote: > USER#0113607363585#011rago#011uid=5000#011gid=5000#011home=/#011master_user=rago#011master_user=admin Oh, right, it doesn't work because there are two master_users and the second one overrides the first one. This might be fixed in a newer version (m

Re: [Dovecot] Master user

2012-02-28 Thread Emiliano Rago
On 02/28/2012 07:47 PM, Timo Sirainen wrote: On 28.2.2012, at 20.45, Emiliano Rago wrote: userdb { args = uid=mailreader gid=mailreader allow_all_users=yes master_user=%u driver = static } Thanks, but nothing has changed. Set auth_debug=yes. What does it log when you login? That's t

[Dovecot] quota warning script not working after upgrade to 2.1.1

2012-02-28 Thread Ralf Hildebrandt
With 2.0.18 I was using a quota warning script like this: plugin { ... # Quota quota = maildir quota_rule = INBOX.Trash:storage=+2048M quota_warning = storage=99%% quota-warning 99 %u quota_warning2 = storage=95%% quota-warning 95 %u quota_warning3 = storage=90%% quota-warning 90 %u q

Re: [Dovecot] Master user

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 20.45, Emiliano Rago wrote: >> userdb { >> args = uid=mailreader gid=mailreader allow_all_users=yes master_user=%u >> driver = static >> } > > Thanks, > but nothing has changed. Set auth_debug=yes. What does it log when you login?

[Dovecot] 2.1.1: subscriptions: Removing invalid entry

2012-02-28 Thread Ralf Hildebrandt
Admittedly, it's not a valid folder name and dovecot is right in removing it: Feb 28 17:50:05 postamt dovecot: imap(kbaessle): Warning: Subscriptions file /home/k/b/kbaessle/Maildir/subscriptions: Removing invalid entry: Entw�rfe ...but when looking at the subscription file AFTER the removal, th

Re: [Dovecot] Master user

2012-02-28 Thread Emiliano Rago
On 02/28/2012 04:37 PM, Timo Sirainen wrote: On Tue, 2012-02-28 at 16:11 +, Emiliano Rago wrote: I'd like to have a master user that can read the other users mailboxes. I have only one user who read and write the mail (i.e. I use the static userdb) and I use namespace for public and shared

Re: [Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 20.29, Charles Marcus wrote: > Off the top of your head, do you know if Cyrus or GMail (I guess the two > other most popular IMAP servers that support server side indexes) advertise > SEARCH=FUZZY? Neither. Probably no servers besides Dovecot. But it is less than a year old RF

Re: [Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?

2012-02-28 Thread Charles Marcus
On 2012-02-28 11:51 AM, Timo Sirainen wrote: On 28.2.2012, at 18.38, Timo Sirainen wrote: Well, okay, actually if server advertises FUZZY extension you can be quite certain that it supports indexed server side searches. I meant SEARCH=FUZZY Thanks for the replies Timo... Off the top of yo

Re: [Dovecot] Post-login scripting - Trash cleanup

2012-02-28 Thread Robert Schetterer
Am 28.02.2012 19:11, schrieb l...@airstreamcomm.net: > We are considering using the post-login scripting to clear trash older > than 90 days from user accounts. has anyone done this, and if so did this > cause logins to slow down too much waiting for the trash to purge? One > idea was to execute

[Dovecot] Post-login scripting - Trash cleanup

2012-02-28 Thread list
We are considering using the post-login scripting to clear trash older than 90 days from user accounts. has anyone done this, and if so did this cause logins to slow down too much waiting for the trash to purge? One idea was to execute the trash purge script once a day by tracking their logins an

[Dovecot] migrating/converting from system users -> virtual users

2012-02-28 Thread Steve Platt
Hello all, We currently have a traditional mail server where all users have system accounts (ie entries in the NIS passwd map) and mbox-format mail folders in their (system) home directories. I'm trying to setup a dovecot server in which we want all users to have "virtual" accounts (in dovec

Re: [Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 18.38, Timo Sirainen wrote: > Well, okay, actually if server advertises FUZZY extension you can be quite > certain that it supports indexed server side searches. I meant SEARCH=FUZZY > And that reminds me, I should hide that extension when FTS isn't enabled in > Dovecot.. v2.

Re: [Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 18.33, Charles Marcus wrote: > This question is a result of an ongoing discussion on the mozilla enterprise > list... > > Is there a standard/reliable way for an IMAP client to determine that an IMAP > server supports server side search All IMAP servers are required to support

[Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?

2012-02-28 Thread Charles Marcus
Hey Timo, Subject says it all... This question is a result of an ongoing discussion on the mozilla enterprise list... Is there a standard/reliable way for an IMAP client to determine that an IMAP server supports server side search (with indexes)? Thanks, -- Best regards, Charles

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Charles Marcus
On 2012-02-28 11:05 AM, kfx wrote: Ok I feel ashame... it was a third party init scrip who was the problem :( Sorry for the noise and thank you for dovecot So... you're saying that Thunderbird now correctly uses server side search? -- Best regards, Charles

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread kfx
Ok I feel ashame... it was a third party init scrip who was the problem :( Sorry for the noise and thank you for dovecot

Re: [Dovecot] Master user

2012-02-28 Thread Timo Sirainen
On Tue, 2012-02-28 at 16:11 +, Emiliano Rago wrote: > I'd like to have a master user that can read the other users mailboxes. > I have only one user who read and write the mail (i.e. I use the static > userdb) and I use namespace for public and shared mailboxes. > I can authenticate to the ser

[Dovecot] Master user

2012-02-28 Thread Emiliano Rago
Hi, I'd like to have a master user that can read the other users mailboxes. I have only one user who read and write the mail (i.e. I use the static userdb) and I use namespace for public and shared mailboxes. I can authenticate to the server but I am not able to list the mailboxes: emiliano@dov

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Timo Sirainen
On Tue, 2012-02-28 at 15:47 +0100, kfx wrote: > > Did you enable the 'Run search on server' option in the Advanced Search > > window? Doing this *should* result in Thunderbird using dovecots indexes > > server side. > > > > Yes I did. > > Some more info: > > by telnet'ing directly and issuing: >

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread kfx
On 02/28/2012 03:23 PM, Charles Marcus wrote: On 2012-02-28 8:41 AM, kfx wrote: Dovecot 2.1.1 and latest solr. Indexing seems ok because the size of the solr's data directory is growing and log shows things like this: Feb 28 14:30:45 indexer-worker(username): Info: Indexed 12239 messages in Su

Re: [Dovecot] Dovecot clustering with dsync-based replication

2012-02-28 Thread Timo Sirainen
On Tue, 2012-02-28 at 09:27 -0500, Charles Marcus wrote: > On 2012-02-28 9:03 AM, Timo Sirainen wrote: > > This document describes a design for a dsync-replicated Dovecot cluster. > > > > Wow, talk about timing... this looks like a perfect answer to my > previous question about setting up two

Re: [Dovecot] Dovecot clustering with dsync-based replication

2012-02-28 Thread Charles Marcus
On 2012-02-28 9:03 AM, Timo Sirainen wrote: This document describes a design for a dsync-replicated Dovecot cluster. Wow, talk about timing... this looks like a perfect answer to my previous question about setting up two servers in two different locations to serve two different sets of use

Re: [Dovecot] fts size

2012-02-28 Thread Timo Sirainen
On Tue, 2012-02-28 at 15:02 +0100, Jan-Frode Myklebust wrote: > Does anybody have any numbers for how large storage one will need for > the fts indexing server? I see the wiki says 30% of mailbox size for > Squat (partial=4 full=4). Is it similar for lucene/solr? My initial tests for CLucene were

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Charles Marcus
On 2012-02-28 8:41 AM, kfx wrote: Dovecot 2.1.1 and latest solr. Indexing seems ok because the size of the solr's data directory is growing and log shows things like this: Feb 28 14:30:45 indexer-worker(username): Info: Indexed 12239 messages in SubFolder but thunderbird returns nothing (it s

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Timo Sirainen
On Tue, 2012-02-28 at 14:41 +0100, kfx wrote: > but thunderbird returns nothing (it says not match found for "hello" > for example). Test by talking IMAP protocol, not by using Thunderbird.

[Dovecot] Dovecot clustering with dsync-based replication

2012-02-28 Thread Timo Sirainen
This document describes a design for a dsync-replicated Dovecot cluster. This design can be used to build at least two different types of dsync clusters, which are both described here. Ville has also drawn overview pictures of these two setups, see http://www.dovecot.org/img/dsync-director-replicat

[Dovecot] fts size

2012-02-28 Thread Jan-Frode Myklebust
Does anybody have any numbers for how large storage one will need for the fts indexing server? I see the wiki says 30% of mailbox size for Squat (partial=4 full=4). Is it similar for lucene/solr? Do I understand correctly if I think http://wiki2.dovecot.org/Plugins/FTS/Lucene will create an inde

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread kfx
On 02/28/2012 03:04 AM, Timo Sirainen wrote: On 28.2.2012, at 2.14, Jean-Daniel Beaubien wrote: Ok, I had to fix a few things. First of all, I had to declare mail_plugins = fts fts_solr in global file (dovecot.conf). After doing that, running doveadm fts optimize stopped giving me errors. I ra

Re: [Dovecot] Deny create folders

2012-02-28 Thread Charles Marcus
On 2012-02-28 6:14 AM, Jacek Osiecki wrote: Some IMAP clients (especially outlooks) create junk/sent/etc. folders with various names, depending on national settings. Is it possible to provide a - let's say - dictionary, which would always return the same folder (like Sent) no matter if client as

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Charles Marcus
On 2012-02-27 9:04 PM, Timo Sirainen wrote: On 28.2.2012, at 2.14, Jean-Daniel Beaubien wrote: However, whenever I run a search thru thunderbird (searching the from/to/subject/body fields), I think Thunderbird does this search internally, not via IMAP. You could test by opening the Advance

Re: [Dovecot] Deny create folders

2012-02-28 Thread Jacek Osiecki
On Sun, 26 Feb 2012, Jerry wrote: On Sun, 26 Feb 2012 22:31:35 +0100 S. Kremer articulated: Every user's mailbox has a directory called Spam and Ham. I scan this two folders by a script to learn my spamassassin database. This script does not scan folders like spam, ham, junk-email etc. But some

[Dovecot] ANN: automx - automated mail account provisioning

2012-02-28 Thread Patrick Ben Koetter
automx I am pleased to announce automx a tool that makes setting up a mail account easy. All your users need to provide is real name, mail address and password. Their mail client and automx will safely handle the rest. Say goodbye to mistyped server settings! Put an end to endless phone calls try

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Timo Sirainen
On 28.2.2012, at 12.15, Robin wrote: > I too was bitten by the configuration issue. The wiki/docs suggest that you > only need to put the fts fts_solr plugin spec into imap "section", which > never worked for me, unlike fts_squat which did). Putting it into the > "global" plugin list made it a

Re: [Dovecot] POP/IMAP on proxy rip issue

2012-02-28 Thread Tomislav Mihalicek
Mhm, thanks for the answer. I wanted to upgrade to 2.1 anyway because of the LMTP. t. Urban Loesch-2 wrote: > > Same here on 2.0.x. > But I think this is because it's only implemented for IMAP. > > See e-mail from Timo 2 days ago: > > ... > > Subject: Proxying improvements in v2.1.2 > > I

Re: [Dovecot] testing fts-solr?

2012-02-28 Thread Robin
I think Thunderbird does this search internally, not via IMAP. You can test this by talking IMAP protocol directly: telnet localhost 143 a login user pass b select inbox c search text hello Yes, you definitely want to check things are being accelerated by issuing direct IMAP commands via teln

Re: [Dovecot] POP/IMAP on proxy rip issue

2012-02-28 Thread Tomislav Mihalicek
Mhm, thanks for the answer. I wanted to upgrade to 2.1 anyway because of the LMTP. t. Urban Loesch-2 wrote: > > Same here on 2.0.x. > But I think this is because it's only implemented for IMAP. > > See e-mail from Timo 2 days ago: > > ... > > Subject: Proxying improvements in v2.1.2 > > I

Re: [Dovecot] remove messages once downloaded

2012-02-28 Thread Thomas Leuxner
Am 28.02.2012 um 09:46 schrieb Thomas Leuxner: > Assuming this is the task you could also use: > > $ doveadm expunge -u jane@example.org before 2012-02-01 unseen > > Play around with the scope a bit before you actually run it: > > $ doveadm search -u jane@example.org before 2012-02-01 u

Re: [Dovecot] remove messages once downloaded

2012-02-28 Thread Thomas Leuxner
Am 28.02.2012 um 09:17 schrieb Nick Warr: > Il 28/02/2012 9.09, Jacek Osiecki ha scritto: >> On Fri, 24 Feb 2012, Michael Sidoric wrote: >> I need some help with the dovecot configuration. I want to remove downloaded messages from Mail Server once the messages have been successfully

Re: [Dovecot] remove messages once downloaded

2012-02-28 Thread Nick Warr
Il 28/02/2012 9.09, Jacek Osiecki ha scritto: On Fri, 24 Feb 2012, Michael Sidoric wrote: I need some help with the dovecot configuration. I want to remove downloaded messages from Mail Server once the messages have been successfully downloaded by pop3-clients, even when the clients have been

Re: [Dovecot] remove messages once downloaded

2012-02-28 Thread Jacek Osiecki
On Fri, 24 Feb 2012, Michael Sidoric wrote: I need some help with the dovecot configuration. I want to remove downloaded messages from Mail Server once the messages have been successfully downloaded by pop3-clients, even when the clients have been configured to save copy of messages in the Serve