Re: [Dovecot] doveadm-expunge not expunging when ran from cron

2010-10-21 Thread LEVAI Daniel
On Tue, Oct 19, 2010 at 15:49:46 +0200, LEVAI Daniel wrote: > On Tue, Oct 19, 2010 at 13:46:17 +0100, Timo Sirainen wrote: > [...] > > Weird. Does it log with attached patch that commit was successful? > [...] > > THanks, I'm testing this now. Yes, it shows that the commit was successful, but the

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Odhiambo Washington
On Fri, Oct 22, 2010 at 12:09 AM, Timo Sirainen wrote: > On 21.10.2010, at 21.52, Odhiambo Washington wrote: > > > PS: Timo, in the options shown when one runs the configure script, should > > the dbox option be removed? > > > > [r...@gw] ~wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6# ./configure

Re: [Dovecot] Problems converting to maildir with dsync in 2.0.6

2010-10-21 Thread Nicholas Riley
In article , Nicholas Riley wrote: > I'm trying to convert from an old Dovecot (1.0.15) and mbox to a new > Dovecot and maildir. I'm running into several problems with dsync which > are causing my mboxes not to convert. > > If I use LAYOUT=fs (as I'd prefer) I get an error because I have a

[Dovecot] Problems converting to maildir with dsync in 2.0.6

2010-10-21 Thread Nicholas Riley
I'm trying to convert from an old Dovecot (1.0.15) and mbox to a new Dovecot and maildir. I'm running into several problems with dsync which are causing my mboxes not to convert. If I use LAYOUT=fs (as I'd prefer) I get an error because I have a mailbox called "subscriptions", and none of my m

Re: [Dovecot] maildir-dbox hybrid

2010-10-21 Thread Roland Stuehmer
Timo Sirainen wrote: > Yeah. Not very nice either. Here's a 3rd option: Apply the attached > patch to v1.2 and then open all users' all mailboxes (write a script > or something). It should convert all maildir files to dbox files. Try > with one account first to make sure it works. :) Hi Timo, lis

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Andre
On Thu, 2010-10-21 at 23:01 +0100, Timo Sirainen wrote: > So you're using dbox? Yeah, you can set home like that then. Although with > dbox because of the mailboxes/ directory it's actually not bad to set home = > mail dir. Yeah, I'm using mdbox. I'll set home = mail dir then and upgrade to 2.0.

Re: [Dovecot] 2.0.5 Error: Timeout waiting for handshake from auth server.

2010-10-21 Thread Robert Fantini
check your mail log, if you get this: Authentication service cannot retrieve authentication info then it could be related to this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566844 if you do have that issue let me know, and I'll look up our notes to post a work around. On Thu, Oct 21,

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Timo Sirainen
On 22.10.2010, at 0.53, Andre wrote: > is it safe to set the home directory to, say, > > /var/spool/imap/$hash/$username/home > > ? I assume it is, since the mailboxes are in the 'mailboxes' directory > and thus the conflicts mentioned in the wiki can't happen, right? So you're using dbox? Yea

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Timo Sirainen
On 21.10.2010, at 22.58, Timo Sirainen wrote: > Looks like OS X has fcntl(F_PREALLOCATE), although it doesn't seem to produce > any visible results, other than giving ENOSPC error if I give too large of a > size (100 MB or so). Disk usage doesn't shrink though, so maybe it's more of > a hint?..

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Timo Sirainen
On 20.10.2010, at 17.53, Timo Sirainen wrote: >> "What you want is _physical_ preallocation, not speculative >> preallocation. i.e. look up XFS_IOC_RESVSP or FIEMAP so your >> application does _permanent_ preallocate past EOF. > > Oh, interesting. I didn't know that was possible. And even better

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Andre
On Thu, 2010-10-21 at 22:13 +0100, Timo Sirainen wrote: > This reminds me of a problem with missing home directory. That crash is fixed > in v2.0.6, but you should have a home directory set so that reject/vacation > messages won't be duplicated. http://wiki2.dovecot.org/VirtualUsers/Home Given m

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Timo Sirainen
On 21.10.2010, at 23.14, Andre wrote: > This shows up in the mail error when the sieve error happens. It seems > the sieve error is a side-effect of something else: > > Oct 21 17:58:11 box6 dovecot: lmtp(10424, > catia.comercial=industriacarvalho.com...@lmtp1.prv.f1.k8.com.br): Error: > lstat((nu

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Timo Sirainen
On 21.10.2010, at 19.14, Timo Sirainen wrote: > + mdbox: Added mdbox_preallocate_space setting (Linux+ext3/XFS only) ext4 of course, not ext3. Also requires Linux kernel v2.6.23 or newer and glibc 2.10 or newer.

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Timo Sirainen
On 21.10.2010, at 21.52, Odhiambo Washington wrote: > PS: Timo, in the options shown when one runs the configure script, should > the dbox option be removed? > > [r...@gw] ~wash/Tools/Dovecot/dovecot-2.0/dovecot-2.0.6# ./configure --help > | grep dbox > (maildir mbox dbox

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Charles Marcus
On 2010-10-21 4:52 PM, Odhiambo Washington wrote: > For the fun of it, i used --with-storages="maildir mbox dbox mdbox cydir" > (not intending to use all, but just to see) and this led `make` to fail with > something about dbox, so I simply removed it and got a successful compile. Its not dbox any

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Odhiambo Washington
On Thu, Oct 21, 2010 at 9:14 PM, Timo Sirainen wrote: > http://dovecot.org/releases/2.0/dovecot-2.0.6.tar.gz > http://dovecot.org/releases/2.0/dovecot-2.0.6.tar.gz.sig > >* Pre-login CAPABILITY includes IDLE again. Mainly to make > Blackberry > servers happy. >* auth: aut

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Andre
This shows up in the mail error when the sieve error happens. It seems the sieve error is a side-effect of something else: Oct 21 17:58:11 box6 dovecot: lmtp(10424, catia.comercial=industriacarvalho.com...@lmtp1.prv.f1.k8.com.br): Error: lstat((null)) failed: Bad address Oct 21 17:58:11 box6 dovec

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Miha Vrhovnik
"Stan Hoeppner" wrote on 21.10.2010 10:29:50: > >This will kill a huge amount of bot spam without dnsbl queries or >greylisting, both of which can be resource hogs and add serious latency: > >http://www.hardwarefreak.com/fqrdns.pcre > Stan, nice one. I'm wondering from where did you compile this

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Stan Hoeppner
Timo Sirainen put forth on 10/21/2010 9:52 AM: > On Wed, 2010-10-20 at 23:50 -0500, Stan Hoeppner wrote: >>> Oh, interesting. I didn't know that was possible. And even better: Linux >>> has fallocate() that can do it for other filesystems than just XFS. Or >>> looks like it's only XFS and ext4 (ext

[Dovecot] v2.0.6 released

2010-10-21 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.6.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.6.tar.gz.sig * Pre-login CAPABILITY includes IDLE again. Mainly to make Blackberry servers happy. * auth: auth_cache_negative_ttl default was 0 in earlier v2.0.x, but it

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Trever L. Adams
On 10/21/2010 07:37 AM, Fabricio Archanjo wrote: > Does someone run dspam or just me?? > I like very much this antispam solution. > I use it with Eugene's port/fork of dovecot-antispam to dovecot 2.0. I use it with amavisd. I use postfix in the mix. On machines where people don't care about danger

Re: [Dovecot] Correct permissions for base_dir??

2010-10-21 Thread Odhiambo Washington
On Thu, Oct 21, 2010 at 7:48 PM, Timo Sirainen wrote: > On Thu, 2010-10-21 at 19:42 +0300, Odhiambo Washington wrote: > > > Oct 21 16:33:18 lda: Error: userdb lookup: > > connect(/opt/dovecot2/var/run/auth-userdb) failed: Permission denied > > (euid=26(mailnull) egid=26(mailnull) missing +r perm:

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Jerry
On Thu, 21 Oct 2010 18:20:51 +0200 fake...@fakessh.eu articulated: > it is the webmail problem or postfix problem Or something else; or not! -- Jerry ✌ dovecot.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __

Re: [Dovecot] Correct permissions for base_dir??

2010-10-21 Thread Timo Sirainen
On Thu, 2010-10-21 at 19:42 +0300, Odhiambo Washington wrote: > Oct 21 16:33:18 lda: Error: userdb lookup: > connect(/opt/dovecot2/var/run/auth-userdb) failed: Permission denied > (euid=26(mailnull) egid=26(mailnull) missing +r perm: > /opt/dovecot2/var/run/auth-userdb, euid is not dir owner) It'

[Dovecot] Correct permissions for base_dir??

2010-10-21 Thread Odhiambo Washington
I am having problems with dovecot regarding base_dir: I have :: base_dir = /opt/dovecot2/var/run/ For some reason, I have to set permissions to(chmod -R 1777 /opt/dovecot2/var/) for dovecot to run properly, but when I start dovecot, I see this: [r...@gw] /opt/dovecot2/etc/dovecot# less /var/log/

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread fake...@fakessh.eu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 it is the webmail problem or postfix problem dearty dancing Le 21.10.2010 20:13, Andre a écrit : > Sigh. The webmail broke the configuration output. Here's it again. > > # 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-25-serv

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Andre
Sigh. The webmail broke the configuration output. Here's it again. # 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-25-server x86_64 Ubuntu 10.04.1 LTS auth_master_user_separator = * auth_mechanisms = plain login auth_username_chars = abcdefghijklmnopqrstuvwxyzabcdefghijklmnop

Re: [Dovecot] delivering mail to public mbox with permission 660?

2010-10-21 Thread Timo Sirainen
On Tue, 2010-10-19 at 14:30 -0700, RParr wrote: > I am running Ubuntu 10.04 packages postfix 2.7.0-1, dovecot-common, > dovecot-imapd, dovecot-pop3d, and dovecot-postfix (all version > 1.2.9-1ubuntu6.1). .. > My understanding, from the Dovecot wiki and other docs/postings is that > the folders

Re: [Dovecot] Question about Client Certificates

2010-10-21 Thread Timo Sirainen
On Mon, 2010-10-18 at 23:17 +0100, William Gallafent wrote: > In other words, I want "ssl_require_client_cert = yes" for remote > connections (on port 993), but "ssl_require_client_cert = no" for > local connections using non-tls imap on port 143. Is this possible? With v2.0, yes. With v1.2 .. I

Re: [Dovecot] 2.0.5 Error: Timeout waiting for handshake from auth server.

2010-10-21 Thread Timo Sirainen
On Thu, 2010-10-21 at 10:57 +0300, Veiko Kukk wrote: > Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from > auth server. my pid=13338, input bytes=0 auth process is hanging or imap-login is connecting to wrong server. First try deleting everything from Dovecot's base_dir (/va

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread fake...@fakessh.eu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 21.10.2010 16:13, an...@digirati.com.br a écrit : > Em 21/10/2010, Stephan Bosch escreveu: > >   Output from: dovecot -n > > # 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-25-server x86_64 Ubuntu 10.04

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Charles Marcus
On 2010-10-21 10:40 AM, William Blunn wrote: > On 21/10/2010 14:25, Charles Marcus wrote: >> Reiserfs is not 'kaput', it is still being maintained in the linux >> kernel (both v3 and work is ongoing for v4), and will be for the >> foreseeable future. > > For the benefit of anyone reading this and

Re: [Dovecot] bug with null pointer

2010-10-21 Thread Timo Sirainen
On Thu, 2010-10-21 at 17:08 +0200, Tobias Daucher wrote: > we found a serious bug while testing our migration scripts. > in Solaris (or other system 5) the user variable is not always set. > Dsync is not very happy about that and crashes with an segmentation fault. Thanks, fixed: http://hg.dovecot

[Dovecot] bug with null pointer

2010-10-21 Thread Tobias Daucher
Hi, we found a serious bug while testing our migration scripts. in Solaris (or other system 5) the user variable is not always set. Dsync is not very happy about that and crashes with an segmentation fault. After hours of debugging and TWOE simple lines # USER=$LOGNAME # export USER the problem wa

Re: [Dovecot] allow_nets and local sockets

2010-10-21 Thread Timo Sirainen
On Thu, 2010-10-21 at 16:37 +0200, Oliver Eales wrote: > *virtual_transport = lmtp:unix:private/dovecot-lmtp * LMTP does a userdb lookup normally. > *Oct 21 15:48:03 auth: Info: passdb(username): allow_nets check failed: > Remote IP not known So this shouldn't be happening. Are you using userd

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Timo Sirainen
On Wed, 2010-10-20 at 23:50 -0500, Stan Hoeppner wrote: > > Oh, interesting. I didn't know that was possible. And even better: Linux > > has fallocate() that can do it for other filesystems than just XFS. Or > > looks like it's only XFS and ext4 (ext3 doesn't support it). I don't > > know if other

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread William Blunn
On 21/10/2010 14:25, Charles Marcus wrote: Reiserfs is not 'kaput', it is still being maintained in the linux kernel (both v3 and work is ongoing for v4), and will be for the foreseeable future. For the benefit of anyone reading this and wondering "Well is it kaput or not?": Charles and I are

[Dovecot] allow_nets and local sockets

2010-10-21 Thread Oliver Eales
Hello, i am running dovevot 2.0.5 using ldap authentication with the allow_nets paramter to limit access to some local networks. The problem is, when i want to use the local lmtp socket from postfix *virtual_transport = lmtp:unix:private/dovecot-lmtp * i get the follwing error: *Oct 21 15:48

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Denny Lin
On Thu, Oct 21, 2010 at 10:18:46AM -0400, Jerry wrote: > On Thu, 21 Oct 2010 21:52:38 +0800 > Denny Lin articulated: > > > Oh yeah, I forgot to mention that. A better solution would be to check > > the rDNS or SPF record and do sender verification if it doesn't match. > > Actually, "SPF" has bee

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Jerry
On Thu, 21 Oct 2010 21:52:38 +0800 Denny Lin articulated: > Oh yeah, I forgot to mention that. A better solution would be to check > the rDNS or SPF record and do sender verification if it doesn't match. Actually, "SPF" has been going out of vogue for awhile now and sensible mail admins do not m

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Charles Marcus
On 2010-10-21 9:37 AM, Fabricio Archanjo wrote: > Does someone run dspam or just me?? > I like very much this antispam solution. I *much* prefer ASSP myself... Vastly easier to install/configure than dspam, and more effective too imnsho, *especially out of the box, but even also after dspam is pr

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Paweł Madej
On Thu, 21 Oct 2010 11:37:40 -0200, Fabricio Archanjo wrote: Does someone run dspam or just me?? I like very much this antispam solution. I use dspam + sqlgrey + policyd-weight to prevent spam. 60% rejects are invalid recipient drop 30% nonreturning from sqlgrey 10% goes to dspam with autole

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread andre
Em 21/10/2010, Stephan Bosch escreveu: >   Output from: dovecot -n # 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-25-server x86_64 Ubuntu 10.04.1 LTS  auth_master_user_separator = * auth_mechanisms = plain login auth_username_chars = abcdefghijklmnopq

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Denny Lin
On Thu, Oct 21, 2010 at 09:26:46AM -0400, Charles Marcus wrote: > On 2010-10-20 10:18 PM, Denny Lin wrote: > > Postfix's address verification is also quite useful for popular domains > > like gmail.com, hotmail.com, yahoo.com, etc. > > If you mean you are using *sender* address verification on the

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Fabricio Archanjo
Does someone run dspam or just me?? I like very much this antispam solution. On 10/21/10, Charles Marcus wrote: > On 2010-10-20 10:18 PM, Denny Lin wrote: >> Postfix's address verification is also quite useful for popular domains >> like gmail.com, hotmail.com, yahoo.com, etc. > > If you mean you

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Charles Marcus
On 2010-10-20 10:18 PM, Denny Lin wrote: > Postfix's address verification is also quite useful for popular domains > like gmail.com, hotmail.com, yahoo.com, etc. If you mean you are using *sender* address verification on these domains, you will eventually get blacklisted by them if your system has

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Charles Marcus
On 2010-10-21 6:58 AM, William Blunn wrote: > Though in the case of the "small number of large files" (i.e. the > opposite of ReiserFS's strength), which you would get with mbox and > mdbox, Good point... > one would have to ask what upside ReiserFS would bring to the party > which would outweigh

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread Stephan Bosch
Op 21-10-2010 14:29, an...@digirati.com.br schreef: Hello, I've been getting these messages in dmesg: [1663649.206652] lmtp[4961]: segfault at 18 ip 7fb5b6aab1f0 sp7fff7e3b5468 error 4 in libdovecot-sieve.so.0.0.0[7fb5b6a6d000 +66000] Dovecot's version is 2.0.3. Is this known? What

[Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread andre
Hello, I've been getting these messages in dmesg: [1663649.206652] lmtp[4961]: segfault at 18 ip 7fb5b6aab1f0 sp7fff7e3b5468 error 4 in libdovecot-sieve.so.0.0.0[7fb5b6a6d000 +66000] Dovecot's version is 2.0.3. Is this known? What other kind of information could be useful to help find

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread William Blunn
On 20/10/2010 18:32, Charles Marcus wrote: On 2010-10-20 12:53 PM, Timo Sirainen wrote: Oh, interesting. I didn't know that was possible. And even better: Linux has fallocate() that can do it for other filesystems than just XFS. Or looks like it's only XFS and ext4 (ext3 doesn't support it).

Re: [Dovecot] minimize mbox mdbox fragmentation

2010-10-21 Thread Jonathan Siegle
On Oct 20, 2010, at 10:14 PM, Timo Sirainen wrote: > On 21.10.2010, at 3.12, Denny Lin wrote: > >> On Wed, Oct 20, 2010 at 06:45:17PM +0100, Timo Sirainen wrote: >>> On Wed, 2010-10-20 at 13:32 -0400, Charles Marcus wrote: On 2010-10-20 12:53 PM, Timo Sirainen wrote: > Oh, interesting.

Re: [Dovecot] Error or bug?

2010-10-21 Thread Daniel Luttermann
Robby Gunawan wrote on 10/21/2010: how do I install / update to my system? Normally you should patch the file(s) in the source package. You can compile Dovecot from the official sources (apply the patch before), download/install Dovecot from Mercurial (hg.dovecot.org) or open a bugreport

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Daniel Luttermann
Jose Luis Faria wrote on 10/20/2010: Hello people, I am using now qmail in cluster with LDAP + Interscan Messaging Security Suite from Trendmicro. I need to develop a new solution with: - postfix - dovecot - anti-spam - anti-malware. I am thankful any help or suggestion for anti-spam a

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Daniel Luttermann
Denny Lin wrote on 10/20/2010: Currently, I am using a setup with Postfix + Dovecot as well. We're using these DNSBL blacklists: zen.spamhaus.org b.barracudacentral.org cbl.abuseat.org bl.spamcop.net dnsbl.njabl.org info: it's not needed to use cbl.abuseat.org AND zen.spamhaus.org because

Re: [Dovecot] anti-spam+anti-malware suggestions

2010-10-21 Thread Stan Hoeppner
Jose Luis Faria put forth on 10/20/2010 11:20 AM: > Hello people, > > I am using now qmail in cluster with LDAP + Interscan Messaging Security > Suite from Trendmicro. > > I need to develop a new solution with: > - postfix > - dovecot > - anti-spam > - anti-malware. > > I am thankful any hel

[Dovecot] 2.0.5 Error: Timeout waiting for handshake from auth server.

2010-10-21 Thread Veiko Kukk
Hello, Upgraded from 1.2.x to 2.0.5, converted configuration as described in http://wiki2.dovecot.org/Upgrading/2.0 and now I'm unable to log in to imap server. Dovecot error.log shows: Oct 21 09:52:48 imap-login: Error: Timeout waiting for handshake from auth server. my pid=13338, input byt

Re: [Dovecot] Error or bug?

2010-10-21 Thread Daniel Luttermann
Robby Gunawan wrote on 10/21/2010: Dear all, Please help me, I just change from vm-pop3d to dovecot, installed from rpm that provided by dovecot.org, I got this error for random email user Command died with signal 11: "/usr/libexec/dovecot/deliver" maybe this patch helps? http://hg.dove