Re: [Dovecot] Where can I find a stable PPA?

2014-03-21 Thread Gedalya

On 03/21/2014 06:34 PM, Daniel Reynolds wrote:

Hello,

As the subject says, where can I find a stable PPA of Dovecot v2.2 for
Ubuntu 12.04?

I found this , but the
description says, "...I declare them as unstable."

For obvious reasons, I don't want to use this.

What should I do?

Thanks,

Daniel
Try to take a look at 
https://build.opensuse.org/project/repository_state/home:sbosch:dovecot-2.2/xUbuntu_12.04

as linked from http://wiki2.dovecot.org/PrebuiltBinaries#Ubuntu

These are automatically built packages and are designated as unstable. 
This refers to the fact that new packages are built automatically when 
new commits are added to the source code repository. If a new commit 
introduced a bug, then the new binary package will be buggy. What you 
can do is to just try it and see if it works well in your configuration, 
and then put the packages on hold and don't just upgrade them. You can 
test new builds in a test environment.


Sometimes "unstable" should be read as "potentially unstable but not 
necessarily". There need not be anything inherently dangerous in a 
particular build of the packages, it's more about a convenient channel 
of distribution which you seem to be lacking, for dovecot 2.2.


[Dovecot] Where can I find a stable PPA?

2014-03-21 Thread Daniel Reynolds
Hello,

As the subject says, where can I find a stable PPA of Dovecot v2.2 for
Ubuntu 12.04?

I found this , but the
description says, "...I declare them as unstable."

For obvious reasons, I don't want to use this.

What should I do?

Thanks,

Daniel


Re: [Dovecot] Dovecot/Django authentication

2014-03-21 Thread Joseph Tam

Thomas Johnson  writes:


We've got an application in django that has passwords stored in both
sha1 and pbkdf2_sha256 form.  We need dovecot to be able to
authenticate against the django database (we can't modify django to
store passwords in dovecot's form, I'm afraid). 


Has anyone done a dovecot authentication plugin to support these
password forms (and/or any other forms that django supports)?


You can always fall back on

http://wiki2.dovecot.org/AuthDatabase/CheckPassword

to implement any wild and woolly scheme you got going.

Joseph Tam 


Re: [Dovecot] Debian Wheezy Dovecot Replication no updates on message deposit

2014-03-21 Thread Charles Marcus

On 3/21/2014 12:00 PM, Milan Cvetkovic  wrote:

Charles Marcus wrote:
On 3/21/2014 10:50 AM, Milan Cvetkovic  
wrote:

I know that 2.1.7 is dated, but I would refrain from upgrading, if not
necessary.


Since dsync was always buggy in pre 2.2 releases, and was completely
rewritten for 2.2, I'd say it has now become 'necessary' to update, if
you are experiencing dsync issues.


So, configuration I have should work in 2.2 ? 


Didn't get that far. The point is you are wasting time trying to get it 
to work in 2.1...


--

Best regards,

Charles


[Dovecot] Dovecot/Django authentication

2014-03-21 Thread Thomas Johnson
We've got an application in django that has passwords stored in both sha1 and 
pbkdf2_sha256 form.  We need dovecot to be able to authenticate against the 
django database (we can't modify django to store passwords in dovecot's form, 
I'm afraid).

Has anyone done a dovecot authentication plugin to support these password forms 
(and/or any other forms that django supports)?

Thanks-

Tom

Re: [Dovecot] Debian Wheezy Dovecot Replication no updates on message deposit

2014-03-21 Thread Milan Cvetkovic

So, configuration I have should work in 2.2 ?

Thanks, Milan.

Charles Marcus wrote:

On 3/21/2014 10:50 AM, Milan Cvetkovic  wrote:

I know that 2.1.7 is dated, but I would refrain from upgrading, if not
necessary.


Since dsync was always buggy in pre 2.2 releases, and was completely
rewritten for 2.2, I'd say it has now become 'necessary' to update, if
you are experiencing dsync issues.



Re: [Dovecot] Debian Wheezy Dovecot Replication no updates on message deposit

2014-03-21 Thread Charles Marcus

On 3/21/2014 10:50 AM, Milan Cvetkovic  wrote:
I know that 2.1.7 is dated, but I would refrain from upgrading, if not 
necessary. 


Since dsync was always buggy in pre 2.2 releases, and was completely 
rewritten for 2.2, I'd say it has now become 'necessary' to update, if 
you are experiencing dsync issues.


--

Best regards,

Charles


[Dovecot] Debian Wheezy Dovecot Replication no updates on message deposit

2014-03-21 Thread Milan Cvetkovic

Hi,

I am trying to setup dovecot replication based on:

http://wiki2.dovecot.org/Replication
http://www.dovecot.org/list/dovecot/2013-January/087674.html

I know that 2.1.7 is dated, but I would refrain from upgrading, if not 
necessary.


The problem I have is pretty much same as the one described in 
http://www.dovecot.org/list/dovecot/2013-January/087674.html:


I have vmail user on both systems, setup with ssh public key logins with 
empty passphrase. Apparently, dsync happens only on periodic updates. If 
a message is deposited on one server, it will only propagate to the 
other once a while.


Thanks, Milan.

Here is doveconf -n output:

# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mail_plugins = " notify replication"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave

namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  mail_replica = remote:vmail@192.168.108.138
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = " imap sieve pop3"
replication_full_sync_interval = 1 hours
service aggregator {
  fifo_listener replication-notify-fifo {
user = vmail
  }
  unix_listener replication-notify {
user = vmail
  }
}
service auth {
  unix_listener auth-client {
mode = 0660
user = Debian-exim
  }
}
service config {
  unix_listener config {
user = vmail
  }
}
service doveadm {
  user = vmail
}
service replicator {
  process_min_avail = 1
  unix_listener replicator-doveadm {
mode = 0600
  }
}
ssl_cert = 

Re: [Dovecot] Dovecot + roundcube -- Password Change

2014-03-21 Thread Robert Schetterer
Am 21.03.2014 08:21, schrieb Vijay Rajah:
> Hello,
> 
> I'm using Postfix + Dovecot (2.2.6) + roundcube 0.8.x + mysql.
> 
> The roundcube webserver is hosted on a different server than the
> Dovecot. The dovecot itself is a replicated 2 node configuration.
> 
> I would like to allow users to change the password from roundcube
> interface. All the examples I have seen, assume that roundcube runs in
> the same server as dovecot.
> 
> Is there an example / documentation to enable this to work, applying
> reasonable security measures.
> 
> -Thanks
> Vijay

depends where your password is stored, or what auth mech do you use i.e
with running on seperate sql server, configure roundcube to change pass
there, for sure your roundcube must be able to connect to external sql
server, so specially have a look at your firewall rules, ideally a
secondary private net is used for sql traffic

perhaps look at

http://trac.roundcube.net/browser/github/plugins/password

but i am no expert in roundcube, if this is the right plugin, for
problems as their list

Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


[Dovecot] Dovecot + roundcube -- Password Change

2014-03-21 Thread Vijay Rajah

Hello,

I'm using Postfix + Dovecot (2.2.6) + roundcube 0.8.x + mysql.

The roundcube webserver is hosted on a different server than the 
Dovecot. The dovecot itself is a replicated 2 node configuration.


I would like to allow users to change the password from roundcube 
interface. All the examples I have seen, assume that roundcube runs in 
the same server as dovecot.


Is there an example / documentation to enable this to work, applying 
reasonable security measures.


-Thanks
Vijay