Re: Dovecot fails to start - Unknown setting: socket

2014-10-01 Thread Alan McGinlay
you almost certainly have a missing closing bracket or double quote somewhere.

dsync mirror does not maintain changes between mailboxes

2014-09-28 Thread Alan McGinlay
Hi, running: dsync -D -v -o mail_fsync=never mirror -R -f -u user@domain imapc: Where domain is a cyrus imap server does not do what the documentation says it does, not even close. After the first run to an empty mailbox on the dovecot 2.2.13 server all the mails (1.1GB) seem to be

Confusing wording on the wiki

2014-09-24 Thread Alan McGinlay
Hi, I am confused by the wording of this Wiki entry: sieve = ~/.dovecot.sieve The path to the user's main active Sieve script. When ManageSieve is used, this is a symbolic link pointing to the active script in the sieve_dir directory. Avoid placing the active Sieve script inside the

dsync annoyances

2014-09-23 Thread Alan McGinlay
Hi! Every time I run dsync for a user against an old Cyrus server, the users mailbox in Dovecot increases by several hundred MB, these are not new emails. So the first dsync run gets the whole mailbox and subsequent runs get a bunch of duplicates or what? doveadm purge clears them all out

Re: sieve redirect to foreign email gets “Relay access denied”

2014-09-23 Thread Alan McGinlay
On 2014-09-23 10:22, Henry Stack wrote: On 22-09-2014 23:50, Reindl Harald wrote: [...] you need to provide more informations about your setup and if possible avoid mask IP addresses - where does the smtpd live, where is dovecot and how did you configure the relay at all what postfix version?

Re: replicator only starts for users who log in at least once

2014-09-17 Thread Alan McGinlay
On 2014-08-05 14:49, Alan McGinlay wrote: Hi! I recently setup a second with replication to the other. Both machines run ubuntu 12.04 with dovecot 2.2.13 (6bb26098a45c). All users mail accounts are currently synced manually to the first (mb1) using a dsync script, they are synchronised from

Re: Configure Dovecot Master User

2014-09-12 Thread Alan McGinlay
On 2014-09-08 17:48, Clovis Tristao wrote: Hi, Does anyone have any idea or hint how to configure dovecot master user? I'm already on it for almost fifteen days and can not find a solution. I appreciate any help, Clovis It's quite simple: # Authentication for master users. Included from

Re: IMAP on 993/SSL or 143/STARTTLS?

2014-08-18 Thread Alan McGinlay
On 2014-08-18 05:03, Gedalya wrote: On 08/17/2014 10:45 PM, Alex wrote: Hi, I have a postfix+dovecot-2.2.13 system and have configured it to support IMAPS on 993 with SSL/TLS. I'm noticing with users using Thunderbird, the autodetect defaults to IMAPS on 143 with STARTTLS. Which is

replicator only starts for users who log in at least once

2014-08-05 Thread Alan McGinlay
Hi! I recently setup a second with replication to the other. Both machines run ubuntu 12.04 with dovecot 2.2.13 (6bb26098a45c). All users mail accounts are currently synced manually to the first (mb1) using a dsync script, they are synchronised from a cyrus imap server. Users are still

Re: AW: Problem syncing mailboxes using doveadm sync

2014-06-18 Thread Alan McGinlay
On 2014-06-18 12:28, Przemysław Orzechowski wrote: On 18.06.2014 11:28, Patrick De Zordo wrote: Would you really sync or just backup? To help decide, are you changing messages on both servers or is the second one just a backup-server? In case of backup you could use this command: doveadm

Re: [Dovecot] Replication with virtual users and static userdb possible ?

2014-06-17 Thread Alan McGinlay
On 2014-06-17 04:50, deano-dove...@areyes.com wrote: I'm trying to avoid switching the userdb from a nice simple static setup to something else to enable replication. Is there anyone using replication with a virtual user configuration ? How did you do it ? Actually, anyone doing replication at

replicator, ldap virtual users and static userdb

2014-06-17 Thread Alan McGinlay
Hi! I am trying to use the static userdb with virtual users stored in ldap and the replicator plugin. What is the best way to implement this? I was not able to find documentation about it. Thanks!

Re: [Dovecot] LDAP: allow pop3, restrict imap

2014-05-26 Thread Alan McGinlay
On 2014-05-26 16:39, Andreas Schulze wrote: Florian: Why not add the attribute to all your users? yeah, that would be really the simplest solution. Unfortunately the world is sometimes more complex. That's why I search for other ways... - multiple dovecot installations - different ldap

[Dovecot] dsync incredibly slow

2014-05-23 Thread Alan McGinlay
Hi! While performing a dsync from cyrus imap to dovecot 2.2.12, dsync seems to stop for perhaps a minute without disk / cpu / memory activity (that I can see). This happens several times per sync per user so it takes an enormous amount of time to sync just a couple of gigs of mail. dsync -D

Re: [Dovecot] xz compression

2014-04-04 Thread Alan McGinlay
Hello Timo, Why send a mail to the mailing list if you are addressing a single person?

Re: [Dovecot] dsync replication questions

2014-04-04 Thread Alan McGinlay
On 2014-04-04 11:42, Nikolaos Milas wrote: On 31/3/2014 12:03 μμ, Simon Fraser wrote: On Fri, 2014-03-28 at 11:58 +0200, Nikolaos Milas wrote: Question 2a: What do options -d -N -l 30 -U signify in replication_dsync_parameters = -d -N -l 30 -U? I'd also be interested to know the answer to this

Re: [Dovecot] basic dsync wrapper for migration from another server

2014-03-29 Thread Alan McGinlay
On 2014-03-28 17:41, Frank Elsner wrote: On Fri, 28 Mar 2014 14:45:05 +0100 Alan McGinlay wrote: Hi, I cobbled together this somewhat shoddy Bash script to migrate email accounts from our Cyrus server to a new dovecot system. Feel free to use, or laugh at it as you wish :) I do want to rate

[Dovecot] Panic: file ostream-lzma.c: line 147: unreached. Dovecot 2.2.12 with zlib/XZ compression

2014-03-28 Thread Alan McGinlay
While migrating users from Cyrus IMAP v2.3.14 to Dovecot 2.2.12 (compiled from source) dsync aborts with a backtrace on some (maybe 15 out of 800) mail accounts: (same error happens wiht or without -f flag) dsync -D -v -o mail_fsync=never mirror -f -R -u user@domain imapc: snip

Re: [Dovecot] Panic: file ostream-lzma.c: line 147: unreached. Dovecot 2.2.12 with zlib/XZ compression

2014-03-28 Thread Alan McGinlay
On 2014-03-28 12:28, Robert Schetterer wrote: Am 28.03.2014 12:22, schrieb Alan McGinlay: While migrating users from Cyrus IMAP v2.3.14 to Dovecot 2.2.12 are you on latest patchlevel ? I used this link: http://www.dovecot.org/releases/2.2/dovecot-2.2.12.tar.gz. Don't really want to run

Re: [Dovecot] Panic: file ostream-lzma.c: line 147: unreached. Dovecot 2.2.12 with zlib/XZ compression

2014-03-28 Thread Alan McGinlay
On 2014-03-28 13:14, Alan McGinlay wrote: On 2014-03-28 12:28, Robert Schetterer wrote: Am 28.03.2014 12:22, schrieb Alan McGinlay: While migrating users from Cyrus IMAP v2.3.14 to Dovecot 2.2.12 are you on latest patchlevel ? I used this link: http://www.dovecot.org/releases/2.2/dovecot

[Dovecot] basic dsync wrapper for migration from another server

2014-03-28 Thread Alan McGinlay
Hi, I cobbled together this somewhat shoddy Bash script to migrate email accounts from our Cyrus server to a new dovecot system. Feel free to use, or laugh at it as you wish :) #!/bin/bash ## # Migrate email accounts via IMAP from one server to another ## trap kill 0 SIGINT

Re: [Dovecot] dsync Error: Mailbox INBOX: Save commit failed: Mailbox was deleted under us

2014-03-17 Thread Alan McGinlay
On 2014-01-31 10:51, Alan McGinlay - SICS wrote: Hi, I am doing a mass migration of users from Cyrus imap on a solaris server to dovecot 1:2.2.9-1ubuntu1 and am getting this weird issue with dsync if I try to do a full sync. Debug output below: dsync(u...@example.com): Error: Mailbox INBOX

[Dovecot] dsync Error: Mailbox INBOX: Save commit failed: Mailbox was deleted under us

2014-01-31 Thread Alan McGinlay - SICS
Hi, I am doing a mass migration of users from Cyrus imap on a solaris server to dovecot 1:2.2.9-1ubuntu1 and am getting this weird issue with dsync if I try to do a full sync. Debug output below: dsync(u...@example.com): Error: Mailbox INBOX: Save commit failed: Mailbox was deleted under us

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-13 Thread Alan McGinlay - SICS
On 2013-12-13 01:10, Joseph Tam wrote: Alan McGinlay wrote: Can't believe I'm the only one with this error, googled it and there is nothing. Sorry to whine but I am getting desperate here! I googled safe_mkstemp permission denied and first hit is this thread dovecot.org/list

Re: [Dovecot] Accessing plain text password from memory

2013-12-13 Thread Alan McGinlay - SICS
On 2013-12-13 15:37, Stanislas SABATIER wrote: Is there a way to retrieve the client's password in plain text from memory ? I don't store the password in plain text in my postgreSQL but I need it when the client is connected to make crypto computation. If I write a plugin to do the job, how

Re: [Dovecot] what's wrong with this config file?

2013-12-12 Thread Alan McGinlay - SICS
On 2013-12-12 13:16, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Dec 2013, Jim Reid wrote: I think this is what I configured in dovecot. However when I try to set up a test account, dovecot reports the following error: Dec 12 02:22:00 shaun dovecot:

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-12 Thread Alan McGinlay - SICS
On 2013-12-10 14:25, Alan McGinlay - SICS wrote: On 2013-12-10 14:09, Alan McGinlay - SICS wrote: On 2013-12-10 11:52, Alan McGinlay - SICS wrote: On 2013-12-10 11:34, Robert Schetterer wrote: Am 10.12.2013 11:25, schrieb Alan McGinlay - SICS: On 2013-12-09 11:21, Alan McGinlay - SICS wrote

Re: [Dovecot] OT: Large corporate email systems - Exchange vs open source *nix based

2013-12-11 Thread Alan McGinlay - SICS
On 2013-12-11 11:36, Stan Hoeppner wrote: On 12/10/2013 8:15 AM, Charles Marcus wrote: There has been some whispers about considering migrating our mail systems to Exchange Server. I want to try to nip this in the bud. I would like to ask for some help with providing some kind of comparison

Re: [Dovecot] Ubuntu packages and broken link in docs

2013-12-11 Thread Alan McGinlay - SICS
On 2013-12-11 13:00, Michael Cramer wrote: i uploaded 2.2.9 for ubuntu 12.04 LTS, 12.10, 13.04 and 13.10 to the ppa Zitat von mich...@bigmichi1.de: Zitat von Alan McGinlay - SICS al...@sics.se Hi, Two things: 1. Does anyone know of a good PPA with updated packages of Dovecot for Ubuntu

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-10 Thread Alan McGinlay - SICS
On 2013-12-09 11:21, Alan McGinlay - SICS wrote: On 2013-12-08 22:08, Alan McGinlay - SICS wrote: Actually I do, /var/vmail (contains virtual domain mailboxes) is owned by vmail:vmail On 2013-12-08 21:49, Timo Sirainen wrote: On 5.12.2013, at 22.18, Alan McGinlay - SICS al...@sics.se wrote

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-10 Thread Alan McGinlay - SICS
On 2013-12-10 11:34, Robert Schetterer wrote: Am 10.12.2013 11:25, schrieb Alan McGinlay - SICS: On 2013-12-09 11:21, Alan McGinlay - SICS wrote: On 2013-12-08 22:08, Alan McGinlay - SICS wrote: Actually I do, /var/vmail (contains virtual domain mailboxes) is owned by vmail:vmail On 2013-12-08

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-10 Thread Alan McGinlay - SICS
On 2013-12-10 11:52, Alan McGinlay - SICS wrote: On 2013-12-10 11:34, Robert Schetterer wrote: Am 10.12.2013 11:25, schrieb Alan McGinlay - SICS: On 2013-12-09 11:21, Alan McGinlay - SICS wrote: On 2013-12-08 22:08, Alan McGinlay - SICS wrote: Actually I do, /var/vmail (contains virtual domain

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-10 Thread Alan McGinlay - SICS
On 2013-12-10 14:09, Alan McGinlay - SICS wrote: On 2013-12-10 11:52, Alan McGinlay - SICS wrote: On 2013-12-10 11:34, Robert Schetterer wrote: Am 10.12.2013 11:25, schrieb Alan McGinlay - SICS: On 2013-12-09 11:21, Alan McGinlay - SICS wrote: On 2013-12-08 22:08, Alan McGinlay - SICS wrote

[Dovecot] dsync verbosity, summary of transfer

2013-12-10 Thread Alan McGinlay - SICS
Hi! I am playing with dsync and trying to fix an issue I have mentioned in another thread (subject: Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam) and feel that dsync could use some additional informational output. It would be particularly helpful while experimenting with a

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-09 Thread Alan McGinlay - SICS
On 2013-12-08 22:08, Alan McGinlay - SICS wrote: Actually I do, /var/vmail (contains virtual domain mailboxes) is owned by vmail:vmail On 2013-12-08 21:49, Timo Sirainen wrote: On 5.12.2013, at 22.18, Alan McGinlay - SICS al...@sics.se wrote: mail_privileged_group = vmail .. mail_location

Re: [Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-08 Thread Alan McGinlay - SICS
Actually I do, /var/vmail (contains virtual domain mailboxes) is owned by vmail:vmail On 2013-12-08 21:49, Timo Sirainen wrote: On 5.12.2013, at 22.18, Alan McGinlay - SICS al...@sics.se wrote: mail_privileged_group = vmail .. mail_location = maildir:~/Maildir .. dsync(alantestu

[Dovecot] Dsync error: Couldn't drop privileges: getgrnam

2013-12-05 Thread Alan McGinlay - SICS
Hi, I upgraded (in place upgrade, preserving my dovecot configs) to a newer release of ubuntu in order to gain access to slightly newer Dovecot release and be able to use Dsync for migration from Cyrus, here is my doveconf -n output: # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux

Re: [Dovecot] Complete migration from Cyrus on remote server

2013-12-04 Thread Alan McGinlay - SICS
On 2013-12-03 22:55, Oscar del Rio wrote: On 12/ 3/13 02:17 PM, Timo Sirainen wrote: On 3.12.2013, at 16.01, Alan McGinlay - SICS al...@sics.se wrote: * I have looked at dsync but the docs state that the mailbox should not be accessed during sync, this is not possible for me (it doesn't say

Re: [Dovecot] Complete migration from Cyrus on remote server

2013-12-04 Thread Alan McGinlay - SICS
On 2013-12-04 11:35, lst_ho...@kwsoft.de wrote: Zitat von Timo Sirainen t...@iki.fi: On 3.12.2013, at 23.55, Oscar del Rio del...@mie.utoronto.ca wrote: On 12/ 3/13 02:17 PM, Timo Sirainen wrote: On 3.12.2013, at 16.01, Alan McGinlay - SICS al...@sics.se wrote: * I have looked at dsync

[Dovecot] Ubuntu packages and broken link in docs

2013-12-04 Thread Alan McGinlay - SICS
Hi, Two things: 1. Does anyone know of a good PPA with updated packages of Dovecot for Ubuntu? For the latest Dovecot for latest Ubuntu LTS see Xiaoka APT Repository. (Outdated. Could someone provide a ppa for latest stable Dovecot, please?) 2. On the

[Dovecot] Complete migration from Cyrus on remote server

2013-12-03 Thread Alan McGinlay - SICS
Hi All! I am working on a complete migration from an old solaris machine running Cyrus IMAP v2.3.14 and wish to migrate all users to a new ubuntu vm running Dovecot 2.0.19. What I have so far is a fully functional dovecot installation with LDAP / Dovecot SASL auth using Maildir++. My plan is