Re: [Dovecot] wrong permission

2008-07-23 Thread Cor Bosman
> > Jun 26 00:02:34 userimap13.xs4all.nl dovecot: IMAP(xxx): > > file_dotlock_create(/var/spool/mail/dovecot-control/g/gl/xxx/INBOX/.Apple > > Mail To Do/dovecot-uidlist) failed: Permission denied > > > > userimap1# ls -al "/var/spool/mail/dovecot-control/g/gl/xxx/INBOX/.Apple > > Mail To Do" t

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Johannes Berg
On Wed, 2008-07-23 at 23:44 +0100, Nuno Lopes wrote: > I think that the question wasn't to the point. The problem we have is in > the transition phase. At one point we have emails with the header and > emails that haven't got it but we don't want users to notice the > introduction of this plugi

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Nuno Lopes
Hi Hugo, I'll have a look into that one. For some strange reason I hadn't seen things that way. Thanks both to you and Johannes, -- Nuno Lopes Hugo Monteiro wrote: I recently installed an IMAP server with dovecot and the dovecot antispam plugin with dspam backend. If I configure dspam to no

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Hugo Monteiro
> >>> I recently installed an IMAP server with dovecot and the dovecot >>> antispam plugin with dspam backend. >>> >>> If I configure dspam to not include the signature in the >>> X-DSPAM-Signature header will I be able to move mail into SPAM folder? >>> >> >> Not with the dspam backend. >> >> joha

Re: [Dovecot] Problem: delivery with mode 600 into shared folder

2008-07-23 Thread Sergey Ivanov
Timo Sirainen wrote: Did you create dovecot-shared file to the maildir as http://wiki.dovecot.org/SharedMailboxes specifies? But one strange thing remains: I can tag messages (lime "Important", "Work", "Personal" and so on in Thunderbird) and tags are preserved at Thunderbird restart, but a

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Nuno Lopes
I recently installed an IMAP server with dovecot and the dovecot antispam plugin with dspam backend. If I configure dspam to not include the signature in the X-DSPAM-Signature header will I be able to move mail into SPAM folder? Not with the dspam backend. johannes I think that the q

[Dovecot] v1.1.2 released

2008-07-23 Thread Timo Sirainen
http://dovecot.org/releases/1.1/dovecot-1.1.2.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.2.tar.gz.sig Development of new features in this release and the upcoming multi-master replication are sponsored by Directi (www.directi.com). Lucene indexing is currently deprecated in favor of the

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: make clean shouldn't ever be necessary, since automake does dependency tracking.. I thought so too, but it was fine on SuSE when I did a "make clean". Anyway, it didn't make any difference on Solaris 8 :( I can try this in Solaris 10, but I don't really see why the OS

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 02:51 +0300, Timo Sirainen wrote: > > >>> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > > >>> Cached message offset 75979 is invalid for mbox file (read-only mbox > > >>> stream) > > > > > > I'm not able to reproduce this at least on Linux.. > > >

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 00:47 +0100, Chris Wakelin wrote: > > Timo Sirainen wrote: > > On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: > >> Well, now it doesn't assert crash, but (on the Solaris 8 machine): > >> > >>> dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > >

Re: [Dovecot] Problem: delivery with mode 600 into shared folder

2008-07-23 Thread seriv
Timo, thank you! I did not created these files. I'm sorry for asking here, I have spent at least couple hours but did not see the thing. Now everything working great! -- Sergey. - "Timo Sirainen" <[EMAIL PROTECTED]> wrote: > On Wed, 2008-07-23 at 18:57 -0400, [EMAIL PROTECTED] > wrote:

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: Well, now it doesn't assert crash, but (on the Solaris 8 machine): dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : Cached message offset 75979 is invalid for mbox file (read-only mbox stream)

Re: [Dovecot] Conversion help

2008-07-23 Thread Timo Sirainen
On Mon, 2008-07-21 at 12:01 -0400, Jason Frisvold wrote: > I'm working on converting my server from using bincimap to dovecot. I > seem to be having some trouble with folders, however. Binc was set up > like this : > > depot = "IMAPdir", /* Use Maildir++ style .. >

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Thu, 2008-07-24 at 00:34 +0100, Chris Wakelin wrote: > Well, now it doesn't assert crash, but (on the Solaris 8 machine): > > > dovecot: Jul 24 00:22:22 Error: IMAP 13458 xxx.xxx.xxx.xxx : > > Cached message offset 75979 is invalid for mbox file (read-only mbox stream) I'm not able t

Re: [Dovecot] v1.1.2 release candidate

2008-07-23 Thread Timo Sirainen
On Mon, 2008-07-21 at 17:33 +0200, Arkadiusz Miskiewicz wrote: > On Monday 21 July 2008, Timo Sirainen wrote: > > On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote: > > > On Monday 21 July 2008, Timo Sirainen wrote: > > > > + Maildir: Add ,S= to maildir filename whenever quota

Re: [Dovecot] DoveCot IMAP and "inconsistent state" messages

2008-07-23 Thread Timo Sirainen
On Tue, 2008-07-22 at 01:11 +0200, Christer Mjellem Strand wrote: > Jul 21 14:27:41 betty dovecot: IMAP(foobar): Maildir > /var/vpopmail/domains/foobar.baz/foobar/Maildir sync: UID inserted in the > middle of mailbox (4412 > 4385, file = 1214817167.16333_0.betty:2,RST) Show your dovecot -n outpu

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Chris Wakelin
Timo Sirainen wrote: On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote: I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit). I get a assert-crash when using a gzipped mbox folder .. istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion failed: (input->v_offset

Re: [Dovecot] Problems with deliver and account resolving

2008-07-23 Thread Timo Sirainen
On Tue, 2008-07-22 at 02:04 +0200, Andreas Podgurski wrote: > dovecot: Jul 22 01:48:13 Info: auth(default-listen): > auth(Andreas.Podgurski_at_MediaGUILD.de): username changed > Andreas.Podgurski_at_MediaGUILD.de -> SunAdmin deliver ignores this username change. It probably shouldn't, but I'm n

Re: [Dovecot] v1.1.2 release candidate

2008-07-23 Thread Timo Sirainen
On Tue, 2008-07-22 at 11:24 +0200, Alessio Cecchi wrote: > have you read this thread on vpopmail? > > http://www.mail-archive.com/dovecot@dovecot.org/msg11289.html This talks about vchkpw instead of the direct vpopmail library support. Which one do you want to use? Anyway implemented this for ch

Re: [Dovecot] Quota

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 10:58 -0300, M. Rodrigo Monteiro wrote: > Hello! > > This might be an easy question, but here it goes: how can I know the > quota of an determined user? > I'm trying to use maildir quota... Log in as the user (http://wiki.dovecot.org/Authentication/MasterUsers may help) and

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote: > I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit). > > I get a assert-crash when using a gzipped mbox folder .. > istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion > failed: (input->v_offset == 0) Fixed: ht

Re: [Dovecot] cosmetic: "userdb" checkpassword

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 20:19 +0200, Heiko Schlichting wrote: > Hi, > > $ dovecot --build-options > Build options: ioloop=epoll notify=inotify > Mail storages: maildir > SQL drivers: > Passdb: checkpassword > Userdb: checkpassword prefetch > > Isn't "checkpassword" misplaced

Re: [Dovecot] Problem authenticating iPod Touch

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 10:52 -0600, Mark Leisher wrote: > Given the (slightly edited) config info below, iPod Touch users are > unable to connect, leaving the following message in the log file: > > dovecot: Jul 23 10:00:40 Info: imap-login: Disconnected (auth failed, 0 > attempts): rip=1.2.3.4, l

Re: [Dovecot] Problem: delivery with mode 600 into shared folder

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 18:57 -0400, [EMAIL PROTECTED] wrote: > Hi, > I have a problem, delivery called from /etc/aliases file by pipe delivers > with mode 0600. > I need system users with shared mail folders (Maildir format). > When I changed alias to pipe to shell wrapper with mode 002 set in it

[Dovecot] Problem: delivery with mode 600 into shared folder

2008-07-23 Thread seriv
Hi, I have a problem, delivery called from /etc/aliases file by pipe delivers with mode 0600. I need system users with shared mail folders (Maildir format). When I changed alias to pipe to shell wrapper with mode 002 set in it, nothing changed. MTA is sendmail, OS Solaris, and dovecot version 1

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Kai Schaetzl
Jack Stewart wrote on Wed, 23 Jul 2008 10:29:06 -0700: > We you run 'netstat -tan' (or equivalent), what state are the packets > in? If it is just a bunch of processes with no active connections then > it should not be a big deal. Well, the point is they should not have been there ;-) The proce

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Matt
> and I notice that dovecot doesn't handle the brute-force attacks too nice. > I reduced the limit a bit to some reasonable looking value: > login_max_processes_count = 32 > to stop them earlier and the number of processes stops at that figure when > an attack happens. Somewhat off original topic.

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Kai Schaetzl
Bill Landry wrote on Wed, 23 Jul 2008 13:18:44 -0700: > Kai, you can test your regex using "fail2ban-regex". Thanks for the answer. Yeah, I found that in the meantime. Great little helper. For some reason I cannot get any rule that ends in $ to work, so I've now come up with failregex = dovec

Re: [Dovecot] tcp-wrappers.patch

2008-07-23 Thread Frank Elsner
On Wed, 23 Jul 2008 19:05:13 +0200 Edgar Fuß wrote: > > Why this? I do this with iptables. > Hm. Mainly because I find hosts.{allow,deny} easier to handle in this case > than (i)pf.conf. It's also somewhat more staightforward to maintain a single > pair of hosts.* files consistent accross all mai

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Bill Landry
Kai Schaetzl wrote: Charles Marcus wrote on Wed, 23 Jul 2008 10:30:30 -0400: The best answer is to use a tool made for this kind of job, like fail2ban. I found a few fail2ban definitions on the web, but all seem to be either very outdated or plain wrong for RHEL/CentOS. I've come so far as t

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Johannes Berg
On Wed, 2008-07-23 at 17:54 +0100, Isabel Estêvão wrote: > Hi > > Which dovecot-antispam backend (must allow the movement of mail into > SPAM folder) integrates with amavis and spamassassin? You should probably use the 'mailtrain' plugin since it just calls an external program, which would usuall

[Dovecot] cosmetic: "userdb" checkpassword

2008-07-23 Thread Heiko Schlichting
Hi, $ dovecot --build-options Build options: ioloop=epoll notify=inotify Mail storages: maildir SQL drivers: Passdb: checkpassword Userdb: checkpassword prefetch Isn't "checkpassword" misplaced in the userdb list? For me it seems that USERDB_CHECKPASSWORD is only used in

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Isabel Estêvão
Hello, If I use dovecot as LDA how do I move old mails without signature? Regards, Isabel Michael A. Revenko wrote: > Hello, isabel.estevao! > You wrote to on Wed, 23 Jul 2008 17:26:54 +0100: > > ie> I recently installed an IMAP server with dovecot and the dovecot > ie> antispam plugin with

Re: [Dovecot] \HasNoChildren versus \Noinferiors in ACL plugin and no CREATE permission

2008-07-23 Thread Timo Sirainen
Let's see what the wiser people have to say: http://mailman1.u.washington.edu/pipermail/imap-protocol/2008-July/000917.html signature.asc Description: This is a digitally signed message part

Re: [Dovecot] \HasNoChildren versus \Noinferiors in ACL plugin and no CREATE permission

2008-07-23 Thread Heiko Schlichting
> Any idea how other servers do this? Cyrus at least give * LIST (\Noinferiors) "/" "INBOX" but also uses \HasNoChildren for all other folders with read permission only. I noticed the difference between Cyrus and dovecot for INBOX. > I don't think \Noinferiors would be > correct, because:

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Jack Stewart
Hi, We you run 'netstat -tan' (or equivalent), what state are the packets in? If it is just a bunch of processes with no active connections then it should not be a big deal. We've seen something on our SMTP servers that sounds similar (our IMAP servers haven't been hit yet). The problem is

Re: [Dovecot] Mailbox_module_context question

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 12:07 -0400, Daniel Brosseau wrote: > Hi, > > I am new to the dovecot source and would like to know why the > mailbox_module_context has a pointer to the mail_storage_module_register and > not to a mailbox_module_register. Hmm. I don't actually remember anymore all that mu

Re: [Dovecot] tcp-wrappers.patch

2008-07-23 Thread Edgar Fuß
> Why this? I do this with iptables. Hm. Mainly because I find hosts.{allow,deny} easier to handle in this case than (i)pf.conf. It's also somewhat more staightforward to maintain a single pair of hosts.* files consistent accross all mail servers than to deal with individual packet filter rules.

Re: [Dovecot] \HasNoChildren versus \Noinferiors in ACL plugin and no CREATE permission

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 18:47 +0200, Heiko Schlichting wrote: > Hi, > > using ACL plugin with dovecot 1.1.1 I expected that a Maildir was listed as > > * LIST (\NoInferiors) "/" "Foldername" > > if "create" (k) permission is not set in ACLs and there doesn't exists any > subfolders. But to my

[Dovecot] Problem authenticating iPod Touch

2008-07-23 Thread Mark Leisher
Given the (slightly edited) config info below, iPod Touch users are unable to connect, leaving the following message in the log file: dovecot: Jul 23 10:00:40 Info: imap-login: Disconnected (auth failed, 0 attempts): rip=1.2.3.4, lip=5.6.7.8, TLS handshaking: Disconnected Even with maximum lo

[Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Isabel Estêvão
Hi Which dovecot-antispam backend (must allow the movement of mail into SPAM folder) integrates with amavis and spamassassin? Regards, Isabel

[Dovecot] \HasNoChildren versus \Noinferiors in ACL plugin and no CREATE permission

2008-07-23 Thread Heiko Schlichting
Hi, using ACL plugin with dovecot 1.1.1 I expected that a Maildir was listed as * LIST (\NoInferiors) "/" "Foldername" if "create" (k) permission is not set in ACLs and there doesn't exists any subfolders. But to my surprise, dovecot gives the following output: * LIST (\HasNoChildren) "

Re: [Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread Johannes Berg
> I recently installed an IMAP server with dovecot and the dovecot > antispam plugin with dspam backend. > > If I configure dspam to not include the signature in the > X-DSPAM-Signature header will I be able to move mail into SPAM folder? Not with the dspam backend. johannes signature.asc Des

[Dovecot] Dovecot antispam (X-DSPAM-Signature)

2008-07-23 Thread isabel.estevao
Hi, I recently installed an IMAP server with dovecot and the dovecot antispam plugin with dspam backend. If I configure dspam to not include the signature in the X-DSPAM-Signature header will I be able to move mail into SPAM folder? Regards, Isabel

[Dovecot] Mailbox_module_context question

2008-07-23 Thread Daniel Brosseau
Hi, I am new to the dovecot source and would like to know why the mailbox_module_context has a pointer to the mail_storage_module_register and not to a mailbox_module_register. From what I have understood, if a context is first added to the mailbox.module_contexts array using the mail_storage_modu

Re: [Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 11:42 -0400, John Wells wrote: > Thanks Timo...from what I know of Solr, it can handle it. But I'm > curious how the integration works...specifically: > > - When are messages added to Solr? Is it only when new ones arrive, or > can older messages be injected as well? Current

Re: [Dovecot] Squat indexing a Maildir of over 600 GB?

2008-07-23 Thread John Wells
On Mon, Jul 21, 2008 at 1:20 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Mon, 2008-07-21 at 12:55 -0400, John Wells wrote: >> On Mon, Jul 21, 2008 at 12:50 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> > On Mon, 2008-07-21 at 12:37 -0400, John Wells wrote: >> >> Guys, >> >> >> >> We have a

Re: [Dovecot] openbsd macppc

2008-07-23 Thread Brad
On Wednesday 23 July 2008 00:29:48 Scott Murman wrote: > i run my server (web, email, calendar, etc.) off a mac mini ppc. > it's a beautiful thing for our modest needs (quiet, low power, > stable), but i'm looking at switching it to a vanilla bsd. has > anyone tried dovecot on an openbsd (or sim

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Kai Schaetzl
Charles Marcus wrote on Wed, 23 Jul 2008 10:30:30 -0400: > The best answer is to use a tool made for this kind of job, like fail2ban. I found a few fail2ban definitions on the web, but all seem to be either very outdated or plain wrong for RHEL/CentOS. I've come so far as to this with the regex

Re: [Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Charles Marcus
On 7/23/2008, Kai Schaetzl ([EMAIL PROTECTED]) wrote: I had this mailing list searched for "brute-force" to see how others handle this and what dovecot provides to stop these attacks. The best answer is to use a tool made for this kind of job, like fail2ban. But as to why the processes remain

Re: [Dovecot] 1.1.1-1 gotcha with Fedora Rawhide package

2008-07-23 Thread Thomas Harold
Kenneth Porter wrote: I just installed the Rawhide package on my CentOS 5 system. The one item that bit me is that the config file defaults to using interface "[::]" so it only listens on IPv6. (This is from a patch in the package that changes the upstream default of "*", so it only affects those

[Dovecot] Quota

2008-07-23 Thread M. Rodrigo Monteiro
Hello! This might be an easy question, but here it goes: how can I know the quota of an determined user? I'm trying to use maildir quota... Regards, Rodrigo. -- M. Rodrigo Monteiro [EMAIL PROTECTED] "Free as in Freedom, not free as in free beer" Linux User # 403730

Re: [Dovecot] 1.0.14 -> 1.1.1: dovecot-uidlist errors

2008-07-23 Thread Edgar Fuß
> I'll ask the question on tech-kern. It looks like there is no method of explicitly syncing a drectory; you'll have to sync the individual files instead. The reason is probably that before the advent of soft updates, metadata write on FFS used to be syncronous anyway.

Re: [Dovecot] tcp-wrappers.patch

2008-07-23 Thread Frank Elsner
On Wed, 23 Jul 2008 15:31:20 +0200 Edgar Fuß wrote: > I'd like to see tcp-wrappers.patch getting integrated into dovecot. > I ported the original 1.0 patch to 1.1, but would prefer not to have to > maintain another local patch. > > As the name suggests, the patch adds libwrap support to dovecot.

[Dovecot] tcp-wrappers.patch

2008-07-23 Thread Edgar Fuß
I'd like to see tcp-wrappers.patch getting integrated into dovecot. I ported the original 1.0 patch to 1.1, but would prefer not to have to maintain another local patch. As the name suggests, the patch adds libwrap support to dovecot. We use is to limit access from outside our network to secure

[Dovecot] login processes from attacks staying for hours

2008-07-23 Thread Kai Schaetzl
I'm in the process of rolling out new setups with dovecot on CentOS 5.2 and I notice that dovecot doesn't handle the brute-force attacks too nice. I reduced the limit a bit to some reasonable looking value: login_max_processes_count = 32 to stop them earlier and the number of processes stops at th