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?

[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

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 help or

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 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

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] 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. I didn't know

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).

[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 innbsp;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

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 innbsp;libdovecot-sieve.so.0.0.0[7fb5b6a6d000 +66000] Dovecot's version is 2.0.3. Is this known?

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 the

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] 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 cmar...@media-brokers.com 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,

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 these

Re: [Dovecot] Segfault in libdovecot-sieve

2010-10-21 Thread andre
Em 21/10/2010, Stephan Bosch lt;step...@rename-it.nlgt; escreveu: gt; nbsp; 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 LTSnbsp; auth_master_user_separator = * auth_mechanisms = plain login auth_username_chars =

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

2010-10-21 Thread Paweł Madej
On Thu, 21 Oct 2010 11:37:40 -0200, Fabricio Archanjo farcha...@gmail.com 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

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

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

2010-10-21 Thread Jerry
On Thu, 21 Oct 2010 21:52:38 +0800 Denny Lin dennyli...@hs.ntnu.edu.tw 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

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 dennyli...@hs.ntnu.edu.tw 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.

[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

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

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 OSes

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 userdb

[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

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:

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] 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 lt;step...@rename-it.nlgt; escreveu: gt; nbsp; Output from: dovecot -n # 2.0.3 (02a9cf90ad02): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-25-server x86_64 Ubuntu

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

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 guess

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] 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's

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 Odhiambo Washington
On Thu, Oct 21, 2010 at 7:48 PM, Timo Sirainen t...@iki.fi 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

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

[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] 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 (ext3 doesn't

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

2010-10-21 Thread Miha Vrhovnik
Stan Hoeppner s...@hardwarefreak.com 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

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

Re: [Dovecot] v2.0.6 released

2010-10-21 Thread Odhiambo Washington
On Thu, Oct 21, 2010 at 9:14 PM, Timo Sirainen t...@iki.fi 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. *

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 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] 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((null))

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 my

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: Linux

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] 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? Yeah,

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

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.6

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, list,

[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

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

2010-10-21 Thread Nicholas Riley
In article njriley-5cb377.20303521102...@news.gmane.org, Nicholas Riley njri...@illinois.edu 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