Re: [Dovecot] Convert Plugin

2010-10-28 Thread Tobias Daucher
Am 27.10.2010 20:26, schrieb Daniel Luttermann: Dr Matthew Williams wrote on 10/27/2010: Hello, I have been investigating mailbox conversions and have used the convert plugin under Dovecot V1.x. I cannot find the plugin in the list on the wiki for Dovcot V2.x, is it not included for a reason?

Re: [Dovecot] Convert Plugin

2010-10-27 Thread Daniel Luttermann
Dr Matthew Williams wrote on 10/27/2010: Hello, I have been investigating mailbox conversions and have used the convert plugin under Dovecot V1.x. I cannot find the plugin in the list on the wiki for Dovcot V2.x, is it not included for a reason? I understand that I can do a post-login script

Re: [Dovecot] Convert plugin

2010-10-15 Thread Timo Sirainen
On Wed, 2010-10-06 at 22:01 +0200, Egbert Jan van den Bussche wrote: I'm trying the example from the wiki: plugin { convert_mail = mbox:~/mail:INBOX=/var/mail/%n } but have still not succeded. Did you figure it out already? The problem is that you have no ~/mail/ directory, convert

Re: [Dovecot] Convert plugin

2010-10-15 Thread Donny Brooks
On 10/15/2010 1:10 PM, Timo Sirainen wrote: On Wed, 2010-10-06 at 22:01 +0200, Egbert Jan van den Bussche wrote: I'm trying the example from the wiki: plugin { convert_mail = mbox:~/mail:INBOX=/var/mail/%n } but have still not succeded. Did you figure it out already? The problem is that

Re: [Dovecot] Convert plugin

2010-10-15 Thread Egbert Jan van den Bussche
Op 15-10-2010 20:15, Donny Brooks schreef: On 10/15/2010 1:10 PM, Timo Sirainen wrote: On Wed, 2010-10-06 at 22:01 +0200, Egbert Jan van den Bussche wrote: I'm trying the example from the wiki: plugin { convert_mail = mbox:~/mail:INBOX=/var/mail/%n } but have still not succeded. Did you

Re: [Dovecot] Convert plugin

2010-10-15 Thread Egbert Jan van den Bussche
Op 15-10-2010 20:15, Donny Brooks schreef: On 10/15/2010 1:10 PM, Timo Sirainen wrote: On Wed, 2010-10-06 at 22:01 +0200, Egbert Jan van den Bussche wrote: I'm trying the example from the wiki: plugin { convert_mail = mbox:~/mail:INBOX=/var/mail/%n } but have still not succeded. Did you

[Dovecot] Convert plugin

2010-10-06 Thread Egbert Jan van den Bussche
Hi, I'm trying to get old mail from /var/mail/user, where user is the (sometimes) huge mailfile, not a directory, converted to the maildir INBOX in ~/Maildir. Users have no ~/mail directory; they were supposed to use pop3 only. I'm trying the example from the wiki: plugin { convert_mail =

Re: [Dovecot] Convert plugin

2010-08-03 Thread Egbert
Op 30-7-2010 21:44, Timo Sirainen schreef: Instead of using convert plugin, you could run mb2md.pl also as post-login script. Probably easier.. http://wiki.dovecot.org/PostLoginScripting Indeed this seems to work. Thanks. One problem: The login is denied the first time (user/passw not

Re: [Dovecot] Convert plugin

2010-07-31 Thread Egbert
Op 30-7-2010 21:44, Timo Sirainen schreef: Instead of using convert plugin, you could run mb2md.pl also as post-login script. Probably easier.. http://wiki.dovecot.org/PostLoginScripting Thanks for your advice, Timo. Much appreciated. Running a script sounds like a good solution. The script

Re: [Dovecot] Convert plugin

2010-07-31 Thread Timo Sirainen
On 31.7.2010, at 10.17, Egbert wrote: Are things like %d, %u, %n also available? I have to build the argument list for mb2md.pl in that script. You have $USER environment that contains u...@domain.

Re: [Dovecot] Convert plugin

2010-07-30 Thread Egbert
Op 30-7-2010 0:07, Daniel Luttermann schreef: Egbert wrote on 29.07.2010: Hi, I'm trying to convert users from a sendmail server to a postfix/dovecot server. All works fine but one of the last things is to rescue the messages in /var/mail/user on the old server. This seems very straitforward

Re: [Dovecot] Convert plugin

2010-07-30 Thread Daniel Luttermann
Egbert wrote on 30.07.2010: Op 30-7-2010 0:07, Daniel Luttermann schreef: Egbert wrote on 29.07.2010: Hi, I'm trying to convert users from a sendmail server to a postfix/dovecot server. All works fine but one of the last things is to rescue the messages in /var/mail/user on the old

Re: [Dovecot] Convert plugin

2010-07-30 Thread Timo Sirainen
On Fri, 2010-07-30 at 12:36 +0200, Egbert wrote: So things finally start to work. Only the rename of the /var/mail/user directory doesn't work yet. Wrong owner. I made /var/mail owned by vmail:vmail but that is not good. Maybe it should be owned by dovecot. Who is the owner of the convert

Re: [Dovecot] Convert plugin

2010-07-30 Thread Egbert
Op 30-7-2010 16:27, Timo Sirainen schreef: On Fri, 2010-07-30 at 12:36 +0200, Egbert wrote: So things finally start to work. Only the rename of the /var/mail/user directory doesn't work yet. Wrong owner. I made /var/mail owned by vmail:vmail but that is not good. Maybe it should be owned by

Re: [Dovecot] Convert plugin

2010-07-30 Thread Egbert
Op 30-7-2010 14:45, Daniel Luttermann schreef: Egbert wrote on 30.07.2010: Op 30-7-2010 0:07, Daniel Luttermann schreef: Egbert wrote on 29.07.2010: Hi, I'm trying to convert users from a sendmail server to a postfix/dovecot server. All works fine but one of the last things is to rescue the

Re: [Dovecot] Convert plugin

2010-07-30 Thread Timo Sirainen
On Fri, 2010-07-30 at 17:01 +0200, Egbert wrote: The renaming of the maildir fails, wrong user. I can fiddle this out. Perhaps the /var/mail tree should be owned by user dovecot. No. It's never dovecot user. It's the mail user uid, as returned by your userdb. http://wiki.dovecot.org/UserIds

Re: [Dovecot] Convert plugin

2010-07-30 Thread Egbert
Op 30-7-2010 17:32, Timo Sirainen schreef: On Fri, 2010-07-30 at 17:01 +0200, Egbert wrote: The renaming of the maildir fails, wrong user. I can fiddle this out. Perhaps the /var/mail tree should be owned by user dovecot. No. It's never dovecot user. It's the mail user uid, as returned by

Re: [Dovecot] Convert plugin

2010-07-30 Thread Timo Sirainen
Instead of using convert plugin, you could run mb2md.pl also as post-login script. Probably easier.. http://wiki.dovecot.org/PostLoginScripting

[Dovecot] Convert plugin

2010-07-29 Thread Egbert
Hi, I'm trying to convert users from a sendmail server to a postfix/dovecot server. All works fine but one of the last things is to rescue the messages in /var/mail/user on the old server. This seems very straitforward using the convert plugin but with the settings from the wiki, nothing

Re: [Dovecot] Convert plugin

2010-07-29 Thread Daniel Luttermann
Egbert wrote on 29.07.2010: Hi, I'm trying to convert users from a sendmail server to a postfix/dovecot server. All works fine but one of the last things is to rescue the messages in /var/mail/user on the old server. This seems very straitforward using the convert plugin but with the

[Dovecot] convert Plugin Error

2010-06-14 Thread Bradlee Landis
I am getting an error when using the convert plugin for dovecot. Jun 14 13:27:20 mail dovecot: IMAP(user): Mailbox conversion: rename(/home/user/mail, /home/user/mail-converted) failed: Directory not empty Dovecot creates mail-converted, but does not delete mail completely for some reason. It

[Dovecot] Convert Plugin dovecot2.0

2010-05-25 Thread Henrique Fernandes
There is a convert plugin for dovecot2.0 ? I did not find it in src or when i tried to load it! Thanks []'sf.rique

Re: [Dovecot] Convert plugin question

2008-02-05 Thread Timo Sirainen
On Mon, 2008-02-04 at 15:00 -0500, Dmitry Filonov wrote: Is it possible to change convert plugin, so it would keep old UIDVALIDITY and UIDNEXT after conversion from mbox to Maildir? It would also have to preserve all messages' UIDs. This is something that has been in my TODO for a while, but

Re: [Dovecot] Convert plugin question

2008-02-05 Thread Dmitry Filonov
Timo Sirainen wrote: On Mon, 2008-02-04 at 15:00 -0500, Dmitry Filonov wrote: Is it possible to change convert plugin, so it would keep old UIDVALIDITY and UIDNEXT after conversion from mbox to Maildir? It would also have to preserve all messages' UIDs. This is something that has

Re: [Dovecot] Convert plugin question

2008-02-05 Thread Timo Sirainen
On Tue, 2008-02-05 at 10:50 -0500, Dmitry Filonov wrote: Timo Sirainen wrote: On Mon, 2008-02-04 at 15:00 -0500, Dmitry Filonov wrote: Is it possible to change convert plugin, so it would keep old UIDVALIDITY and UIDNEXT after conversion from mbox to Maildir? It would

Re: [Dovecot] convert plugin fails - drops root privileges then tries to create file in /

2008-01-17 Thread Charles Marcus
On 1/16/2008, Mikel Ward ([EMAIL PROTECTED]) wrote: I'm running dovecot-1.0-1.2.rc15.el5 on CentOS 5. This is old and pre-release... upgrade please...

[Dovecot] convert plugin fails - drops root privileges then tries to create file in /

2008-01-16 Thread Mikel Ward
Hi I just tried to run the convert plugin as described at http://wiki.dovecot.org/Plugins/Convert (except with mail_location = maildir:~/Mail) It fails with an error message: Eopen(/.temp.falcon.endbracket.net.18618.8d5e0a038da6cf06) failed: Permission denied Error: imap dump-capability

[Dovecot] convert plugin

2007-11-21 Thread maximatt
hi i have problems with convert plugin, because he delete the message maildir inbox (i dont know this is't right)... i set dovecot (Dovecot v1.0.7) to listen with pop and imap protocols... for example if user1 sends to user2 a msg via pop3 or imap, i can see the msg in user2 imap

[Dovecot] convert plugin: endless conversion and duplicate messages

2007-07-03 Thread Andrew Ziem
Hi, When an mbox has a filename with a period, the Dovecot 1.0.1 convert plugin will endlessly convert the same mbox causing duplicate messages. To reproduce, create try converting two mboxes: one with a valid name and another with an invalid name. Then, repeat the login procedure a few

[Dovecot] convert plugin problem from UW-IMAP

2007-06-28 Thread Andrew Z
Though there are conversion scripts, I'd like to give the convert plugin a chance. I have Dovecot 1.0.1 on Trustix Secure Linux 2.2 (Linux 2.4.27), and we had UW IMAP 2002e. Dovecot seems to work OK (e.g. I can add copy messages to it), but things break when I activate the convert plugin. The

Re: [Dovecot] CONVERT Plugin

2007-05-16 Thread Timo Sirainen
On Wed, 2007-05-16 at 19:16 -0400, Bruce Bodger wrote: convert_mail = mbox:~/Library/Mail/IMAP/:INBOX=/var/mail/%u and mail_location = maildir:~/Maildir The IMAP directory was renamed to IMAP-converted after the process but the inbox (in /var/mail) does not get renamed. It's not

Re: [Dovecot] CONVERT Plugin

2007-05-16 Thread Bruce Bodger
On May 16, 2007, at 7:21 PM, Timo Sirainen wrote: It's not supposed to be renamed. The most important reason why the renaming is done at all is so that convert plugin doesn't try to convert the same mailboxes twice. It's enough to rename the mbox root directory for that. I think renaming

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

2007-04-12 Thread Frank Elsner
On Wed, 11 Apr 2007 23:10:53 +0200 guenther wrote: On Wed, 2007-04-11 at 08:57 +0200, Frank Elsner wrote: On Tue, 10 Apr 2007 17:58:03 +0200 guenther wrote: On Tue, 2007-04-10 at 17:06 +0300, Timo Sirainen wrote: On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8

[Dovecot] convert plugin created maildirfolder file in root maildir directory

2007-04-12 Thread Justin McAleer
I've noticed that if a user's maildir gets created by deliver or pop/imap without the convert plugin running, the maildir structure is fine (no maildirfolder file). But, if a user gets converted, there is a maildirfolder file in the user's base maildir directory. As far as I can tell, that

Re: [Dovecot] convert plugin created maildirfolder file in root maildir directory

2007-04-12 Thread Timo Sirainen
On Thu, 2007-04-12 at 12:33 -0400, Justin McAleer wrote: I've noticed that if a user's maildir gets created by deliver or pop/imap without the convert plugin running, the maildir structure is fine (no maildirfolder file). But, if a user gets converted, there is a maildirfolder file in the

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

2007-04-11 Thread guenther
On Wed, 2007-04-11 at 08:57 +0200, Frank Elsner wrote: On Tue, 10 Apr 2007 17:58:03 +0200 guenther wrote: On Tue, 2007-04-10 at 17:06 +0300, Timo Sirainen wrote: On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion:

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

2007-04-10 Thread Timo Sirainen
On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: Couldn't create mailbox directory .gnome2_private Maildir uses . as hierarchy separator, so this filename is invalid. I'm not sure if convert_skip_broken_mailboxes=yes

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

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: Couldn't create mailbox directory .gnome2_private Maildir uses . as hierarchy separator, so this filename is

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

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 17:39:14 +0300 Timo Sirainen wrote: On Tue, 2007-04-10 at 16:15 +0200, Frank Elsner wrote: On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox

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

2007-04-10 Thread guenther
On Tue, 2007-04-10 at 17:06 +0300, Timo Sirainen wrote: On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: Couldn't create mailbox directory .gnome2_private Maildir uses . as hierarchy separator, so this filename is

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

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

[Dovecot] convert plugin failing

2007-03-31 Thread Adrian Bridgett
I'm struggling to get the convert plugin working using the Debian etch packages. When starting dovecot it was trying to create files in /.temp.hostname... convert-plugin.c looks like it has a couple of typos in it - it checks mail three times for NULL rather than mail, user, home. I changed

Re: [Dovecot] convert plugin failing

2007-03-31 Thread Timo Sirainen
On Sat, 2007-03-31 at 13:27 +0100, Adrian Bridgett wrote: I'm struggling to get the convert plugin working using the Debian etch packages. Does that mean v1.0.rc15? Convert plugin was pretty broken before rc28. signature.asc Description: This is a digitally signed message part