Re: [Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze

2013-03-20 Thread pvsuja
I got it working with the configuration i sent in last mail (without ssl_ca setting) And i had to give the hostname in place of ip address of server since the ssl certificates were having the host name. Thanks to all of you for your time and support.. Thanks a bunch -- View this message in

[Dovecot] ulimit -n in start-script

2013-03-20 Thread Peer Heinlein
Hi! Even on midrange-systems it's necessary to set ulimit -n to a higher value then the system default of 1024. I'd prefer having this already prepared: In /etc/defaults/dovecot we should add: # Set amount of open files / ulimit -n ULIMIT_OPEN_FILES=16884 In /etc/init.d/dovecot we should

Re: [Dovecot] Mongo backend for userdb and passdb

2013-03-20 Thread Damien Churchill
On 28 February 2013 14:47, Damien Churchill dam...@gmail.com wrote: On 28 February 2013 14:40, Timo Sirainen t...@iki.fi wrote: On 28.2.2013, at 15.13, Damien Churchill dam...@gmail.com wrote: On 28 February 2013 14:01, Timo Sirainen t...@iki.fi wrote: On 28.2.2013, at 12.28, Damien Churchill

Re: [Dovecot] v2.2 status update

2013-03-20 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2013.03.19 18:45: * dsync can sync ACLs +1 doveadm -o plugin/quota= backup -u t...@leuxner.net mdbox:/home/backups/tlx/mdbox Works great now. Thanks. signature.asc Description: Digital signature

Re: [Dovecot] v2.2 status update

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 11:31 +0100, Thomas Leuxner wrote: * Timo Sirainen t...@iki.fi 2013.03.19 18:45: * dsync can sync ACLs +1 doveadm -o plugin/quota= backup -u t...@leuxner.net mdbox:/home/backups/tlx/mdbox Works great now. Thanks. I don't think you need the -o plugin/quota=

Re: [Dovecot] Mongo backend for userdb and passdb

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 10:29 +, Damien Churchill wrote: I've been messing about with this and I think a similar configuration format to the sql dict driver would be handy, although I imagine the same could also be achieved with just lots of uri arguments. Mongo isn't really a key/value

Re: [Dovecot] Mongo backend for userdb and passdb

2013-03-20 Thread Damien Churchill
On 20 March 2013 10:39, Timo Sirainen t...@iki.fi wrote: On Wed, 2013-03-20 at 10:29 +, Damien Churchill wrote: I've been messing about with this and I think a similar configuration format to the sql dict driver would be handy, although I imagine the same could also be achieved with just

Re: [Dovecot] Mongo backend for userdb and passdb

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 10:40 +, Damien Churchill wrote: On 20 March 2013 10:39, Timo Sirainen t...@iki.fi wrote: On Wed, 2013-03-20 at 10:29 +, Damien Churchill wrote: I've been messing about with this and I think a similar configuration format to the sql dict driver would be

Re: [Dovecot] Mongo backend for userdb and passdb

2013-03-20 Thread Damien Churchill
On 20 March 2013 10:54, Timo Sirainen t...@iki.fi wrote: On Wed, 2013-03-20 at 10:40 +, Damien Churchill wrote: On 20 March 2013 10:39, Timo Sirainen t...@iki.fi wrote: On Wed, 2013-03-20 at 10:29 +, Damien Churchill wrote: I've been messing about with this and I think a similar

Re: [Dovecot] ulimit -n in start-script

2013-03-20 Thread Patrick Westenberg
Peer Heinlein schrieb: Even on midrange-systems it's necessary to set ulimit -n to a higher value then the system default of 1024. Could this lead to this problem? Error: file_dotlock_create(/var/mail/example.com/john.doe/Maildir/.Sent/dovecot-uidlist) failed: No space left on device

[Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
I'd like to use Dovecot as our IMAP server when our users are within our LAN, but I'd also like to give them the ability to access their emails via POP3 when they are outside the LAN. I know most POP3 clients will give their users the option of not deleting the messages from the server after

Re: [Dovecot] v2.2 status update

2013-03-20 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2013.03.20 11:37: I don't think you need the -o plugin/quota= here. dsync should ignore quota limits. Just tried without and it adds the backup to the quota, forcing you to run recalc afterwards. signature.asc Description: Digital signature

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 06:39 -0600, dormitionsk...@hotmail.com wrote: I'd like to use Dovecot as our IMAP server when our users are within our LAN, but I'd also like to give them the ability to access their emails via POP3 when they are outside the LAN. I know most POP3 clients will give

Re: [Dovecot] v2.2 status update

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 13:40 +0100, Thomas Leuxner wrote: * Timo Sirainen t...@iki.fi 2013.03.20 11:37: I don't think you need the -o plugin/quota= here. dsync should ignore quota limits. Just tried without and it adds the backup to the quota, forcing you to run recalc afterwards. Oh,

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Robert Schetterer
Am 20.03.2013 13:39, schrieb dormitionsk...@hotmail.com: I'd like to use Dovecot as our IMAP server when our users are within our LAN, but I'd also like to give them the ability to access their emails via POP3 when they are outside the LAN. I know most POP3 clients will give their users

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
On Mar 20, 2013, at 6:43 AM, Timo Sirainen wrote: On Wed, 2013-03-20 at 06:39 -0600, dormitionsk...@hotmail.com wrote: I'd like to use Dovecot as our IMAP server when our users are within our LAN, but I'd also like to give them the ability to access their emails via POP3 when they are

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Thomas Leuxner
* dormitionsk...@hotmail.com dormitionsk...@hotmail.com 2013.03.20 14:17: Everybody here uses Macs, iPads or iPhones. We would not necessarily have to support a wide variety of clients. Their Mail Clients natively support IMAP, so not sure why you would want to go with POP3 in this scenario.

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
for the whole situation , why not simple allow only imap , and perhaps use folder acl etc , downloading only subjects first or some special folders etc to save bandwith should be possible with most mobile clients This would be the best, but this has to be done on the clients, right? I don't

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
On Mar 20, 2013, at 7:22 AM, Thomas Leuxner wrote: * dormitionsk...@hotmail.com dormitionsk...@hotmail.com 2013.03.20 14:17: Everybody here uses Macs, iPads or iPhones. We would not necessarily have to support a wide variety of clients. Their Mail Clients natively support IMAP, so not

[Dovecot] Override quota settings with LDAP

2013-03-20 Thread Hanno Hirschberger
Hi all, my current Dovecot setup is fetching both the imap quota limit and the mail location settings from LDAP entries. user_attrs = [...] UDBmailQuota=quota_rule=*:bytes=%$, mailLocation=mail That is because we have 3 users who wants to fetch their mail from /var/mail/username. All the

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Thomas Leuxner
* dormitionsk...@hotmail.com dormitionsk...@hotmail.com 2013.03.20 14:35: Their Mail Clients natively support IMAP, so not sure why you would want to go with POP3 in this scenario. Well, like I said, we have real slow upload speeds. I think POP3 would give a better user experience.

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
On Mar 20, 2013, at 7:51 AM, Thomas Leuxner wrote: * dormitionsk...@hotmail.com dormitionsk...@hotmail.com 2013.03.20 14:35: Their Mail Clients natively support IMAP, so not sure why you would want to go with POP3 in this scenario. Well, like I said, we have real slow upload speeds.

Re: [Dovecot] dovecot: auth-worker: order of authentication types

2013-03-20 Thread David Obando
I found out myself how to control the order: http://wiki2.dovecot.org/Authentication/MultipleDatabases. still asking how to set up dovecot authentication so *users that authenticate with only their username (i.e. system users) always and only use PAM authentication *users that authenticate with

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Timo Sirainen
On Wed, 2013-03-20 at 08:15 -0600, dormitionsk...@hotmail.com wrote: My experience with IMAP over the internet with a couple of servers outside our monastery (while I was in it, and we have considerably better download speeds than upload) has always been that IMAP has always been incredibly

Re: [Dovecot] %{session} does not work with deliver_log_format

2013-03-20 Thread Timo Sirainen
On 25.2.2013, at 23.34, Daniel Parthey daniel.part...@informatik.tu-chemnitz.de wrote: LMTP has a completely different session ID currently, which gets reset for each mail delivery and is written to the Received: header that it writes. It doesn't traverse through proxies, because each

Re: [Dovecot] Imaptest: Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory

2013-03-20 Thread Timo Sirainen
On 28.2.2013, at 16.36, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: When I build imaptest with an installed v2.2 instance, libssl_iostream_openssl.so is loaded from /usr/local/lib/dovecot . Don't usee SSL connections, so it won't load it? :) OK, I needed two tries to understand

Re: [Dovecot] Exposing masteruser info to cllients via lmtp-proxy connections

2013-03-20 Thread Timo Sirainen
On 4.3.2013, at 0.54, Alexandr Sabitov alexandr.sabi...@netregistry.com.au wrote: Please somebody suggest me how to remove the *masteruser appendix from the dovecot director database while using masteruser authentication. Not sure about how to fix that, but maybe you can get rid of the

Re: [Dovecot] Stability of extraction of attachment

2013-03-20 Thread Timo Sirainen
On 4.3.2013, at 12.36, Angel L. Mateo ama...@um.es wrote: Hello, We are migrating our dovecot servers from 2.1.9 to 2.1.15 (or 2.2 if there is a stable version soon) and maildir format to mdbox. Looking for mdbox options I have found options: * mail_attachment_dir *

Re: [Dovecot] Maildir or Mdbox and expunge messages.

2013-03-20 Thread Timo Sirainen
On 5.3.2013, at 11.55, Evgeny Basov ya.mw...@yandex.ru wrote: I tested dovecot's work with expunge messages on Mdbox over strace (see at tail of message). As I can see dovecot process opens old storage m.* file, reads it content, opens new temporary file, writes in this one content and

Re: [Dovecot] Lot of dovecot process writes

2013-03-20 Thread Timo Sirainen
On 6.3.2013, at 14.44, Angel L. Mateo ama...@um.es wrote: While monitoring my servers' behaviour (ubuntu 12.04 with dovecot 2.1.9, with about 7 users) I have found that lots of disk usage is done by dovecot process (the parent process). Since lmtp, imap and pop3 connections are handle

Re: [Dovecot] Core dump in 2.2.rc2 with FETCH 1 BODY.PEEK[ALL]

2013-03-20 Thread Timo Sirainen
On 7.3.2013, at 10.30, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: 2 FETCH 1 BODY.PEEK[ALL] dumps core, bt full is: Thanks, fixed: http://hg.dovecot.org/dovecot-2.2/rev/ab434891f2af

Re: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)

2013-03-20 Thread Timo Sirainen
On 7.3.2013, at 14.12, Marcin Mirosław mar...@mejor.pl wrote: Here is backtrace from doveadm force-resync: #0 rebuild_mailbox_multi (trans=0x428b58d090, view=optimized out, rebuild_ctx=0x428b5a0690, ctx=0x428b57a9a0, mbox=optimized out) at mdbox-storage-rebuild.c:433 433

Re: [Dovecot] ACL to make mailboxes populated by master account Read Only for regular users.

2013-03-20 Thread Timo Sirainen
On 7.3.2013, at 19.10, Alex Cherniak achern...@gmail.com wrote: We have a solution using Dovecot as a secondary mail archive. All mailboxes are populated/groomed by master account and the actual users have only read access. This is achieved by a simple ACL approach. dovecot.conf has

Re: [Dovecot] dovecot: imap-login: Aborted login (auth failed, 1 attempts in 2 secs): user=xxx, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS, session=1pBG/03XogB/AAAB

2013-03-20 Thread Timo Sirainen
On 8.3.2013, at 8.08, pvsuja pvs...@gmail.com wrote: Through wireshark, I found the username and password is going in plain text only to the server. How will I enable starttls in ImapcProxy before any communication starts? imapc_ssl = starttls See also other related settings in

Re: [Dovecot] Logon with Client Certificate and OTP fallback

2013-03-20 Thread Timo Sirainen
On 10.3.2013, at 12.28, dovecot.pk...@dfgh.net wrote: For 10 years we are using a very simple POP3-server where I replaced the authentication routines with my own functions and these function are doing the following: 1) if the connection was made without SSL refuse to connect 2) if the

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Timo Sirainen
On 11.3.2013, at 16.00, Heiko Schlichting doveco...@fu-berlin.de wrote: using dovecot 2.2rc2 I got core dumps during IMAP subscription change if the CONTROL directory (specified in mail_location) does not exists. userdb_mail:

Re: [Dovecot] dsync migration questions

2013-03-20 Thread Timo Sirainen
On 14.3.2013, at 21.07, Michael Smith (DF) msm...@datafoundry.com wrote: dsync -D -v -R -u ana...@domain.com backup mbox:/mnt/mail/mail_spool/.migrate/ .. dsync(anakin): Error: Trying to open a non-listed mailbox with guid=814b6332541c42516949a72406a4 dsync(anakin): Error: msg iteration

Re: [Dovecot] v2.2 dsync

2013-03-20 Thread Timo Sirainen
On 14.3.2013, at 12.05, Walter Steiner ws+dove...@iai.uni-bonn.de wrote: #0 0x004578cc in dsync_ibc_send_mail_request (ibc=0x4a9f20, request=0x5441c0) at dsync-ibc.c:38 38 return ibc-v.is_send_queue_full(ibc) ? If it crashes there, is_send_queue_full must be NULL or

Re: [Dovecot] shared folders and subscriptions = yes

2013-03-20 Thread Timo Sirainen
On 15.3.2013, at 19.29, Lars Uhlmann dove...@lars-uhlmann.de wrote: To have all IMAP-Users automatically updated their shared folder structure I use subscriptions = yes. This works with the side effect, that all IMAP-Users can see _all_ folders in every namespace even if they do not have

Re: [Dovecot] Zlib plugin: Compress emails for one folder only

2013-03-20 Thread Timo Sirainen
On 16.3.2013, at 14.43, Andre Rodier andre.rod...@gmail.com wrote: Hello everyone, Is it possible to configure the zlib plugin to compress the emails in one folder only? I would like to compress the emails when they are stored in my 'Archives' folders and sub folders. Nope. With

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Timo Sirainen
On 4.3.2013, at 8.50, Larry Rosenman larry...@gmail.com wrote: I've just started using Dovecot, and can't seem to get the LDA to work. I get the following error: Mar 4 00:47:19 thebighonker dovecot: lda(ler): Error: user ler: Initialization failed: namespace configuration error: Duplicate

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Larry Rosenman
I really need the snarf plugin to work, also, I don't think LMTP will let me redirect to files using the Exim Filters. What can you tell me to help debug this? On Wed, Mar 20, 2013 at 1:00 PM, Timo Sirainen t...@iki.fi wrote: On 4.3.2013, at 8.50, Larry Rosenman larry...@gmail.com wrote:

Re: [Dovecot] Override quota settings with LDAP

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 15.25, Hanno Hirschberger hannohirschber...@googlemail.com wrote: Mar 20 13:37:04 lmtp(2494, username): Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota Mar 20 13:37:04 lmtp(2494, username): Error: opendir(/var/empty/.imap) failed: No such file

Re: [Dovecot] dovecot: auth-worker: order of authentication types

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 16.42, David Obando da...@cryptix.de wrote: still asking how to set up dovecot authentication so *users that authenticate with only their username (i.e. system users) always and only use PAM authentication *users that authenticate with their e-mail-address always and only use

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Timo Sirainen
Test first if it's because of the snarf plugin? I'm not sure that it is. On 20.3.2013, at 20.02, Larry Rosenman larry...@gmail.com wrote: I really need the snarf plugin to work, also, I don't think LMTP will let me redirect to files using the Exim Filters. What can you tell me to help debug

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Larry Rosenman
The issue is this is my production box, and I've gotten around this by NOT using the LDA, and just having Exim writing the mbox files. Is there any easy way to test just the LDA? Or trace this? On Wed, Mar 20, 2013 at 1:06 PM, Timo Sirainen t...@iki.fi wrote: Test first if it's because of

Re: [Dovecot] v2.2 dsync

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 19.51, Timo Sirainen t...@iki.fi wrote: On 14.3.2013, at 12.05, Walter Steiner ws+dove...@iai.uni-bonn.de wrote: #0 0x004578cc in dsync_ibc_send_mail_request (ibc=0x4a9f20, request=0x5441c0) at dsync-ibc.c:38 38 return ibc-v.is_send_queue_full(ibc) ?

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Heiko Schlichting
Timo Sirainen wrote: On 11.3.2013, at 16.00, Heiko Schlichting doveco...@fu-berlin.de wrote: using dovecot 2.2rc2 I got core dumps during IMAP subscription change if the CONTROL directory (specified in mail_location) does not exists. userdb_mail:

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 20.26, Heiko Schlichting doveco...@fu-berlin.de wrote: Testing with one hour old changeset 16065 ab434891f2af failed during compilation: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -DMODULE_DIR=\/home/dovecot/server/lib/dovecot\ -std=gnu99 -g -O2 -Wall -W

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Larry Rosenman
Also, I *CAN* give SSH access to the box if you need/want it. On Wed, Mar 20, 2013 at 1:18 PM, Larry Rosenman larry...@gmail.com wrote: The issue is this is my production box, and I've gotten around this by NOT using the LDA, and just having Exim writing the mbox files. Is there any easy

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Heiko Schlichting
On 20.3.2013, at 20.26, Heiko Schlichting doveco...@fu-berlin.de wrote: Testing with one hour old changeset 16065 ab434891f2af failed during compilation: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -DMODULE_DIR=\/home/dovecot/server/lib/dovecot\ -std=gnu99 -g -O2 -Wall -W

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 20.42, Heiko Schlichting doveco...@fu-berlin.de wrote: On 20.3.2013, at 20.26, Heiko Schlichting doveco...@fu-berlin.de wrote: Testing with one hour old changeset 16065 ab434891f2af failed during compilation: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Timo Sirainen
Looks like I can reproduce this with v2.1.15, but it works with v2.2. Probably too much trouble to debugfix it for v2.1. So I suggest v2.2. (I'll release v2.2.rc3 probably today.) On Wed, 2013-03-20 at 13:41 -0500, Larry Rosenman wrote: Also, I *CAN* give SSH access to the box if you need/want

Re: [Dovecot] lda: duplicate prefix?

2013-03-20 Thread Larry Rosenman
Ok. I'll wait for 2.2 to hit the FreeBSD ports tree. Thanks! On Wed, Mar 20, 2013 at 2:34 PM, Timo Sirainen t...@iki.fi wrote: Looks like I can reproduce this with v2.1.15, but it works with v2.2. Probably too much trouble to debugfix it for v2.1. So I suggest v2.2. (I'll release v2.2.rc3

[Dovecot] v2.2.rc3 released

2013-03-20 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc3.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc3.tar.gz.sig As mentioned in http://dovecot.org/list/dovecot/2013-March/089044.html there are some new rather large features. Also various mostly rather small bugfixes. + dsync:

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread Robin
On 3/20/2013 6:35 AM, dormitionsk...@hotmail.com wrote: Well, like I said, we have real slow upload speeds. I think POP3 would give a better user experience. About the only connectivity situation where POP3 might make for a better user experience is one of intermittent bursty sort that's

Re: [Dovecot] 2.2rc2 core dump

2013-03-20 Thread Heiko Schlichting
But it still crashes if I subscribe and the CONTROL=... directory does not exists: Not sure why I couldn't reproduce it earlier, but I could now. These fix it: http://hg.dovecot.org/dovecot-2.2/rev/f39c649057ea http://hg.dovecot.org/dovecot-2.2/rev/9a913c803608 Thanks. I can confirm

Re: [Dovecot] Disallow POP3 from deleting messages

2013-03-20 Thread dormitionsk...@hotmail.com
On Mar 20, 2013, at 8:59 AM, Timo Sirainen wrote: On Wed, 2013-03-20 at 08:15 -0600, dormitionsk...@hotmail.com wrote: My experience with IMAP over the internet with a couple of servers outside our monastery (while I was in it, and we have considerably better download speeds than upload)

Re: [Dovecot] ulimit -n in start-script

2013-03-20 Thread Ben Morrow
At 1PM +0100 on 20/03/13 you (Patrick Westenberg) wrote: Peer Heinlein schrieb: Even on midrange-systems it's necessary to set ulimit -n to a higher value then the system default of 1024. Could this lead to this problem? Error: