Re: [Dovecot] Limit login attempts per connection?

2010-03-09 Thread Terry Barnum
> On Fri, 05.03.2010 at 09:44:35 +, Ed W wrote: >> I would be all in favour of a setting like this because it's easier >> to configure than fail2ban... There's also denyhosts. -Terry

[Dovecot] vacation script

2010-03-09 Thread Papp Tamás
hi All, One of my users created this sieve script via roundcube's avelsieve implementation: # This script has been automatically generated by avelsieve # (Sieve Mail Filters Plugin for Squirrelmail) # Warning: If you edit this manually, then the changes will not # be reflected in the users' f

Re: [Dovecot] fchown error upgrading from 0.99 to 1.2

2010-03-09 Thread Timo Sirainen
On 9.3.2010, at 23.00, Erick Perez wrote: > Mar 09 15:50:23 POP3(cwchbodega): Error: > fchown(/home/cwchbodega/mail/.imap/INBOX/dovecot.index.log.newlock, -1, > 12(mail)) failed: Operation not permitted (egid=653(cwchbodega), group based > on /var/mail/cwchbodega) .. > As I check the perms on the

[Dovecot] fchown error upgrading from 0.99 to 1.2

2010-03-09 Thread Erick Perez
Hi there, after upgrading from 0.99 to 1.2, the following errors appear in the error log: Mar 09 15:50:23 POP3(cwchbodega): Error: fchown(/home/cwchbodega/mail/.imap/INBOX/dovecot.index.log.newlock, -1, 12(mail)) failed: Operation not permitted (egid=653(cwchbodega), group based on /var/mail/cwchbo

Re: [Dovecot] Timeout while waiting for release of fcntl() lock for mbox file /var/mail/mailbox

2010-03-09 Thread Erick Perez
thanks Charlesim upgrading nowwil do another post if needed!! On Tue, Mar 9, 2010 at 3:06 PM, Charles Marcus wrote: > On 2010-03-09 3:03 PM, Erick Perez wrote: > > is this a problem in the 0.99 version? > > can i safely upgrade to 1.2? > > You'll have to , since 0.99 hasn't been supporte

Re: [Dovecot] Timeout while waiting for release of fcntl() lock for mbox file /var/mail/mailbox

2010-03-09 Thread Charles Marcus
On 2010-03-09 3:03 PM, Erick Perez wrote: > is this a problem in the 0.99 version? > can i safely upgrade to 1.2? You'll have to , since 0.99 hasn't been supported in a long, long, long time... ;) But as long as you can follow the directions for upgrading, you should be fine: http://wiki.dovecot

[Dovecot] Timeout while waiting for release of fcntl() lock for mbox file /var/mail/mailbox

2010-03-09 Thread Erick Perez
Hi there, im currently using dovecot 0.99.11 (dovecot-0.99.11-4.EL4) on Centos 4.4 i386 /var/log/maillog has started to produce several times per minute this entry: Mar 9 14:52:44 mail pop3(albrook): Timeout while waiting for release of fcntl() lock for mbox file /var/mail/albrook when this happ

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
Am 09.03.2010 um 19:02 schrieb Timo Sirainen: > > I guess this imap session was open while doveadm was running? > You are right.

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
Am 09.03.2010 um 19:01 schrieb Timo Sirainen: > Is it in the fixed m.59? The fixing/resyncing was supposed to preserve all > mails. > Actually 'm.59' was not rebuilt but it continued with new containers. Grepping for the content, it remained in the broken container only. Regards Thomas

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Timo Sirainen
On 9.3.2010, at 20.00, Thomas Leuxner wrote: > Am 09.03.2010 um 18:54 schrieb Thomas Leuxner: >> >> Could not resync it to the "Inbox" but the message is still in 'm.59.broken' >> and the source looks undamaged. Any easy way to restore? No biggie if it is >> lost, but just out of curiosity, onc

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Timo Sirainen
On 9.3.2010, at 19.54, Thomas Leuxner wrote: > Am 09.03.2010 um 17:00 schrieb Timo Sirainen: >> Oh, and make sure it's not empty because your client already cached it >> as empty message and doesn't realize it has changed on server. >> > > Could not resync it to the "Inbox" but the message is st

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
Am 09.03.2010 um 18:54 schrieb Thomas Leuxner: > > Could not resync it to the "Inbox" but the message is still in 'm.59.broken' > and the source looks undamaged. Any easy way to restore? No biggie if it is > lost, but just out of curiosity, once an *important* mail would be affected :) > > Thom

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
Am 09.03.2010 um 17:00 schrieb Timo Sirainen: > Oh, and make sure it's not empty because your client already cached it > as empty message and doesn't realize it has changed on server. > Could not resync it to the "Inbox" but the message is still in 'm.59.broken' and the source looks undamaged. A

Re: [Dovecot] 2.0beta3 10876:370ee9717a6c broke listen on literal IPv6 address

2010-03-09 Thread Timo Sirainen
On 9.3.2010, at 14.47, Bernhard Schmidt wrote: > * New revision (10876:370ee9717a6c) in dovecot Mercurial repository: >- config: Forgot to add header file. > > mail.svr02.mucip.net:~# dovecot -F -c /etc/dovecot/dovecot.conf > doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:

Re: [Dovecot] Dovecot 2.0beta3: Latest HG crashed upon LMTP Delivery

2010-03-09 Thread Bernhard Schmidt
Thomas Leuxner wrote: >> Yeah, it's this one. I'll probably revert it soon. I did it mostly while >> trying to fix istream-zlib bugs, but hopefully zlib won't break when >> that change is reverted :) Started my stress test again.. > Just tested and does not appear to be fixed by changeset 10875 >

[Dovecot] 2.0beta3 10876:370ee9717a6c broke listen on literal IPv6 address

2010-03-09 Thread Bernhard Schmidt
Hi, apparently the following change in dovecot hg * New revision (10876:370ee9717a6c) in dovecot Mercurial repository: - config: Forgot to add header file. broke listen = 83.170.6.69, 2001:1b10:1000::110:1:1 mail.svr02.mucip.net:~# dovecot -F -c /etc/dovecot/dovecot.conf doveconf: Warn

Re: [Dovecot] Cannot create auth-master file

2010-03-09 Thread Greg Frith
Hi all, Thanks to Pascal here for suggesting that I pass the configuration file to the deliver process. In fact, what I have done is uninstalled the Ubuntu dovecot-postfix package in favour of a 'clearer' postfix, dovecot etc stack of my own. Having dug a big deeper in various ubuntu forums,

Re: [Dovecot] Cannot create auth-master file

2010-03-09 Thread Pascal Volk
On 03/09/2010 05:02 PM Greg Frith wrote: > Hi all, > > Sorry, I thought a migration to /etc/dovecot/dovecot-postfix.conf would do > the trick, but it would appear (after several hours of grappling with a new > problem) that 'something' is still reading configuration information from > /etc/dove

Re: [Dovecot] Cannot create auth-master file

2010-03-09 Thread Greg Frith
Hi all, Sorry, I thought a migration to /etc/dovecot/dovecot-postfix.conf would do the trick, but it would appear (after several hours of grappling with a new problem) that 'something' is still reading configuration information from /etc/dovecot/dovecot.conf. Essentially I've been having probl

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 17:59 +0200, Timo Sirainen wrote: > On Tue, 2010-03-09 at 16:40 +0100, Thomas Leuxner wrote: > > With the latest fix from Mercurial it does not crash anymore. The message > > shows empty and the container in question 'm.59.broken' stays in the > > 'storage' dir. Is this expe

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 16:40 +0100, Thomas Leuxner wrote: > With the latest fix from Mercurial it does not crash anymore. The message > shows empty and the container in question 'm.59.broken' stays in the > 'storage' dir. Is this expected behavior and am I save to delete the broken > container, o

Re: [Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
With the latest fix from Mercurial it does not crash anymore. The message shows empty and the container in question 'm.59.broken' stays in the 'storage' dir. Is this expected behavior and am I save to delete the broken container, or how would I clean up the corruption? Regards Thomas

Re: [Dovecot] Solaris + Postfix + Dovecot

2010-03-09 Thread Zilon X
Hello Thomas, Thank you - but I found nothing specific to Solaris there. Already installed Postfix 2.7.0, Mysql 5.1, Dovecot 1.2.10, and Posfixadmin 2.3 on a Solaris 10 Sparc zone. Still a lot of quirks on configuration here. I also want to configure Roundcube 0.3.1 with this Dovecot/Postfix inst

Re: [Dovecot] Dovecot v2.0.beta3 quota using userdb

2010-03-09 Thread Timo Sirainen
On Mon, 2010-02-22 at 21:39 +0100, e-frog wrote: > Hmm. This patch doesn't seem to fix it for me. There is still no "Quota > rule" in the logs as before... This should finally fix it: http://hg.dovecot.org/dovecot-2.0/rev/ce166f70ea71 signature.asc Description: This is a digitally signed messa

Re: [Dovecot] Solaris + Postfix + Dovecot

2010-03-09 Thread Thomas Leuxner
On Tue, Mar 09, 2010 at 10:48:59AM -0300, Zilon X wrote: > Hello Thomas, > > Thank you - but I found nothing specific to Solaris there. > Already installed Postfix 2.7.0, Mysql 5.1, Dovecot 1.2.10, and > Posfixadmin 2.3 on a Solaris 10 Sparc zone. > Still a lot of quirks on configuration here. >

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Robert Schetterer
Am 09.03.2010 14:41, schrieb Marcus Rueckert: > On 2010-03-09 14:30:14 +0100, Robert Schetterer wrote: >> sql storage would be a nice idea anyway for clustering loadbalancing >> setups etc > > looked into drbd? > > darix > jep, i ve tested it allready and will implement it soon but neverthel

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Robert Schetterer
Am 09.03.2010 13:33, schrieb Charles Marcus: > On 2010-03-09 6:23 AM, Marcio Merlone wrote: >> Anyway, a better solution to handle user account information than mysql >> is ldap (which I personally suggest) with pam. This can also handle all >> posix accounts, not just mail accounts, and thus impro

Re: [Dovecot] Solaris + Postfix + Dovecot

2010-03-09 Thread Thomas Leuxner
On Tue, Mar 09, 2010 at 09:58:19AM -0300, Zilon X wrote: > Please, > > Where can I find a tutorial or sample config for Dovecot on Solaris? > Thank you for any help! Did you try http://wiki.dovecot.org ? Regards Thomas

Re: [Dovecot] Dovecot 2.0beta3: Latest HG crashed upon LMTP Delivery

2010-03-09 Thread Thomas Leuxner
changeset 10876 370ee9717a6c "config: Forgot to add header file" seems to have fixed for LMTP. Thanks Thomas

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Robert Schetterer
Am 09.03.2010 14:40, schrieb Timo Sirainen: > On Tue, 2010-03-09 at 14:30 +0100, Robert Schetterer wrote: > >> sql storage would be a nice idea anyway for clustering loadbalancing >> setups etc > > And NoSQL storage would be even better for that :) My plan is still > http://www.dovecot.org/list/d

Re: [Dovecot] Solaris + Postfix + Dovecot

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 10:48 -0300, Zilon X wrote: > Thank you - but I found nothing specific to Solaris there. That's because there isn't really anything Solaris-specific on Dovecot configuration. Except maybe PAM, if you use system users, but for PAM there is Solaris-specific example in the wiki

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 14:30 +0100, Robert Schetterer wrote: > sql storage would be a nice idea anyway for clustering loadbalancing > setups etc And NoSQL storage would be even better for that :) My plan is still http://www.dovecot.org/list/dovecot/2009-August/041983.html, that would allow adding

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 14:41 +0100, Marcus Rueckert wrote: > On 2010-03-09 14:30:14 +0100, Robert Schetterer wrote: > > sql storage would be a nice idea anyway for clustering loadbalancing > > setups etc > > looked into drbd? DRBD is nice when all your users fit into a single server that is replic

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Marcus Rueckert
On 2010-03-09 14:30:14 +0100, Robert Schetterer wrote: > sql storage would be a nice idea anyway for clustering loadbalancing > setups etc looked into drbd? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org

Re: [Dovecot] Pigeonhole Sieve date extension

2010-03-09 Thread Edgar Fuß
> Most curious. Hm, I had two servers NFS-sharing mail data (and, in turn, dovecot.sieve*). One was at 1.2.3 and a sieve not supporting the date extension, the other one was at 1.2.7nb1 (meaning 1.2.7 plus e47eb506eebd) and I was getting errors also on that server. I updated the other one to 1.2

[Dovecot] Dovecot 2.0beta3: mdbox crash on corrupted mail (backtrace included)

2010-03-09 Thread Thomas Leuxner
Hi, captured a crash on mdbox with latest mercurial: Mar 9 13:56:28 spectre dovecot: imap(t...@leuxner.net): Corrupted dbox file /var/vmail/leuxner.net/tlx/mdbox/storage/m.59 (around offset=1438073): msg header has bad magic value Mar 9 13:56:28 spectre dovecot: imap(t...@leuxner.net): Corrup

[Dovecot] Solaris + Postfix + Dovecot

2010-03-09 Thread Zilon X
Please, Where can I find a tutorial or sample config for Dovecot on Solaris? Thank you for any help!

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Marcio Merlone
Em 9/3/2010 08:07, Charles Marcus escreveu: ??? You aren't listening. Storing *email* in mysql is a totally different concept from storing USER DATA in mysql. You do NOT have to switch to dbmail to change your config to start using MySQL for managing your user accounts. Personally, I would use

[Dovecot] Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)

2010-03-09 Thread mailinglists
Hi We run dovecot 1.2.10 on Solaris 10 and had a few days ago this error message in the logs: Mar 6 21:48:55 dovecot: [ID 583609 mail.crit] IMAP(username): Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1) Mar 6 21:

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Charles Marcus
On 2010-03-09 6:23 AM, Marcio Merlone wrote: > Anyway, a better solution to handle user account information than mysql > is ldap (which I personally suggest) with pam. This can also handle all > posix accounts, not just mail accounts, and thus improving consistence. > I'd use that for any system wi

Re: [Dovecot] Dovecot 2.0beta3: Latest HG crashed upon LMTP Delivery

2010-03-09 Thread Thomas Leuxner
On Tue, Mar 09, 2010 at 01:21:40PM +0200, Timo Sirainen wrote: > With LMTP or also with LDA? What's the backtrace now? It seems to be > working with me. > Only tested with LMTP as not using LDA anymore, but in the same manner, with a simple handshake: Program received signal SIGSEGV, Segmentatio

Re: [Dovecot] Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 12:13 +0100, mailingli...@belfin.ch wrote: > We run dovecot 1.2.10 on Solaris 10 and had a few days ago this error > message in the logs: > > Mar 6 21:48:55 dovecot: [ID 583609 mail.crit] IMAP(username): Panic: file > istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_

Re: [Dovecot] Using MySQL For Mailboxes?

2010-03-09 Thread Charles Marcus
On 2010-03-08 11:00 AM, Carlos Mennens wrote: > On Mon, Mar 8, 2010 at 10:55 AM, Timo Sirainen wrote: >> Dovecot supports looking up user information from MySQL, but not >> actually storing mails there. If you really wanted to store mails on >> MySQL, you'd have to use dbmail instead of Dovecot.

Re: [Dovecot] Dovecot 2.0beta3: Latest HG crashed upon LMTP Delivery

2010-03-09 Thread Timo Sirainen
On Tue, 2010-03-09 at 11:31 +0100, Thomas Leuxner wrote: > On Tue, Mar 09, 2010 at 01:04:44AM +0200, Timo Sirainen wrote: > > > > Yeah, it's this one. I'll probably revert it soon. I did it mostly while > > trying to fix istream-zlib bugs, but hopefully zlib won't break when > > that change is rev

Re: [Dovecot] Dovecot 2.0beta3: Latest HG crashed upon LMTP Delivery

2010-03-09 Thread Thomas Leuxner
On Tue, Mar 09, 2010 at 01:04:44AM +0200, Timo Sirainen wrote: > > Yeah, it's this one. I'll probably revert it soon. I did it mostly while > trying to fix istream-zlib bugs, but hopefully zlib won't break when > that change is reverted :) Started my stress test again.. > Just tested and does no

Re: [Dovecot] Cannot create auth-master file

2010-03-09 Thread Greg Frith
Hi Timo, Thanks very much for spotting this... 4 hours spent tweaking the wrong config... Doh! :-). All working now. :wq On 8 Mar 2010, at 22:35, Timo Sirainen wrote: > On Mon, 2010-03-08 at 22:06 +, Greg Frith wrote: >> gr...@rhy:/etc/dovecot$ sudo dovecot -n >> # 1.1.11: /etc/dovecot