Re: [Dovecot] Converting from 1.12 to 2.0 questions about mail location?

2011-11-05 Thread Knute Johnson
On 11/5/2011 3:15 PM, Knute Johnson wrote: I'm building a new server and using a newer version of ubuntu server that uses Dovecot 2.0. I thought I would like to use Maildir instead of the mbox that was used in the previous server. What do I have to do to convert my mbox mail to Maildir? Or should

Re: [Dovecot] Indexes to MLC-SSD

2011-11-05 Thread Stan Hoeppner
On 11/3/2011 10:21 AM, Ed W wrote: > >> I'm using NexentaStor (Solaris, ZFS) to export iSCSI-LUNs and I was >> thinking about a SSD based LUN for the indexes. As I'm using multiple >> servers this LUN will use OCFS2. > > Given that the SAN always has the network latency behind it, might you > be

[Dovecot] Converting from 1.12 to 2.0 questions about mail location?

2011-11-05 Thread Knute Johnson
I'm building a new server and using a newer version of ubuntu server that uses Dovecot 2.0. I thought I would like to use Maildir instead of the mbox that was used in the previous server. What do I have to do to convert my mbox mail to Maildir? Or should I just use mbox and copy it over :-)?

Re: [Dovecot] Indexes to MLC-SSD

2011-11-05 Thread Ed W
On 03/11/2011 16:53, Patrick Westenberg wrote: > Ed W schrieb: > >>> I'm using NexentaStor (Solaris, ZFS) to export iSCSI-LUNs and I was >>> thinking about a SSD based LUN for the indexes. As I'm using multiple >>> servers this LUN will use OCFS2. >> >> Given that the SAN always has the network lat

Re: [Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Patrick Ben Koetter
* Timo Sirainen : > On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: > > > is there a way to use Dovecot SASL Authentication for submission on a > > different machine dovecot runs? > > With v2.0 you should be able to add inet_listener for auth service, > which acts as an auth-client sock

Re: [Dovecot] Corrupted transaction log file

2011-11-05 Thread Peter Mogensen
On 2011-11-04 22:26, Timo Sirainen wrote: Nov 4 15:10:42 mail dovecot: imap (t...@aaaone.net): Error: Corrupted transaction log file /mail/3340444/.TestMails/dovecot.index.log seq 2: indexid changed 1320419300 -> 1320419441 (sync_offset=0) Session A had TestMails open and created with index f

Re: [Dovecot] Safely restoring backups

2011-11-05 Thread Timo Sirainen
On Fri, 2011-10-07 at 11:09 -0400, Micah Anderson wrote: > I'm trying to determine what the best way to restore mail with mdbox > is. Restoring using maildir was trivial, I just used rsync > --ignore-existing which wrote any mails that were removed and didn't > touch things that already existed[1].

Re: [Dovecot] Newbie Question/Feature Request

2011-11-05 Thread Timo Sirainen
On Sat, 2011-11-05 at 10:33 -0700, Michael Papet wrote: > open (CMD_OUT, " /usr/lib/dovecot/deliver -f somedude\@someplace.com -d > anotherdude\@destination.dom $stringified |"); > my $test = ; > print $test; > > The above code errors out because the expected behavior is $stringified is > suppo

Re: [Dovecot] dsync with quotas

2011-11-05 Thread Timo Sirainen
On Mon, 2011-09-19 at 13:19 -0400, Micah Anderson wrote: > I have been working on converting people from courier maildir -> dovecot > mdbox and during some of the dsync runs I'm seeing the > quota_exceeded_message be printed as an Error: > > dsync(): Error: Can't save message to mailbox INBOX: You

[Dovecot] Newbie Question/Feature Request

2011-11-05 Thread Michael Papet
Hi, I'm working on a plugin for qpsmtpd (a perl smtp frontend) that delivers mail via dovecot's LDA. I can only get mail delivered by writing the email to file, then calling 'deliver -d someone -f someone-else < /path/to/temp/email' All good, expected behavior. A perl snippet: local $/=undef

Re: [Dovecot] Restarting dovecot periodically fails with "Socket already exists: /var/run/dovecot/anvil"

2011-11-05 Thread Timo Sirainen
On Thu, 2011-10-13 at 16:13 +0100, James Page wrote: > restarting dovecot regularly fails with version 2.0.13 on Ubuntu 11.10 > due to a running child process exiting after the main dovecot process. > > Oct 13 15:04:58 ubuntu dovecot: master: Error: service(anvil): Socket > already exists: /var/r

Re: [Dovecot] Group ACL

2011-11-05 Thread Timo Sirainen
On Thu, 2011-10-06 at 08:38 -0700, Daniel L. Miller wrote: > Using Dovecot 2.0, LDAP userdb & passdb, with prefetch: > > hosts = myhost.mydomain > dn = cn=x,cn=y > dnpass = xyz123 > auth_bind = yes > auth_bind_userdn = uid=%n,ou=users,dc=x > ldap_version = 3 > base = ou=Users, dc=x > user_attrs =

Re: [Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Tobias Hachmer
Am 05.11.2011 17:35, schrieb Timo Sirainen: On Sat, 2011-11-05 at 17:31 +0100, Tobias Hachmer wrote: Am 05.11.2011 17:01, schrieb Timo Sirainen: > On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: >> is there a way to use Dovecot SASL Authentication for submission on >> a >> different m

Re: [Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Timo Sirainen
On Sat, 2011-11-05 at 17:31 +0100, Tobias Hachmer wrote: > Am 05.11.2011 17:01, schrieb Timo Sirainen: > > On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: > >> is there a way to use Dovecot SASL Authentication for submission on > >> a > >> different machine dovecot runs? > > > > With v2.0

Re: [Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Tobias Hachmer
Am 05.11.2011 17:01, schrieb Timo Sirainen: On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? With v2.0 you should be able to add inet_listener for auth service, which acts as an auth-

Re: [Dovecot] Attachements with SIS : shauld all the same files share the same inode ?

2011-11-05 Thread Timo Sirainen
On Mon, 2011-10-17 at 09:19 +0200, Yann Dupont wrote: > 104 instance of -rw--- 104 vmail vmail 346584 16 oct. 17:47 > 6e2df299fa96daec9b4735d07c494046429be4d6-ffd0d1 > > The files are hardlinked, so it seems ok, but I also see 9 others files > in the same directory : > > > -rw---

Re: [Dovecot] Dot Lock timestmap, users disconnections from roundcube

2011-11-05 Thread Timo Sirainen
Well, doesn't matter if it's NFS or not. It still looks as if Dovecot process was stuck for 45 seconds, most likely waiting for disk I/O to finish.. What happens is something like: 1. Get the current time ("now") 2. See if lock file exists 3. Create lock file 4. fstat() the created lock file 5. Lo

Re: [Dovecot] Bad creation timestamp of migrated mails (maildir format)?

2011-11-05 Thread Timo Sirainen
On Sat, 2011-11-05 at 10:57 +0100, Lukas Weiß wrote: > > Maildir file's mtime is the INTERNALDATE, yes. Maybe the the > problem isn't then any timestamps, but that the messages were copied in > reverse order (newest message first), so their IMAP UIDs are > reversed. > > Possible. How do i avoid th

Re: [Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Timo Sirainen
On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: > is there a way to use Dovecot SASL Authentication for submission on a > different machine dovecot runs? With v2.0 you should be able to add inet_listener for auth service, which acts as an auth-client socket. > Dovecot machine <-> postf

Re: [Dovecot] fts-lucene vs SEARCH header Re: 2.1: problems compiling fts-lucene - CLucene git version necessary?

2011-11-05 Thread Timo Sirainen
On Thu, 2011-09-22 at 13:24 +0200, Lutz Preßler wrote: > Next problem :-) side effect: my test setup (some commits ago) with fts = > lucene > in plugin section (ftps_lucene plugin without stemmer support): > SEARCH header is not working (empty result sets, no logging). Fixed finally.

[Dovecot] Dovecot SASL on another machine

2011-11-05 Thread Tobias Hachmer
Hello list, is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? e.g.: Dovecot machine <-> postfix machine(for submission) How can I authenticate my senders on a different physical machine against Dovecot SASL? Thanks, Tobias

Re: [Dovecot] Bad creation timestamp of migrated mails (maildir format)?

2011-11-05 Thread Lukas Weiß
On Fri, 04 Nov 2011 22:33:09 +0200, Timo Sirainen wrote: > On Tue, 2011-11-01 at 09:38 +0100, Lukas Weiß wrote: and sql storage is difficult to backup. Ive done that, by setting up dovecot with maildir format and copy mails from old dbmail to new dovecot imap server with my mail client (

Re: [Dovecot] dovecot: 2011-11-04 16:58:01 Error: IMAP(): FETCH for mailbox Trash UID 42022 got too little data: 90900 vs 1529791

2011-11-05 Thread Stan Hoeppner
On 11/4/2011 7:32 PM, Noah wrote: > Hi there > > I keep getting the following errors scrolling in my dovecot logs. I am > wondering how I can nail down what is creating that problem. > > dovecot: 2011-11-04 16:58:01 Error: IMAP(): FETCH for mailbox Trash > UID 42022 got too little data: 90900 vs