Re: [Dovecot] Where did the message end up?

2012-02-22 Thread Dag Nygren
On 22.2.2012, at 9.34, Dag Nygren wrote: Feb 21 10:02:24 dag dovecot: lda(extuser): Error: user extuser: Initialization failed: Namespace 'MailingLists/': stat(/usr/local/var/mail/MailingLists/mailboxes) failed: Permission denied (euid=2002(extuser) egid=2002(extgroup) missing +x perm:

Re: [Dovecot] Where did the message end up?

2012-02-22 Thread Timo Sirainen
On 22.2.2012, at 10.03, Dag Nygren wrote: It would be nice BTW if dovecot added the exit status it used in the log if it fails? This wouldn't be very useful normally. If you see Fatal prefixed error from dovecot-lda, it's nearly always tempfail (75). If it crashes, the error is different,

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 that a proxy has little (or negative)

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 think your results

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 quite figured out how to

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 round

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 really obvious

Re: [Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail

2012-02-22 Thread Gustavo
Ok, I do some changes and now I can send mails but not recieve mail. On log I get this message: Feb 22 20:02:04 localhost dovecot: deliver(te...@clubedolimite.com.br): Fatal: setgid(12(man)) failed with euid=150(vmail), gid=8(mail), egid=8(mail): Operation not permitted (This binary should

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 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 question? You'd

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

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 still

Re: [Dovecot] duplicates with multiple To/CC and sieve redirect copy

2012-02-22 Thread Stephan Bosch
On 2/22/2012 12:15 AM, Adam Szpakowski wrote: On 22.02.2012 00:09, Timo Sirainen wrote: Well, it would be possible to build a doveadm script that deletes the duplicates after delivery, but currently there's no implementation to avoid delivering duplicate Message-IDs in the first place. I

[Dovecot] How to achieve proper privilege separation?

2012-02-22 Thread Tóth Attila
I'm using a simple mbox config with regular Unix users and pam authentication. I'm also using grsecurity. That's why I see what dovecot does in which users' name. As times goes by and new versions are coming I can frustratedly see, that more and more tasks are performed as root. Why? When I used

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-22 Thread Timo Sirainen
On 23.2.2012, at 7.20, Tóth Attila wrote: I'm using a simple mbox config with regular Unix users and pam authentication. I'm also using grsecurity. That's why I see what dovecot does in which users' name. As times goes by and new versions are coming I can frustratedly see, that more and