Re: [Dovecot] How do I use plus-addressing in Dovecot 1.1.x?

2008-11-04 Thread Jon Fullmer
This is the line from my master.cf: dovecotunix - n n - - pipe flags=DRhu user=XX:XX argv=/usr/lib/dovecot/deliver -f $ {sender} -d [EMAIL PROTECTED] -n -m ${extension} I'm not having a problem with a new mailbox being created (say, "someone+spam

Re: [Dovecot] problem with i_stream_next_line()

2008-11-04 Thread Timo Sirainen
It's not a good idea to change the code that way. For example dovecot- uidlist reading relies on i_stream_next_line() not returning a partially written. That's why the API description also says: /* Gets the next line from stream and returns it, or NULL if more data is needed to make a ful

Re: [Dovecot] problem with i_stream_next_line()

2008-11-04 Thread Giorgenes Gelatti
with attachment may be more useful. tks. 2008/11/4 Giorgenes Gelatti <[EMAIL PROTECTED]> > I did the patch below and it worked for me. > > diff --git a/dovecot/src/lib/istream.c b/dovecot/src/lib/istream.c > index 4b218b9..b195b4f 100644 > --- a/dovecot/src/lib/istream.c > +++ b/dovecot/src/lib/

Re: [Dovecot] problem with i_stream_next_line()

2008-11-04 Thread Giorgenes Gelatti
I did the patch below and it worked for me. diff --git a/dovecot/src/lib/istream.c b/dovecot/src/lib/istream.c index 4b218b9..b195b4f 100644 --- a/dovecot/src/lib/istream.c +++ b/dovecot/src/lib/istream.c @@ -245,6 +245,10 @@ char *i_stream_next_line(struct istream *stream) }

[Dovecot] problem with i_stream_next_line()

2008-11-04 Thread Giorgenes Gelatti
Hello there, I have a "subscriptions" file that is *not* ended with a line break (created by another system). When I do a "lsub "" "*"" the last mailbox name is not listed. Debugging a little showed that it looks like i_stream_next_line() is not returning the last line if it doesn't end with a li

Re: [Dovecot] patch: list shared namespace

2008-11-04 Thread Timo Sirainen
On Nov 4, 2008, at 8:38 PM, Bernhard Herzog wrote: On 31.10.2008, Timo Sirainen wrote: On Tue, 2008-10-28 at 21:07 +0100, Bernhard Herzog wrote: I'm not sure the new hook is really needed. The patch could perhaps just as well extend the acl_next_hook_mail_storage_created and acl_next_hook_mai

Re: [Dovecot] patch: list shared namespace

2008-11-04 Thread Bernhard Herzog
On 31.10.2008, Timo Sirainen wrote: > On Tue, 2008-10-28 at 21:07 +0100, Bernhard Herzog wrote: > > I'm not sure the new hook is really needed. The patch could perhaps > > just as well extend the acl_next_hook_mail_storage_created and > > acl_next_hook_mailbox_list_created functions to do the name

Re: [Dovecot] patch: list shared namespace

2008-11-04 Thread Bernhard Herzog
On 31.10.2008, Timo Sirainen wrote: > v1.2 code supports multiple users per process. That means you can't > really use getenv("USER") and you can't store per-user objects as static > variables. Rather you should hook into hook_mail_user_created and add > the per-user variables to the mail_user stru

[Dovecot] expire-tool fails if mail_location contains %h

2008-11-04 Thread Thorsten Vollmer
Hi Timo, not long ago you fixed a bug regarding the expansion of ~/ in mail_location that prevented expire-tool from working correctly. A similar problem exists if mail_location contains %h: expire-tool will use the wrong path to access the mailbox. After replacing %h with ~, expire-tool works as

Re: [Dovecot] MasterUser and old rev of Dovecot (0.99.14)

2008-11-04 Thread Charles Marcus
On 11/4/2008, Christopher Alexander ([EMAIL PROTECTED]) wrote: > I need to know how to configure MasterUser under 0.99 so I can copy > the old email to the new host. Do I have to upgrade from 0.99 to 1.x > in order to have access to a MasterUser under dovecot? Is that what > you meant? Yes... 0.99

Re: [Dovecot] MasterUser and old rev of Dovecot (0.99.14)

2008-11-04 Thread Christopher Alexander
On 4-Nov-08, at 9:23 AM, Charles Marcus wrote: I would *strongly* urge you to go ahead and use the latest version (currently 1.1.6) available at atrpms.net... I would also strongly encourage you to start with a fresh, clean config file, and carefully read the update pages on the wiki: http

Re: [Dovecot] MasterUser and old rev of Dovecot (0.99.14)

2008-11-04 Thread Charles Marcus
On 11/4/2008 8:29 AM, Christopher Alexander wrote: > > I need to migrate an old mail server running Dovecot (0.99.14) to a new > server running Dovecot (1.0.7; as shipped with CentOS 5.2). I would *strongly* urge you to go ahead and use the latest version (currently 1.1.6) available at atrpms.net

[Dovecot] MasterUser and old rev of Dovecot (0.99.14)

2008-11-04 Thread Christopher Alexander
I need to migrate an old mail server running Dovecot (0.99.14) to a new server running Dovecot (1.0.7; as shipped with CentOS 5.2). My plan was to use the imapsync utility as this will "seamlessly" do the conversion from mbox to maildir between the boxes as well. I've got the MasterUser a

Re: [Dovecot] how to integrate dspam with dovecot-antispam ?

2008-11-04 Thread Thorsten Vollmer
On Tue, 2008-11-04 at 10:35 +0100, Marko Weber wrote: > Hello, > i dont get dovecot-antispam working, i think ? > any1 can help me, how to configure dovecot-antispam that it work > together with dspam ? > i have postfix / dovecot setup as virtual user / domains.. You are rather vague abou

Re: [Dovecot] dovecot-1.1.6 fatal error: userdb didn't return a home directory

2008-11-04 Thread JM
Sorry, doesn't work for SQL, /var/spool/postfix/virtual/~ is pretty useless Nov 4 14:31:04 jm dovecot: IMAP([EMAIL PROTECTED]): Effective uid=1030, gid=1030, home=domain/[EMAIL PROTECTED]/ Nov 4 14:31:04 jm dovecot: IMAP([EMAIL PROTECTED]): maildir: data=/var/spool/postfix/virtual/~ Nov 4 14:31

Re: [Dovecot] dovecot-1.1.6 fatal error: userdb didn't return a home directory

2008-11-04 Thread Thorsten Vollmer
On Tue, 2008-11-04 at 14:18 +0200, JM wrote: > dovecot version 1.1.6 > > >dovecot -n > # 1.1.6: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.27-gentoo-r1 i686 Gentoo Base System release 2.0.0 xfs > base_dir: /var/run/dovecot/ > protocols: imap pop3 > listen(default): *:143 > listen(imap): *:143 > l

[Dovecot] dovecot-1.1.6 fatal error: userdb didn't return a home directory

2008-11-04 Thread JM
dovecot version 1.1.6 >dovecot -n # 1.1.6: /etc/dovecot/dovecot.conf # OS: Linux 2.6.27-gentoo-r1 i686 Gentoo Base System release 2.0.0 xfs base_dir: /var/run/dovecot/ protocols: imap pop3 listen(default): *:143 listen(imap): *:143 listen(pop3): *:110 ssl_disable: yes disable_plaintext_auth: no lo

Re: [Dovecot] v1.1.6 released

2008-11-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 Nov 2008, Cor Bosman wrote: Actually, all CPU use is system , so it's a kernel thing, not a dovecot thing I guess. Do those machines swap? Try to make a system trace (strace / truss) However, the lifetime of most processes is just smal

Re: [Dovecot] How do I use plus-addressing in Dovecot 1.1.x?

2008-11-04 Thread mouss
Jon Fullmer wrote: I'm using Postfix, Amavisd-new/SpamAssassin, and Dovecot. They all run on the same server (running Linux). The mailboxes are stored on the same server in maildir format. The logical path for incoming messages (as I understand it) is: 1) received by Postfix; handed off to Am

Re: [Dovecot] v1.1.6 released

2008-11-04 Thread Cor Bosman
Actually, all CPU use is system , so it's a kernel thing, not a dovecot thing I guess. Cor

[Dovecot] how to integrate dspam with dovecot-antispam ?

2008-11-04 Thread Marko Weber
Hello, i dont get dovecot-antispam working, i think ? any1 can help me, how to configure dovecot-antispam that it work together with dspam ? i have postfix / dovecot setup as virtual user / domains.. marko thanks for any hints or help. -- -- *Marko Weber* | Administration *SAL

Re: [Dovecot] v1.1.6 released

2008-11-04 Thread Cor Bosman
> If there were no error messages logged with 1.1.5, there's nothing I > can think of that could explain it. Im not sure when this started, but im seeing very high CPU use in dovecot. I recently swapped our systems to Linux from FreeBSD, and ive also moved versions up a few (now on 1.1.6). Here