[Dovecot] Replication - what am I doing wrong?

2014-01-27 Thread IT geek 31
Hi,

I'm having issues getting replication working, and I'm not also not having
much luck finding help on it.

So I'm wondering... am I not asking the right questions?  Or am I not
providing enough information... or do we just not know how this aspect of
the technology works?

If it's the former, then any pointers on what questions to ask or
information to provide would be very helpful.

If the community genuinely doesn't know how this works then that's okay too
- I will look at another solution (if one exists) and try to move on.

But if I can get this working then that would be amazing as I really like
Dovecot and would be gutted to move away from it.


-Mark


Re: [Dovecot] Replication - what am I doing wrong?

2014-01-27 Thread Charles Marcus

On 2014-01-27 4:15 AM, IT geek 31 itgee...@googlemail.com wrote:

So I'm wondering... am I not asking the right questions?  Or am I not
providing enough information... or do we just not know how this aspect of
the technology works?


I only see this one email from you...?

--

Best regards,

Charles




Re: [Dovecot] Replication - what am I doing wrong?

2014-01-27 Thread IT geek 31
This month yes, but I've raised a few over the last few months and not had
much luck :-(

Timo helped me out on bit of the basic stuff, but I kinda got stuck again.

I'm not sure if the following config is right, and if it is, why the
resultant file sizes bigger than the original.

The error I'm currently getting is:

   Jan 27 21:03:33 server1 dovecot: dsync-local(mark): Error: read(
server2.mdb.eu.com) failed: EOF

dovecot -n for server 1:

# 2.2.9: /usr/pkg/etc/dovecot/dovecot.conf
# OS: NetBSD 5.2 cobalt
auth_mechanisms = plain login
doveadm_password = secret
doveadm_port = 12345
first_valid_uid = 1003
last_valid_uid = 1020
listen = 192.168.1.2
login_greeting = Go on then, let's have it...
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins =  notify replication
passdb {
  driver = passwd
}
plugin {
  mail_replica = tcp:server2.test.com
}
protocols = imap
service aggregator {
  fifo_listener replication-notify-fifo {
mode = 0666
  }
  unix_listener replication-notify {
mode = 0600
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  user = root
}
service doveadm {
  inet_listener {
port = 12345
  }
}
service imap-login {
  inet_listener imap {
port = 0
  }
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
mode = 0600
  }
}
ssl_cert = /etc/openssl/certs/server1.test.com.crt
ssl_key = /etc/openssl/private/server1.test.com.key
userdb {
  driver = passwd
}
protocol lda {
  postmaster_address = postmas...@test.com
}

Any help would be appreciated...



On 27 January 2014 20:49, Charles Marcus cmar...@media-brokers.com wrote:

 On 2014-01-27 4:15 AM, IT geek 31 itgee...@googlemail.com wrote:

 So I'm wondering... am I not asking the right questions?  Or am I not
 providing enough information... or do we just not know how this aspect of
 the technology works?


 I only see this one email from you...?

 --

 Best regards,

 Charles