[Dovecot] Dovecot 1.0rc30 message ownership set as root mail

2007-04-08 Thread Mel Llaguno
I've compiled the latest release candidate of dovecot and I am encountering a strange problem when mail is delivered. I have my installation configured to use Maildir. When messages arrive, they are placed in the correct user directory, but the ownership for individual messages is set to root a

Re: [Dovecot] Released 1.0.rc31

2007-04-08 Thread Oliver Schulze L.
Great! So we can have 1.0 Release Party! ;) Thanks Oliver Timo Sirainen wrote: mbox + NFS combination shouldn't break anymore. v1.0 still planned to be released next friday. -- Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Sean Kamath
On Apr 8, 2007, at 2:20 PM, Bill Cole wrote: You should *NEVER* have the clock jump back in time (except during DST changes -- yuk). DST changes (at least on sane systems) do not change the system clock time. Time zones are a cosmetic feature, i.e. how humans are shown a description of ti

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-08 Thread Frank Elsner
Sorry to answer my own question. On Sun, 8 Apr 2007 22:36:05 +0200 Frank Elsner wrote: [ ... ] > plugin: > convert_mail: mbox:~/:INBOX=/var/spool/mail/%u > convert_skip_broken_mailboxes: no After changing this to convert_mail = mbox:/home/%u:INBOX=/var/spool/mail/%u

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Bill Cole
At 12:03 PM -0700 4/8/07, Sean Kamath wrote: [...] It's not just dovecot, by the way. MANY things don't like have time move backward, like Cron, at, etc. Absolutely. You should *NEVER* have the clock jump back in time (except during DST changes -- yuk). DST changes (at least on sane sys

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-08 Thread Frank Elsner
On Fri, 09 Mar 2007 15:58:59 +0200 Timo Sirainen wrote: > On Fri, 2007-03-09 at 14:54 +0100, Sylvain Nemtua wrote: > > convert_mail: mbox:/var/mail:INBOX=/var/mail/%u > > This is most likely wrong. You're telling Dovecot that the user's > non-INBOX mailboxes are in /var/mail. If you have only inbo

Re: [Dovecot] IP Tables block for POP3 attacks with Dovecot

2007-04-08 Thread David McBride
Sean Kamath wrote: Gotta love PF on OpenBSD (and FreeBSD). It was a simple addition to the pass rule: Linux iptables has a similar facility. See the 'RECENT' iptables module: http://www.debian-administration.org/articles/187 Be aware that older Linux kernel's RECENT implementation

Re: [Dovecot] IP Tables block for POP3 attacks with Dovecot

2007-04-08 Thread Sean Kamath
On Apr 8, 2007, at 9:20 AM, Pete Dubler wrote: Has anyone implemented a script to block IPs which are attacking on POP3 ports using dovecot logs to indicate repetitive failed login attempts? sshblack does this nicely for ssh (port 22) attacks by monitoring the /var/log/secure file. I am

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Bosch schrieb: > Stephan Bosch schreef: >> Stephan Bosch wrote: >>> This script states: >>> require [""]; >>> >>> This is not valid sieve to my knowledge and it doesn't serve any >>> useful purpose: there is no empty sieve extension, so this se

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Sean Kamath
On Apr 8, 2007, at 11:00 AM, Bill Cole wrote: At 7:25 PM +0200 4/8/07, Chaos Engine wrote: Hi there, I got a daily cron (rdate to local time server) job wich adjusts time and which constantly gives me headache. Which is one reason (out of many) NTP was invented. :-) Every day my dovecot

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Bosch schrieb: > Stephan Bosch wrote: >> This script states: >> require [""]; >> >> This is not valid sieve to my knowledge and it doesn't serve any >> useful purpose: there is no empty sieve extension, so this seems to be >> a bug in avelsieve

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stephan, get my answers trought the mail Stephan Bosch schrieb: > Robert Schetterer wrote: >> Hi,ok setui above works >> using avelsieve squirrelmail plugin >> with managesieve dovecot latest >> (perhaps i shouldnt use 1.30 rc) >> as well there may

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Daniel L. Miller
Chaos Engine wrote: Hi there, I got a daily cron (rdate to local time server) job wich adjusts time and which constantly gives me headache. Every day my dovecot suicides with: "dovecot: Time just moved backwards by 11 seconds. This might cause a lot of problems, so I'll just kill myself now."

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Stephan Bosch
Stephan Bosch schreef: Stephan Bosch wrote: This script states: require [""]; This is not valid sieve to my knowledge and it doesn't serve any useful purpose: there is no empty sieve extension, so this seems to be a bug in avelsieve. Lib-CMUSieve correctly reports an error. Btw, I tested av

Re: [Dovecot] IP Tables block for POP3 attacks with Dovecot

2007-04-08 Thread Charles Marcus
Pete Dubler wrote: Has anyone implemented a script to block IPs which are attacking on POP3 ports using dovecot logs to indicate repetitive failed login attempts? Have you heard of Fail2ban? http://www.fail2ban.org/wiki/index.php/Main_Page It may do what you want... -- Best regards, Charle

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Bill Cole
At 7:25 PM +0200 4/8/07, Chaos Engine wrote: Hi there, I got a daily cron (rdate to local time server) job wich adjusts time and which constantly gives me headache. Every day my dovecot suicides with: "dovecot: Time just moved backwards by 11 seconds. This might cause a lot of problems, so I'll

Re: [Dovecot] Time just moved backwards

2007-04-08 Thread Ben Beuchler
Better time synchronization. Use ntpd to always keep your time in sync. It should never have to adjust by more than a few microseconds and Dovecot has no problem with that. -Ben On 4/8/07, Chaos Engine <[EMAIL PROTECTED]> wrote: Hi there, I got a daily cron (rdate to local time server) job wi

[Dovecot] Time just moved backwards

2007-04-08 Thread Chaos Engine
Hi there, I got a daily cron (rdate to local time server) job wich adjusts time and which constantly gives me headache. Every day my dovecot suicides with: "dovecot: Time just moved backwards by 11 seconds. This might cause a lot of problems, so I'll just kill myself now." Of course my onboard c

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Stephan Bosch
Stephan Bosch wrote: This script states: require [""]; This is not valid sieve to my knowledge and it doesn't serve any useful purpose: there is no empty sieve extension, so this seems to be a bug in avelsieve. Lib-CMUSieve correctly reports an error. Btw, I tested avelsieve myself as well (

[Dovecot] IP Tables block for POP3 attacks with Dovecot

2007-04-08 Thread Pete Dubler
Has anyone implemented a script to block IPs which are attacking on POP3 ports using dovecot logs to indicate repetitive failed login attempts? sshblack does this nicely for ssh (port 22) attacks by monitoring the /var/log/secure file. I am considering rewriting this to POP3 port (110), but i

Re: [Dovecot] chdir failed, but requires group permissions

2007-04-08 Thread Brent Nesbitt
Ok, thanks - but I think that's beyond me right now. Perhaps I could just suggest it as a "feature" for future releases. Thanks for all your help! Brent. -Original Message- From: Timo Sirainen [mailto:[EMAIL PROTECTED] Sent: Sat 4/7/2007 12:51 PM To: Brent Nesbitt Cc: dovecot@dovecot.

Re: [Dovecot] SQL mail storage

2007-04-08 Thread Thierry de Montaudry
On Sat, 31 Mar 2007 17:34:23 +0300, Timo Sirainen wrote: >I wasted some time yesterday and today implementing a SQL storage >plugin. It seems to be working, but: > - Saving new messages is done in a regular INSERT statement, which is >bad. PostgreSQL has at least this COPY TO command which could

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-08 Thread Stephan Bosch
Robert Schetterer wrote: Hi,ok setui above works using avelsieve squirrelmail plugin with managesieve dovecot latest (perhaps i shouldnt use 1.30 rc) as well there may be other problems between suse and quotawarn patches ) please see this just as info to help coders to debug following problems i

Re: [Dovecot] How to get rid of locks

2007-04-08 Thread Timo Sirainen
On 8.4.2007, at 12.41, Miquel van Smoorenburg wrote: On Sat, 2007-04-07 at 22:30 +0300, Timo Sirainen wrote: Although Dovecot is already read-lockless and it uses only short- lived write locks, it's be really nice to just get rid of the locking completely. :) I just figured out that O_APPEND i

Re: [Dovecot] How to get rid of locks

2007-04-08 Thread Miquel van Smoorenburg
On Sat, 2007-04-07 at 22:30 +0300, Timo Sirainen wrote: > Although Dovecot is already read-lockless and it uses only short- > lived write locks, it's be really nice to just get rid of the locking > completely. :) > > I just figured out that O_APPEND is pretty great. If the operating > system

[Dovecot] Released 1.0.rc31

2007-04-08 Thread Timo Sirainen
http://dovecot.org/releases/dovecot-1.0.rc31.tar.gz http://dovecot.org/releases/dovecot-1.0.rc31.tar.gz.sig mbox + NFS combination shouldn't break anymore. v1.0 still planned to be released next friday. - mbox: Give "mbox file was modified while we were syncing" error only i

Re: [Dovecot] ssl connections frozen, client times out

2007-04-08 Thread John Robinson
On 03/04/2007 17:45, Steve Mulligan wrote: Timo Sirainen wrote: I hope you've never actually tried to use this "ssl_listen = *:110" setting? pop3s is in port 995. Sadly yes, for now. I'm the only one using the pop server and I don't have control over opening my own ports to the outside world

Re: [Dovecot] Lock file issues

2007-04-08 Thread Timo Sirainen
On 3.4.2007, at 21.05, Paul Hamby wrote: We are running 1.0.rc28 on three servers with 3 Horde/IMP boxes talking to Dovecot. The user's home dirs are located on an NFS server and the indexes are stored in their Maildirs. I have mmap_disable=yes and lock_method=dotlock in dovecot.conf. We have

Re: [Dovecot] Shared mailbox plans

2007-04-08 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen schrieb: > On 8.4.2007, at 1.04, Robert Schetterer wrote: > >> Timo Sirainen schrieb: >>> On 7.4.2007, at 14.31, Robert Schetterer wrote: for acl public folders with virtual domains, wouldnt it be a good idea to have them in sq

Re: [Dovecot] SQL indexes [was: How to get rid of locks]

2007-04-08 Thread Timo Sirainen
On 8.4.2007, at 10.29, Daniel L. Miller wrote: This is probably a scary thought, but . . . what would it take for the indexing part of Dovecot to be implemented via an API/plug-in model? I'm curious about the effect of using an external SQL engine (my vote would be Firebird) for processing

Re: [Dovecot] How to get rid of locks

2007-04-08 Thread Daniel L. Miller
Timo Sirainen wrote: Although Dovecot is already read-lockless and it uses only short-lived write locks, it's be really nice to just get rid of the locking completely. :) I just figured out that O_APPEND is pretty great. If the operating system updates seek position after writing to a file op

Re: [Dovecot] Fully virtualized w/ postfix?

2007-04-08 Thread Daniel L. Miller
[EMAIL PROTECTED] wrote: Hi folks, I've poked through the archives and google and have not seen how do do this. Is it possible to virtualize ALL emails on a system? That is, I want delivery only to e.g. /var/mail/vmail/domain.tld/user/Maildir/, and for authentication & userdb to: 1) Try /etc/