Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Tobias Oetiker
Oetiker wrote: >> >> >> >> >> >> Hi All, >> >> >> >> I spent some quality time yesterday, tuning dovecot on a server which >> >> serves as >> >> an imap-proxy in front of a zimbra setup >> >> the imap p

Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Aki Tuomi
I spent some quality time yesterday, tuning dovecot on a server which > >> serves as > >> an imap-proxy in front of a zimbra setup > >> the imap proxy does ldap client-cert authentication and works well. > >> > >> BUT > >> > >>

Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Tobias Oetiker
- On Sep 3, 2021, at 9:01 AM, Aki Tuomi aki.tu...@open-xchange.com wrote: >> On 03/09/2021 09:35 Tobias Oetiker wrote: >> >> >> Hi All, >> >> I spent some quality time yesterday, tuning dovecot on a server which serves >> as >> an imap-pr

Re: 100 MB RAM per clinet in an imap-proxy setup ...

2021-09-03 Thread Aki Tuomi
> On 03/09/2021 09:35 Tobias Oetiker wrote: > > > Hi All, > > I spent some quality time yesterday, tuning dovecot on a server which serves > as an imap-proxy in front of a zimbra setup > the imap proxy does ldap client-cert authentication and works well. > >

100 MB RAM per clinet in an imap-proxy setup ...

2021-09-02 Thread Tobias Oetiker
Hi All, I spent some quality time yesterday, tuning dovecot on a server which serves as an imap-proxy in front of a zimbra setup the imap proxy does ldap client-cert authentication and works well. BUT I found that the imap-login processes seem to gain 100 MB per connection they are

Dovecot Imap-Proxy: openssl_iostream_handle_error

2020-03-11 Thread Urban Loesch
Hi, I'm running Dovecot 2.3.9-2 as an IMAP/POP3 Proxy in front of several Dovecotbackends. No Director, only static routing to the backends of each user. The proxies are also working as "SSL offload engines". SystemOS: Debian Stretch (9.11) on LXC Virtualization Sometimes I get the following e

Re: IMAP proxy

2017-12-19 Thread Gandalf Corvotempesta
2017-12-15 18:21 GMT+01:00 Aki Tuomi : > Return from passdb, 'proxy host=your-new-host port=143 ssl=starttls' So, instead of returning the current db output: "user, password, userdb_mail, userdb_sieve, .." is enough to only return "proxy host=your-new-host port=143 ssl=starttls" ? Will doveco

Re: IMAP proxy

2017-12-15 Thread x9p
On Fri, December 15, 2017 3:21 pm, Aki Tuomi wrote: > >> On December 15, 2017 at 6:57 PM Gandalf Corvotempesta >> wrote: >> >> ... >> server would be proxied to the newer one automatically ? >> >> Any additional software or only a configuration change is required ? > > Return from passdb, 'proxy

Re: IMAP proxy

2017-12-15 Thread Aki Tuomi
A record or > wait for all users to change their domain configuration. > > TL;DR: is possible to use dovecot as IMAP proxy so that even after > changing our dns records, any user directly connecting to my old > server would be proxied to the newer one automatically ? > &

IMAP proxy

2017-12-15 Thread Gandalf Corvotempesta
from the old server to the newer one. As most of domains are not managed by me and some other domains are pointing to our server via IP, I can't simply change the A record or wait for all users to change their domain configuration. TL;DR: is possible to use dovecot as IMAP proxy so that

Re: IMAP proxy for Exchange - encrypted backend Communication?

2017-01-06 Thread Thomas Koenig
thx, I'll try it. Currently I use stunnel as a quick and dirty work around. Tom Am 6. Januar 2017 18:04:57 MEZ schrieb Sami Ketola : > >> On 5 Jan 2017, at 22.56, tom wrote: >> >> Hello, >> >> I try to setup a IMAP proxy for my old Exchange serve

Re: IMAP proxy for Exchange - encrypted backend Communication?

2017-01-06 Thread Sami Ketola
> On 5 Jan 2017, at 22.56, tom wrote: > > Hello, > > I try to setup a IMAP proxy for my old Exchange server. > Running Dovecot v2.x on Centos 7. > > So far I follow http://wiki2.dovecot.org/HowTo/ImapcProxy and it seem > to work. The only but major thi

IMAP proxy for Exchange - encrypted backend Communication?

2017-01-05 Thread tom
Hello, I try to setup a IMAP proxy for my old Exchange server. Running Dovecot v2.x on Centos 7. So far I follow http://wiki2.dovecot.org/HowTo/ImapcProxy and it seem to work. The only but major thing is with this setup - the communication between proxy and backend is not encrypted. :( To fix

Re: Detect IMAP server domain name in Dovecot IMAP proxy

2016-10-12 Thread Rick Romero
Quoting KT Walrus : On Oct 12, 2016, at 2:07 PM, Rick Romero wrote: Quoting KT Walrus : I’m in the process of setting up a Dovecot IMAP proxy to handle a number of IMAP server domains. At the current time, I have my users divided into 70 different groups of users (call them G1 to G70

Re: Detect IMAP server domain name in Dovecot IMAP proxy

2016-10-12 Thread KT Walrus
> On Oct 12, 2016, at 2:07 PM, Rick Romero wrote: > > Quoting KT Walrus : > >> I’m in the process of setting up a Dovecot IMAP proxy to handle a > number >> of IMAP server domains. At the current time, I have my users divided >> into 70 different groups of us

Re: Detect IMAP server domain name in Dovecot IMAP proxy

2016-10-12 Thread Rick Romero
Quoting KT Walrus : I’m in the process of setting up a Dovecot IMAP proxy to handle a number of IMAP server domains. At the current time, I have my users divided into 70 different groups of users (call them G1 to G70). I want each group to configure their email client to access their

Detect IMAP server domain name in Dovecot IMAP proxy

2016-10-12 Thread KT Walrus
I’m in the process of setting up a Dovecot IMAP proxy to handle a number of IMAP server domains. At the current time, I have my users divided into 70 different groups of users (call them G1 to G70). I want each group to configure their email client to access their mailboxes at a domain name

Re: FTS search used / useful on an IMAP proxy?

2016-06-28 Thread Timo Sirainen
On 28 Jun 2016, at 16:07, Luca Lesinigo wrote: > > We are preparing an IMAP proxy based on dovecot-2.2.22, basic proxy > functionality is already working and I’m trying to understand if having the > FTS service configured on the dovecot *proxy* would be of any use. > > I d

Re: FTS search used / useful on an IMAP proxy?

2016-06-28 Thread Michael Slusarz
> > On June 28, 2016 at 7:07 AM Luca Lesinigo wrote: > > We are preparing an IMAP proxy based on dovecot-2.2.22, basic proxy > functionality is already working and I’m trying to understand if having the > FTS service configured on the dovecot *proxy* would be of any

FTS search used / useful on an IMAP proxy?

2016-06-28 Thread Luca Lesinigo
We are preparing an IMAP proxy based on dovecot-2.2.22, basic proxy functionality is already working and I’m trying to understand if having the FTS service configured on the dovecot *proxy* would be of any use. I do suspect it would be useless, I guess dovecot in imap proxy mode just forwards

Re: userdb for imap proxy

2016-06-08 Thread KT Walrus
> In proxy and director configuration you can configure only the passdb lookup. Thanks. I got my installation working yesterday. I have proxies for LMTP and IMAP (no POP3) backed by a farm of Dovecot servers. The IMAP proxy listens on 70 different IPs/ports and does passdb lookups

Re: userdb for imap proxy

2016-06-08 Thread Alessio Cecchi
Il 07/06/2016 17:42, KT Walrus ha scritto: If I’m running only imap-login service in my dovecot imap proxy, do I need to configure userdb or only passdb? In proxy and director configuration you can configure only the passdb lookup. -- Alessio Cecchi Postmaster @ http://www.qboxmail.it

userdb for imap proxy

2016-06-07 Thread KT Walrus
If I’m running only imap-login service in my dovecot imap proxy, do I need to configure userdb or only passdb?

Re: plugin can't be loaded in imap proxy mode

2016-03-29 Thread Timo Sirainen
plugin did > not load and run. > > Thanks > > > From: Zhong, Xun > Sent: Wednesday, March 23, 2016 11:47 AM > To: 'dovecot@dovecot.org' > Subject: plugin can't be loaded in imap proxy mode > > When dovecot v2.2.21 work in IMAP proxy mode, plugi

RE: plugin can't be loaded in imap proxy mode

2016-03-22 Thread Zhong, Xun
, March 23, 2016 11:47 AM To: 'dovecot@dovecot.org' Subject: plugin can't be loaded in imap proxy mode When dovecot v2.2.21 work in IMAP proxy mode, plugin can not be loaded and work, so my question is: plugins do not work in proxy mode? Anyone can help me ? Thanks a lot.

plugin can't be loaded in imap proxy mode

2016-03-22 Thread Zhong, Xun
When dovecot v2.2.21 work in IMAP proxy mode, plugin can not be loaded and work, so my question is: plugins do not work in proxy mode? Anyone can help me ? Thanks a lot.

Problem with IMAP-Proxy and M$ Exchange-Server

2015-07-07 Thread Luca Bertoncello
Hi List! I **HATE** Exchange-Server. I think it's not able to manage E-Mails, but we have to use it at work... Well, we need to read the E-Mails from outside, so I configured Dovecot with IMAPC to connect to the Exchange-Server. It works, but I have a problem... If I receive an E-Mail, an

Re: Configuring LMTP/IMAP proxy

2014-12-22 Thread Manuel Delgado
On Mon, Dec 22, 2014 at 12:06 PM, Le Moing, Guenhaël < guenhael.le-mo...@capgemini.com> wrote: > > So my main question are : > > > 1) I just made a test and changed "lmtp_proxy" to "yes" in my > 20_lmtp.cong file, but, strangely, this did not cah nge anything ! The LMTP > process still recei

Configuring LMTP/IMAP proxy

2014-12-22 Thread Le Moing , Guenhaël
ve to start another LMTP serevr, but not configured in proxy mode of course, - Same for IMAP : IMAP proxy first checking LOGIN credentials, and then forwarding to IMAP server running on backend. As a first step, I would like to continue using my files to authenticate uses (so passwd fil

Re: [Dovecot] IMAP proxy with master user and CRAM-MD5 auth mechanism

2014-03-26 Thread ML mail
Hi Trent, Thanks for your exhaustive explanation now it is clear. What was unclear to me was the fact that the IMAP proxy server has to take care of the authentication in this case of using a master user and therefore it needs access to the passwords (in my case stored in the mailbox table in

[Dovecot] IMAP proxy with master user and CRAM-MD5 auth mechanism

2014-03-26 Thread ML mail
Hello, I would like to know if it possible to have a dovecot IMAP proxy frontend where CRAM-MD5 can be used as auth mechanism (assuming I would be using a master user/password on the dovecot IMAP backend/mailbox)? I have read a few times the following http://wiki2.dovecot.org/PasswordDatabase

Re: [Dovecot] Dovecot IMAP proxy for gmail IMAP server

2014-01-17 Thread Reindl Harald
Am 17.01.2014 18:09, schrieb CM Reddy: > I am experimenting to use Dovecot as an IMAP proxy to GMAIL server. I would > like configure my localhost as an Dovecot IMAP proxy and trying to access > my GMAIL using the Thunderbird email client. Please share the steps to > configure a

[Dovecot] Dovecot IMAP proxy for gmail IMAP server

2014-01-17 Thread CM Reddy
Hi All, I am experimenting to use Dovecot as an IMAP proxy to GMAIL server. I would like configure my localhost as an Dovecot IMAP proxy and trying to access my GMAIL using the Thunderbird email client. Please share the steps to configure and access my mails from GMAIL server. - Thanks CM Reddy

Re: [Dovecot] Message filtering capability at IMAP proxy

2014-01-10 Thread Robert Schetterer
Am 10.01.2014 09:15, schrieb CM Reddy: > Hi, > I would like process the messages at Dovecot IMAP proxy. In one of the > documents, it was mentioned that Dovecot proxy currently supports on the > fly message filtering in latest releases. Will it it possible to extend the > filte

[Dovecot] Message filtering capability at IMAP proxy

2014-01-10 Thread CM Reddy
Hi, I would like process the messages at Dovecot IMAP proxy. In one of the documents, it was mentioned that Dovecot proxy currently supports on the fly message filtering in latest releases. Will it it possible to extend the filtering feature to handle the following requirements. 1. Parse the

[Dovecot] weird situation with pop3/imap proxy and postfix authentication

2013-08-14 Thread Leonardo Rodrigues
Hello dovecot mailing list, I have a server running postfix and dovecot. I havea configuration on dovecot that allows me to provide imap4/pop3 messages for local hosted users as well as for proxied users on other servers. Basically, i have a simple MySQL table (imapproxy) with two fi

Re: [Dovecot] Transparent IMAP proxy

2013-06-16 Thread Andrzej A. Filip
On 06/16/2013 03:42 PM, Yonatan Broza wrote: > I'm considering patching Dovecot to work as a transparent (and virus > scanning) IMAP proxy. > [...] Have you considered non transparent caching proxy?

Re: [Dovecot] Transparent IMAP proxy

2013-06-16 Thread Gedalya
On 06/16/2013 01:31 PM, Eugene wrote: Or, as an alternative, most desktop antivirus tools have a mail-scanning capability. But SMTP is certainly better (though IMO even that is not really needed if you have reasonable antispam filtering and think before opening attachments). In my experience,

Re: [Dovecot] Transparent IMAP proxy

2013-06-16 Thread Eugene
From: Reindl Harald why would someone implement a virus scanner on the IMAP-level? what happens with POP3? this has to be done on SMTP level long before the message is stored and not every time a client is downloading a message Or, as an alternative, most desktop antivirus tools have a mail-

Re: [Dovecot] Transparent IMAP proxy

2013-06-16 Thread Timo Sirainen
On 16.6.2013, at 16.42, Yonatan Broza wrote: > I'm considering patching Dovecot to work as a transparent (and virus > scanning) IMAP proxy. > > What is the appropriate feature to extend? (I've considered the following: > IMAPC and reverse proxying, with IMAPC lookin

Re: [Dovecot] Transparent IMAP proxy

2013-06-16 Thread Reindl Harald
Am 16.06.2013 15:42, schrieb Yonatan Broza: > I'm considering patching Dovecot to work as a transparent (and virus > scanning) IMAP proxy why would someone implement a virus scanner on the IMAP-level? what happens with POP3? this has to be done on SMTP level long before the messag

[Dovecot] Transparent IMAP proxy

2013-06-16 Thread Yonatan Broza
Hi, I'm considering patching Dovecot to work as a transparent (and virus scanning) IMAP proxy. What is the appropriate feature to extend? (I've considered the following: IMAPC and reverse proxying, with IMAPC looking more promising since it actually parses IMAP communication).

Re: [Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Ben Morrow
At 4PM +0200 on 26/11/12 you (Graham Leggett) wrote: > Hi all, > > I have some IMAP servers fronted with separate perdition processes, > and it would be ideal if I could collapse this down to having dovecot > do both the IMAP proxying and the IMAP serving at the same time on the > same IP address

Re: [Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Graham Leggett
On 26 Nov 2012, at 4:24 PM, Graham Leggett wrote: > I have some IMAP servers fronted with separate perdition processes, and it > would be ideal if I could collapse this down to having dovecot do both the > IMAP proxying and the IMAP serving at the same time on the same IP addresses. A heartfel

[Dovecot] IMAP proxy - can it detect parodying to itself?

2012-11-26 Thread Graham Leggett
Hi all, I have some IMAP servers fronted with separate perdition processes, and it would be ideal if I could collapse this down to having dovecot do both the IMAP proxying and the IMAP serving at the same time on the same IP addresses. One of the fields in my LDAP entries contains the canonical

Re: [Dovecot] IMAP proxy between Office 365 client/Sun Messaging Server

2012-10-31 Thread Robert Schetterer
UTHENTICATE PLAIN login. > > The online documentation I've found suggests that I should be able to > configure dovecot as an IMAP proxy and have it log in to Sun Messaging > Server with AUTHENTICATE PLAIN and encode_base64("user\0admin\0adminpw") > in response to a logi

[Dovecot] IMAP proxy between Office 365 client/Sun Messaging Server

2012-10-31 Thread John Dalbec
7;ve found suggests that I should be able to configure dovecot as an IMAP proxy and have it log in to Sun Messaging Server with AUTHENTICATE PLAIN and encode_base64("user\0admin\0adminpw") in response to a login from the Office 365 migration tool. I'd like to configure dovecot to r

Re: [Dovecot] imap proxy setup - "killed with signal 11"

2012-10-12 Thread Timo Sirainen
On 11.10.2012, at 20.35, btb wrote: > i'm setting up an imap proxy in front of a novell groupwise server. it seems > to so far be partially working, but dovecot is having trouble in certain > cases. i expect that it's ultimately due to what i believe is a very poor >

[Dovecot] imap proxy setup - "killed with signal 11"

2012-10-11 Thread btb
hi- i'm setting up an imap proxy in front of a novell groupwise server. it seems to so far be partially working, but dovecot is having trouble in certain cases. i expect that it's ultimately due to what i believe is a very poor implementation of imap provided by groupwise [at l

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 20.24, Gedalya wrote: > On 03/23/2012 02:12 PM, Luca Lesinigo wrote: >> Il giorno 23/mar/2012, alle ore 11:50, Timo Sirainen ha scritto: >>> Are you thinking about actual "dummy" proxying (which is normally what >>> Dovecot proxying is about) or about the "imapc" backend >>> (ht

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Gedalya
proxy could talk just imap to the backends and use that to serve both POP3 and IMAP to clients. And it's possibly what happens with the imapc backend, but I need to do some RTFM about it. The same proxy_maybe (dummy proxy) setup works great for POP3 too. Very simple to set up, works like

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Luca Lesinigo
to the backends and use that to serve both POP3 and IMAP to clients. And it's possibly what happens with the imapc backend, but I need to do some RTFM about it. > However, I can confirm you that IMAP IDLE does work with imap proxy. That's great, I really want to provide the bes

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Timo Sirainen
On 21.3.2012, at 16.43, Luca Lesinigo wrote: > The issue I'm investigating right now is how to manage a single IMAP / POP / > SMTP / webmail "entry point" for multiple mail servers... in other words an > IMAP proxy. Are you thinking about actual "dummy"

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Miguel Tormo
w to manage a single IMAP / POP / > SMTP / webmail "entry point" for multiple mail servers... in other words an > IMAP proxy. > It would be desirable for multiple reasons: I have recently deployed a very similar setup: imap proxy, mailbox sharding... Although not exactly li

[Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-21 Thread Luca Lesinigo
ably go straight to dovecot-2.1.x) and I'd like to get it right from the beginning so I'm here asking for some advice. The issue I'm investigating right now is how to manage a single IMAP / POP / SMTP / webmail "entry point" for multiple mail servers... in other words an I

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Ed W
On 16/03/2012 15:45, Charles Marcus wrote: On 2012-03-16 11:22 AM, Ed W wrote: If the answer is that he will write a Z-Push/Activesync module for SOGo then I'm all ears! I have been watching SOGo for some time and the main thing I would miss is that every phone I have ever owned has largely li

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Charles Marcus
On 2012-03-16 11:22 AM, Ed W wrote: If the answer is that he will write a Z-Push/Activesync module for SOGo then I'm all ears! I have been watching SOGo for some time and the main thing I would miss is that every phone I have ever owned has largely limited/broken Funambol based sync and annoyin

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Timo Sirainen
On Fri, 2012-03-16 at 15:22 +, Ed W wrote: > > I also learned something very interesting yesterday concerning SOGo > > and dovecot during a sales call with a SOGo rep, but I'll wait and see > > if Timo cares to chime in on this one... ;) > > > > If the answer is that he will write a Z-Push/A

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Ed W
On 14/03/2012 10:58, Charles Marcus wrote: On 2012-03-13 6:29 PM, Terry Carmen wrote: I'm going to hope everything is OK for a while, since my goal is to retire all the old Exchange servers and move all the users to dovecot/maildir within the next couple of months. However it's always nice to

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-14 Thread Terry Carmen
On 03/14/2012 06:58 AM, Charles Marcus wrote: On 2012-03-13 6:29 PM, Terry Carmen wrote: I'm going to hope everything is OK for a while, since my goal is to retire all the old Exchange servers and move all the users to dovecot/maildir within the next couple of months. However it's always nice

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-14 Thread Charles Marcus
On 2012-03-13 6:29 PM, Terry Carmen wrote: I'm going to hope everything is OK for a while, since my goal is to retire all the old Exchange servers and move all the users to dovecot/maildir within the next couple of months. However it's always nice to know there are options. 8-) I'm currently

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-13 Thread Terry Carmen
- Message from Timo Sirainen -     Date: Wed, 14 Mar 2012 00:05:14 +0200     From: Timo Sirainen Reply-To: Dovecot Mailing List Subject: Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location       To: Terry Carmen

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-13 Thread Timo Sirainen
On 13.3.2012, at 23.44, Terry Carmen wrote: > On 03/13/2012 04:06 AM, Timo Sirainen wrote: >> This describes a regular dummy proxying setup. Sure you could still do that, >> but it's not imapc proxying. >> http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy > > The above URL worked beau

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-13 Thread Terry Carmen
On 03/13/2012 04:06 AM, Timo Sirainen wrote: This describes a regular dummy proxying setup. Sure you could still do that, but it's not imapc proxying. http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy The above URL worked beautifully and Dovecot is now running as a proxy for a dozen

Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-13 Thread Timo Sirainen
On 12.3.2012, at 20.57, Terry Carmen wrote: >> If you can use userdb passwd-file and export the data to that file, it'll >> work. http://wiki2.dovecot.org/AuthDatabase/PasswdFile >> >> Example line: >> >> user1::1000:1000::/home/user::userdb_imapc_host=exch1.example.com >> >> Note that you can

Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-12 Thread Terry Carmen
On 03/04/2012 09:58 AM, Timo Sirainen wrote: On 4.3.2012, at 16.48, Terry Carmen wrote: pass_attrs = ..., \ msExchHomeServerName=userdb_imapc_host=%49.100$.example.com If the prefix differs, but all of the exchange server names have the same length, for example 10, you can also do: pas

Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-04 Thread Timo Sirainen
On 4.3.2012, at 16.48, Terry Carmen wrote: >> pass_attrs = ..., \ >> msExchHomeServerName=userdb_imapc_host=%49.100$.example.com >> >> If the prefix differs, but all of the exchange server names have the same >> length, for example 10, you can also do: >> >> pass_attrs = ..., \ >> msExchHo

Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-04 Thread Terry Carmen
- Message from Timo Sirainen -    Date: Sun, 4 Mar 2012 14:45:48 +0200    From: Timo Sirainen Subject: Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location      To: Terry Carmen      Cc: dovecot@dovecot.org On 2.3.2012, at

Re: [Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-04 Thread Timo Sirainen
On 2.3.2012, at 0.35, Terry Carmen wrote: > With the exchange server being returned in the msExchHomeServerName property > as: > > /O=example/OU=INT/cn=Configuration/cn=Servers/cn=exchangeservername > > I believe this should somehow end up in the userdb section, which currently > contains "dri

[Dovecot] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-01 Thread Terry Carmen
I'm running imapproxy as shown at http://wiki2.dovecot.org/HowTo/ImapcProxy. In fact, that's my config in the wiki. 8-) It's been working, but has performance issues when the Exchange server that's hard-coded as imapc_host=xxx.xxx.xxx.xxx doesn't happen to be the user's home exchange serv

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-27 Thread Timo Sirainen
On Mon, 2012-02-27 at 08:46 +, Ed W wrote: > On 27/02/2012 08:34, Timo Sirainen wrote: > > On Thu, 2012-02-23 at 01:41 +0200, Timo Sirainen wrote: > > > >> What do you need the statistics for? I could make imap_client and > >> pop3_client support some virtual methods, like user.destroy() initia

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-27 Thread Ed W
On 27/02/2012 08:34, Timo Sirainen wrote: On Thu, 2012-02-23 at 01:41 +0200, Timo Sirainen wrote: What do you need the statistics for? I could make imap_client and pop3_client support some virtual methods, like user.destroy() initially, which would be enough for your use. I guess I could add th

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-27 Thread Timo Sirainen
On Thu, 2012-02-23 at 01:41 +0200, Timo Sirainen wrote: > What do you need the statistics for? I could make imap_client and > pop3_client support some virtual methods, like user.destroy() initially, > which would be enough for your use. I guess I could add that for v2.2. http://dovecot.org/patche

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-23 Thread Ed W
On 22/02/2012 23:56, Ed W wrote: I think it has potential though. I think a lot of the current plugins on the website could easily be rewritten, likely without performance concerns, using a scripting based plugin system. I could see that some other big picture pieces could potentially benefit

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Timo Sirainen
On Wed, 2012-02-22 at 23:56 +, Ed W wrote: > On 22/02/2012 23:41, Timo Sirainen wrote: > > I've heard LUA being a commonly used embedded language, but I'd prefer > > to instead support several very widely used languages, such as > > Perl/Python. > > I'm a perl/ruby fan myself, but I would stil

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Ed W
On 22/02/2012 23:41, Timo Sirainen wrote: I've heard LUA being a commonly used embedded language, but I'd prefer to instead support several very widely used languages, such as Perl/Python. I'm a perl/ruby fan myself, but I would still recommend a good look at lua (or python) simply because the

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Timo Sirainen
On Wed, 2012-02-22 at 22:54 +, Ed W wrote: > >> Quick followup question - the logout log file currently logs a bunch of > >> statistics such as mails read/deleted, bytes sent/received. How might I > >> access these from the _deinit context as above? Apologies if this is a > >> RTFM questio

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Ed W
On 22/02/2012 19:49, Timo Sirainen wrote: On 22.2.2012, at 11.38, Ed W wrote: void postlogout_init(struct module *module) { } void postlogout_deinit(void) { system("/usr/local/bin/dovecot-postlogout.sh"); } Add a few missing #includes and compile and enable for imap/pop3 and that should be

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Timo Sirainen
On 22.2.2012, at 11.38, Ed W wrote: >> void postlogout_init(struct module *module) { } >> void postlogout_deinit(void) { >> system("/usr/local/bin/dovecot-postlogout.sh"); >> } >> >> Add a few missing #includes and compile and enable for imap/pop3 and that >> should be it. > > Thanks - that's

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Jan-Frode Myklebust
On Wed, Feb 22, 2012 at 09:31:55AM +, Ed W wrote: > > It seems intuitive that the proxy installed locally could save you > 2x RTT increment, which is about 0.8ms in your case. So I might > expect the proxy to reduce rendering times by around 1.6ms simply > because it reduces the number of rou

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Ed W
On 21/02/2012 20:36, Timo Sirainen wrote: On 21.2.2012, at 16.33, Ed W wrote: I'm also pleased to see that there is little negative cost in using a proxy... I recently added imap-proxy to our webmail setup because I wanted to log "last login + logout" times. I haven't q

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Ed W
On 22/02/2012 08:25, Jan-Frode Myklebust wrote: On Tue, Feb 21, 2012 at 02:33:24PM +, Ed W wrote: I think the original question was still sensible. In your case it seems like the ping times are identical between: webmail -> imap-proxy webmail -> imap server I thin

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-22 Thread Jan-Frode Myklebust
On Tue, Feb 21, 2012 at 02:33:24PM +, Ed W wrote: > > I think the original question was still sensible. In your case it > seems like the ping times are identical between: > webmail -> imap-proxy > webmail -> imap server > > I think your results show

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-21 Thread Timo Sirainen
On 21.2.2012, at 16.33, Ed W wrote: > I'm also pleased to see that there is little negative cost in using a > proxy... I recently added imap-proxy to our webmail setup because I wanted to > log "last login + logout" times. I haven't quite figured out how to best lo

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-21 Thread Ed W
etween: webmail -> imap-proxy webmail -> imap server I think your results show that a proxy has little (or negative) benefit in this situation, but it seems feasible that a proxy could eliminate several RTT trips in the event that the proxy is "closer" than the imap server? Th

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-14 Thread Timo Sirainen
On 14.2.2012, at 5.30, Michael M Slusarz wrote: >> Actually, this could probably be safely implemented by sending all of the >> state to the client as a string: >> >> * OK [SAVEDSTATE base64-encoded-state] >> >> There isn't a whole lot of state to be saved really. Mailbox GUID, >> UIDVALIDITY,

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 14.2.2012, at 5.19, Michael M Slusarz wrote: b login (SAVEDSTATE 1234567890) user pass I guess the drawback for this approach is that you are explicitly breaking the LOGIN definition. No breaking, extending :) Heh. I should know better after reading about 10

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 13.2.2012, at 23.32, Timo Sirainen wrote: Perhaps a way for (trusted) clients to be able to do this? :) a logout save * OK [SAVEDSTATE 1234567890] * BYE logged out a OK Actually, this could probably be safely implemented by sending all of the state to the client

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 14.2.2012, at 5.19, Michael M Slusarz wrote: >> b login (SAVEDSTATE 1234567890) user pass > > I guess the drawback for this approach is that you are explicitly breaking > the LOGIN definition. No breaking, extending :) > And you don't allow reviving the state if using the AUTHENTICATE com

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 13.2.2012, at 22.24, Michael M Slusarz wrote: http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052316.html http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052317.html These posts neglect the fact that you don't need to issue a CAPABILITY command i

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust : BTW: do you also have information on the state of select caching in the up-imapproxy? I got some very negative comments when googling it, and the changelog didn't suggest there had been any improvements since.. I wouldn't trust it. IIRC, it was added years ago an

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 23.32, Timo Sirainen wrote: > Perhaps a way for (trusted) clients to be able to do this? :) > > a logout save > * OK [SAVEDSTATE 1234567890] > * BYE logged out > a OK Actually, this could probably be safely implemented by sending all of the state to the client as a string: * O

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 22.24, Michael M Slusarz wrote: > http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052316.html > http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052317.html > > These posts neglect the fact that you don't need to issue a CAPABILITY > command if the connection is

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 01:24:25PM -0700, Michael M Slusarz wrote: > > Except you are most likely NOT leveraging the truly interesting part > of imapproxy - the ability to restore the IMAP connection state via > the XPROXYREUSE status response. This is a significant performance > improvement sinc

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 09:57:31PM +0200, Timo Sirainen wrote: > > > > $ doveconf maildir_very_dirty_syncs > > maildir_very_dirty_syncs = yes > > > > but I don't think this gave the advantage I was expecting.. Was > > expecting this to move most iops to the index-luns, but the maildir > >

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust : We've been collecting some stats to see what kind of benefits UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is running in High-performance mode http://wiki2.dovecot.org/LoginProcess with authentication caching http://wiki2.d

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 21.36, Jan-Frode Myklebust wrote: >> Other things that would be interesting to try out (both from latency and >> disk IO usage point of view): >> >> - maildir_very_dirty_syncs > > We already have > > $ doveconf maildir_very_dirty_syncs > maildir_very_dirty_syncs =

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 11:08:48AM -0800, Mark Moseley wrote: > > Out of curiosity, are you running dovecot locally on those webmail > servers as well, or is it talking to remote dovecot servers? The webmail servers are talking with dovecot director servers which in turn are talking with the back

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 04:14:22PM +0200, Timo Sirainen wrote: > > The responstimes are not very fast, but they do seem to support > > the claim that an imapproxy isn't needed for dovecot. > > That's what I always suspected, but good to have someone actually test it. :) > This is with Maildir? Y

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Mark Moseley
On Mon, Feb 13, 2012 at 5:54 AM, Jan-Frode Myklebust wrote: > We've been collecting some stats to see what kind of benefits > UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is > running in High-performance mode http://wiki2.dovecot.org/LoginProcess &g

  1   2   3   >