Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Timo Sirainen
On 16.10.2012, at 6.51, Dave Abrahams wrote: >> plugin { >> fts_lucene = whitespace_chars=@. >> } > > Do I also need > > plugin { > fts = lucene > } > > or are these mutually exclusive, or...? It's not clear from > http://wiki2.dovecot.org/Plugins/FTS/Lucene fts setting selects which backe

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Timo Sirainen
On 16.10.2012, at 6.45, Dave Abrahams wrote: >>> According to the IMAP spec if I do a search for "TO isocpp.org" it >>> should find all the messages whose To: field contains the string >>> "isocpp.org", but dovecot is returning me an empty list. However, a >>> search for "TO t...@isocpp.org" prod

Re: [Dovecot] per-user quotas

2012-10-15 Thread David Mehler
Hello, Thanks for your replies so far. Still having issues with per-user quotas. To my Mysql virtual_users table I've added a column quota_kb and for a test user I've added in a value of 25 going for a 250 megabyte quota. I've tried various sql queries they're returning empty sets not pulling

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Dave Abrahams
on Mon Oct 15 2012, Timo Sirainen wrote: > On 16.10.2012, at 1.35, Dave Abrahams wrote: > >> According to the IMAP spec if I do a search for "TO isocpp.org" it >> should find all the messages whose To: field contains the string >> "isocpp.org", but dovecot is returning me an empty list. However

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Dave Abrahams
on Mon Oct 15 2012, Timo Sirainen wrote: > On 16.10.2012, at 1.35, Dave Abrahams wrote: > >> According to the IMAP spec if I do a search for "TO isocpp.org" it >> should find all the messages whose To: field contains the string >> "isocpp.org", but dovecot is returning me an empty list. However

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Dave Abrahams
on Mon Oct 15 2012, Timo Sirainen wrote: > On 16.10.2012, at 1.35, Dave Abrahams wrote: > >> According to the IMAP spec if I do a search for "TO isocpp.org" it >> should find all the messages whose To: field contains the string >> "isocpp.org", but dovecot is returning me an empty list. However

Re: [Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Timo Sirainen
On 16.10.2012, at 1.35, Dave Abrahams wrote: > According to the IMAP spec if I do a search for "TO isocpp.org" it > should find all the messages whose To: field contains the string > "isocpp.org", but dovecot is returning me an empty list. However, a > search for "TO t...@isocpp.org" produces a l

Re: [Dovecot] fts = squat solr

2012-10-15 Thread Timo Sirainen
On 15.10.2012, at 18.08, Dave Abrahams wrote: > I don't know if this was supposed to have changed with dovecot2, but > http://wiki.dovecot.org/Plugins/FTS shows Read wiki2 for Dovecot v2. > fts = squat solr > > so, since I have the lucene plugin—"fts = lucene" works by itself—I > tried > > f

Re: [Dovecot] Plugin hooks in login process

2012-10-15 Thread Timo Sirainen
On 15.10.2012, at 16.13, Simone Lazzaris wrote: > Problem is, if I execute the update on the backend, I miss the information > regarding the original IP, as I only see the IP of the proxies. This is easy to solve: Set login_trusted_networks setting to point to your proxies, and you'll see the o

Re: [Dovecot] POP UIDL

2012-10-15 Thread Timo Sirainen
On 14.10.2012, at 5.07, simon.buongio...@gmail.com wrote: > I run a small mail server with Dovecot and postfix. Several of the accounts > are popped by an external email provide I use, mostly out habit and also for > a bit of redundancy. I have no details on that external server except that it

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-15 Thread Timo Sirainen
On 13.10.2012, at 15.38, Alessio Cecchi wrote: > Il 2012-10-02 21:28 Timo Sirainen ha scritto: >> On 19.9.2012, at 16.07, Alessio Cecchi wrote: >> >>> #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( >>> backend=0x1944240) at acl-backend-vfile-acllist.c:297 This should fix it:

Re: [Dovecot] Where'd the Mail Go?

2012-10-15 Thread John Reddy
> In the logfiles of your MTA (mail transport agent) you should find > hints where the mail went. Hmm. I guess I'll work on postfix then, and come back later ;) John

Re: [Dovecot] Dovecot Hangs while mutile users download mail for same account using pop3

2012-10-15 Thread Timo Sirainen
On 8.10.2012, at 18.12, Robert JR wrote: > I have a weird problem in dovecot, Dovecot Hangs while multiple users > download mail for same account using pop3 > > Three persons use 1 same email , and three of them use outlook express to > check > That specific mail .. Also some times one of the t

Re: [Dovecot] Maildir hardlinks

2012-10-15 Thread Timo Sirainen
On 4.10.2012, at 16.00, Benedetto Vassallo wrote: > All works fine, but with the new version it seems that dovecot don't do > hardlinks when deliver a message to multiple users. The hard linking is done only when the directory permissions match. > mail_location = maildir:~/MailDir:LAYOUT=fs >

Re: [Dovecot] Advanced dovecot tricks - spam review/release

2012-10-15 Thread Timo Sirainen
On 5.10.2012, at 22.48, Daniel Parthey wrote: > Timo Sirainen wrote: >> -i changes to dovecot.conf used by the given instance name > > This does not seem to work, at least not with version 2.1.10: Fixed: http://hg.dovecot.org/dovecot-2.1/rev/0262ede193e5

[Dovecot] [BUG] Lucene plugin breaks header substring search

2012-10-15 Thread Dave Abrahams
According to the IMAP spec if I do a search for "TO isocpp.org" it should find all the messages whose To: field contains the string "isocpp.org", but dovecot is returning me an empty list. However, a search for "TO t...@isocpp.org" produces a long list of messages. This behavior is present if I

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Dave Abrahams
on Mon Oct 15 2012, Michael M Slusarz wrote: > Quoting Dave Abrahams : > >> on Mon Oct 15 2012, Dave Abrahams wrote: >> >>> on Sun Oct 14 2012, Michael M Slusarz wrote: >>> >>> Using 2.1.6 and 2.1.9 built --with-clucene --with-libstemmer, I get the >>> same empty result with either of these tw

Re: [Dovecot] Where'd the Mail Go?

2012-10-15 Thread Daniel Parthey
Hi John, John Reddy wrote: > I ran this: > echo "Hello me" | mail -s "Dovecot test" $USER > and ran it but couldn't find where the mail went. I checked > /var/mail/my_user_name and it wasn't there, either. How do I find it? I'm sorry to tell you this is rather off-topic on the dovecot list, sinc

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread Jack Bates
On 10/15/2012 2:07 PM, Jack Bates wrote: On 10/12/2012 2:40 AM, Timo Sirainen wrote: would probably complicate the code. I don't think this would be difficult to implement. Probably just a few lines of code. Yeah, could be useful. If there's no argument over the last email, confirm and

Re: [Dovecot] Dovecot Authentication Problem Can't Make it Work

2012-10-15 Thread Tom Hendrikx
On 15/10/12 17:43, Howell Repaja wrote: > Hi All, > > I am struggling for 2 weeks solving authentication problem in dovecot. > > logs from /etc/mail/maillog > Oct 15 18:00:37 localhost dovecot: auth: > pam(how...@mydomain.info,88.22.197.66): > unknown user > # 2.0.9: /etc/dovecot/dovecot.conf >

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread Jack Bates
On 10/12/2012 2:40 AM, Timo Sirainen wrote: would probably complicate the code. I don't think this would be difficult to implement. Probably just a few lines of code. Yeah, could be useful. Commented logs below. I did 3 different types of connections. Let me know what you think. Because I

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Michael M Slusarz
Quoting Dave Abrahams : on Mon Oct 15 2012, Dave Abrahams wrote: on Sun Oct 14 2012, Michael M Slusarz wrote: Quoting Dave Abrahams : Hi, According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37), if I do a search for "TO isocpp.org" it should find all the messages whose T

[Dovecot] Where'd the Mail Go?

2012-10-15 Thread John Reddy
Hi; I ran this: echo "Hello me" | mail -s "Dovecot test" $USER then created a bash script: for mbox in /var/mail/$USER /var/spool/mail/$USER ~/mbox ~/mail/* ~/*; do grep -q "Dovecot test" $mbox && echo "mbox: $mbox" done grep -q "Dovecot test" ~/Maildir/new/* 2>/dev/null && echo "Maildir: ~/Mail

Re: [Dovecot] Segmentation fault in doveadm with lib01_acl_plugin.so

2012-10-15 Thread Pascal Volk
On 10/14/2012 05:58 PM Alessio Cecchi wrote: > Thanks, my dovecot installation is build from source. Dovecot start > fine with core dumps enabled but doveadm don't return "Core dumped" when > crash. In your terminal emulator enter the following commands: ulimit -c unlimited dove

[Dovecot] CAS Authentication

2012-10-15 Thread b m
Hi.I'm very sorry for the repost but I forgot the subject. So,  I'm using dovecot 2.0.18 and I'm trying to authenticate through a CAS server (until now authentication was through MS Active Directory). I could not find anywhere some examples, so here is what i have done so far. -install phpcas an

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Dave Abrahams
on Mon Oct 15 2012, Dave Abrahams wrote: > on Sun Oct 14 2012, Michael M Slusarz wrote: > >> Quoting Dave Abrahams : >> >>> Hi, >>> >>> According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37), >>> if I do a search for "TO isocpp.org" it should find all the messages >>> whose To:

[Dovecot] fts = squat solr

2012-10-15 Thread Dave Abrahams
I don't know if this was supposed to have changed with dovecot2, but http://wiki.dovecot.org/Plugins/FTS shows fts = squat solr so, since I have the lucene plugin—"fts = lucene" works by itself—I tried fts = squat lucene but: $ doveadm index '*' doveadm(dave): Error: fts: Failed to

Re: [Dovecot] lmtp proxy logging

2012-10-15 Thread l...@airstreamcomm.net
On 10/12/12 2:40 AM, Timo Sirainen wrote: On 10.10.2012, at 17.37, Jack Bates wrote: The logging on lmtp and lmtp proxy is pretty limited from what I can see. It seems to handle errors, Connect, Disconnect, and in the case of lmtp delivery, it logs where an email is saved to. The lmtp may be

Re: [Dovecot] Can't Start Dovecot

2012-10-15 Thread Reindl Harald
netstat --numeric-hosts --numeric-ports --programs -u -t -l will list all listening ports and as root also the exectueable /etc/init.d/dovecot star is they way to go never start a service by it's binary without a good reason without knowing exactly how it is supposed to work BTW: the dovecot bin

Re: [Dovecot] Can't Start Dovecot

2012-10-15 Thread John Reddy
Never mind. The command /etc/init.d/dovecot start would work; however, something else is using the port. Tracking it down. John > From: linuxpen...@hotmail.com > To: dovecot@dovecot.org > Date: Mon, 15 Oct 2012 09:01:04 -0400 > Subject: [Dovecot] Can't Start Dovecot > > > > Hi; > I just instal

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Dave Abrahams
on Sun Oct 14 2012, Michael M Slusarz wrote: > Quoting Dave Abrahams : > >> Hi, >> >> According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37), >> if I do a search for "TO isocpp.org" it should find all the messages >> whose To: field contains the string "isocpp.org", but dovecot

[Dovecot] Plugin hooks in login process

2012-10-15 Thread Simone Lazzaris
Hi all; I've setup dovecot (2.1.10) in a cluster configuration. We have two servers acting as frontend which authenticates users and proxy them to other two servers which handles the "real" work. Users credentials are on a mysql cluster; we have one master, in which read/write queries are proce

[Dovecot] Can't Start Dovecot

2012-10-15 Thread John Reddy
Hi; I just installed dovecot from yum on CentOS5. ps wax grep "dovecot" only brings up the grep The command "dovecot" is not recognized. # ls /usr/local/bin/dove* doveadm doveconf No dovecot. What up? TIA, John

[Dovecot] (no subject)

2012-10-15 Thread b m
Hi. I'm using dovecot 2.0.18 and I'm trying to authenticate through a CAS server (until now authentication was through MS Active Directory). I could not find anywhere some examples, so here is what i have done so far. -install phpcas and pam_cas -edit /etc/pam.d/dovecot   auth   

Re: [Dovecot] Clarifications on Pigeonhole and MySQL lookups

2012-10-15 Thread Sandro Tosi
Hi Stephan, thanks a lot for your reply. On 10/11/2012 10:35 PM, Stephan Bosch wrote: On 10/10/2012 11:23 AM, Sandro Tosi wrote: Hello, we're scouting if it's possible to use Pigeonhole (currently v0.3.1, as this will be provided with an upcoming Debian package) with MySQL dict lookups with the