Re: [Dovecot] 1 Dovecot proxy to 2 real IMAP servers

2009-04-30 Thread Proskurin Kirill
Timo Sirainen wrote: On Fri, 2009-04-24 at 12:40 +0400, Proskurin Kirill wrote: Hello all. I have 2 Dovecot IMAP servers with different mailboxes. What serves different email domains. I want to add one Dovecot Proxy server and make him understand based on user domain - were it need to

Re: [Dovecot] questions about compiling Sieve plugin

2009-04-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Apr 2009, MercuryShadow wrote: I'm not sure why some packages would depend on Lenny packages, since Etch is installed. But then again I don't really know a lot about Debian since most of my experience is with RedHat. I guess you've

[Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Luca Bertoncello
Hi, list! I use Dovecot 1.1.14 at work. It is configured to manage IMAP and IMAPs. Exim is the MTA of the Network. Of course, I installed SpamAssassin and ClamAV to check all incoming E-Mails. An, of course, some E-Mail marked as Spam are Ham and some E-Mail marked as Ham are Spam... To teach

Re: [Dovecot] where are variables expanded? Was: %d does not expand to domain

2009-04-30 Thread Giuliano Gavazzi
On W 29 Apr, 2009, at 22:21 , Giuliano Gavazzi wrote: I am trying to patch the source so that the %d expansion variable uses original_username (instead of user I suppose) of auth_request, but I cannot find where this expansion is done.. Pointers? Thanks Giuliano I thought it was in

[Dovecot] login_max_processes_count and logs

2009-04-30 Thread Dominique Fournier
Hello, Our server reach today the login_max_processes_count. Dovecot works well and don't accept any new connection. But it doesn't log anything about this problem : we are blind why the connection is refused for the clients. Could you add a log when the connection limit is reached or (maybe

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Luca Bertoncello
Steffen Kaiser skdove...@smail.inf.fh-brs.de schrieb: Look at the antispam or pipe plugins of Dovecot. Hello! Thanks for your answer! Could you say me, where I can find this pipe plugin? Ich searched in Google, and I found many list messages about it, but no links to download it... Thanks

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Apr 2009, Luca Bertoncello wrote: How can I trigger an action (script calling) based on event (E-Mail will be moved to a folder) in Dovecot? Look at the antispam or pipe plugins of Dovecot. Or write a demon watching with something like

Re: [Dovecot] How do I get my mail from fetchmail into dovecot?

2009-04-30 Thread Andreas Ntaflos
On Thursday 30 April 2009 12:22:17 Michael Steinbeck-Reeves wrote: Message: 1 Date: Thu, 30 Apr 2009 00:27:46 +0200 From: Andreas Ntaflos d...@dword.org Subject: Re: [Dovecot] How do I get my mail from fetchmail into dovecot? I have dovecot (with squirrel mail etc.) running

Re: [Dovecot] How do I get my mail from fetchmail into dovecot?

2009-04-30 Thread Michael Steinbeck-Reeves
Message: 1 Date: Thu, 30 Apr 2009 00:27:46 +0200 From: Andreas Ntaflos d...@dword.org Subject: Re: [Dovecot] How do I get my mail from fetchmail into dovecot? I have dovecot (with squirrel mail etc.) running without any problems but cannot understand how to get e-mail from a pop

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Apr 2009, Luca Bertoncello wrote: Could you say me, where I can find this pipe plugin? Oh, looks like it has been dropped. There had been a discussion: http://www.mail-archive.com/dovecot%40dovecot.org/msg06624.html but the links are

Re: [Dovecot] Timeout leak with dovecot version dovecot1.2(8985:f43bebab3dac)

2009-04-30 Thread jsiegle
On Wed, 29 Apr 2009, Timo Sirainen wrote: On Wed, 2009-04-29 at 14:52 -0400, jsie...@psu.edu wrote: This is 64bit AIX 5.3. Looking through previous versions of dovecot, I see this warning. I didn't realize this was something bad until today. It's not exactly bad. It gets logged only when the

Re: [Dovecot] Unexplainable problem with POP3 quotas

2009-04-30 Thread Marco Marongiu
Hello there I did some more research in the last two days, unfortunately without any result. First thing, I looked up all the relevant documentation and reviewed our configuration, in particular the directives regarding the quota configuration for POP3. Unless I overlooked something, it looked

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Matthijs Kooijman
Hi all, Look at the antispam or pipe plugins of Dovecot. Or write a demon watching with something like inotify and act accordingly. the antispam plugin can be found here: http://johannes.sipsolutions.net/Projects/dovecot-antispam Gr. Matthijs signature.asc Description: Digital signature

Re: [Dovecot] questions about compiling Sieve plugin

2009-04-30 Thread MercuryShadow
The installed version is 1.0.rc15-2etch4, installed from the Debian repositories. Steffen Kaiser-9 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Apr 2009, MercuryShadow wrote: I'm not sure why some packages would depend on Lenny packages, since Etch is installed.

Re: [Dovecot] Unexplainable problem with POP3 quotas

2009-04-30 Thread Marco Marongiu
Hello Rick, and thanks for replying First of all, the attached script had an error (I attached the wrong one :-\, the export line reads: export PATH=/usr/bin:/bin 2009/4/30 dovecot@dovecot.org: It's a dumb question, but you are running the script via cron or manually right? (dovecot doesn't

[Dovecot] deliver_log_format not working with 1.2.rc3?

2009-04-30 Thread Anton Dollmaier
Hi list, just a small issue with deliver_log_format. Although, the parameter is altered in the config and is correctly shown with dovecot -n, deliver uses only its default log_format. r...@terra:~# dovecot -n | grep -e deliver -e ^# # 1.2.rc3: /etc/dovecot/dovecot.conf # OS: Linux

Re: [Dovecot] Unexplainable problem with POP3 quotas

2009-04-30 Thread Marco Marongiu
Hi From the documentation, I'd expect it does. In http://wiki.dovecot.org/Quota/1.1 I read: You can configure Dovecot to run an external command when user's quota exceeds a specified limit. so I expect that it will run the script. Am I wrong? Forgot to say:

Re: [Dovecot] Unexplainable problem with POP3 quotas

2009-04-30 Thread Anton Dollmaier
No, we don't. We use dovecot as POP/IMAP server, and let Postfix do the rest. How does Postfix deliver the mails? mailbox_command should be set to use deliver, not maildrop/procmail. I see, but it seems like it is *another* solution rather than a constraint. I just tested the

[Dovecot] core dumps disabled?

2009-04-30 Thread Ralf Hildebrandt
Apr 30 18:12:48 postamt dovecot: dovecot v1.1.14 starting up (core dumps disabled) Uh, how do I enable them? -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de #!/bin/sh cat EOF | dc -e

Re: [Dovecot] core dumps disabled?

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 18:25 +0200, Ralf Hildebrandt wrote: Apr 30 18:12:48 postamt dovecot: dovecot v1.1.14 starting up (core dumps disabled) Uh, how do I enable them? ulimit -c unlimited before starting Dovecot. If that doesn't work, it means you're using a startup script that disables

Re: [Dovecot] core dumps disabled?

2009-04-30 Thread Jose Celestino
On Qui, 2009-04-30 at 18:25 +0200, Ralf Hildebrandt wrote: Apr 30 18:12:48 postamt dovecot: dovecot v1.1.14 starting up (core dumps disabled) Uh, how do I enable them? ulimit -c unlimited ? -- Jose Celestino SAPO.pt::Systems http://www.sapo.pt

Re: [Dovecot] where are variables expanded? Was: %d does not expand to domain

2009-04-30 Thread Timo Sirainen
On Wed, 2009-04-29 at 22:21 +0200, Giuliano Gavazzi wrote: I am trying to patch the source so that the %d expansion variable uses original_username (instead of user I suppose) of auth_request, but I cannot find where this expansion is done.. Pointers? Well, the problem is .. %d expansion

Re: [Dovecot] 1 Dovecot proxy to 2 real IMAP servers

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 10:09 +0400, Proskurin Kirill wrote: I want to add one Dovecot Proxy server and make him understand based on user domain - were it need to transfer a connection. Where would you keep the domain - IP mapping? Dovecot needs that somewhere. Anywere if need. I can

[Dovecot] Disabling users whilst still allowing logins with a 'master password'

2009-04-30 Thread Dominic Hargreaves
Hi, I'm having trouble coming up with an authentication configuration that does what we want with dovecot, and thought it would be worth passing it by the list in case anyone can spot an easy fix, or confirm my suspicions that code changes are required. You should probably be aware that this is

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Andrew Roberts
On Thu, 30 Apr 2009, Luca Bertoncello wrote: How can I trigger an action (script calling) based on event (E-Mail will be moved to a folder) in Dovecot? If you run a recent linux kernel (=2.6.13) configured with inotify support, you can set up incron to run your existing scripts, but

Re: [Dovecot] Disabling users whilst still allowing logins with a 'master password'

2009-04-30 Thread Matthijs Kooijman
Hi Dominic, Normally to disable logins for a user we chmod their mail store to 0 so they can't access it, which has the same effect, but this obviously also prevents the master password from being able to access it. Would it be feasible to chown the mailstore to some special user and use the

Re: [Dovecot] Timeout leak with dovecot version dovecot1.2(8985:f43bebab3dac)

2009-04-30 Thread Jonathan Siegle
On Apr 29, 2009, at 2:58 PM, Timo Sirainen wrote: On Wed, 2009-04-29 at 14:52 -0400, jsie...@psu.edu wrote: This is 64bit AIX 5.3. Looking through previous versions of dovecot, I see this warning. I didn't realize this was something bad until today. It's not exactly bad. It gets logged

Re: [Dovecot] Timeout leak with dovecot version dovecot1.2(8985:f43bebab3dac)

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 15:04 -0400, Jonathan Siegle wrote: telnet localhost 143 1 login user pass 2 select inbox 3 logout Does it get logged? What if you select some other mailbox instead? Yes it gets logged. I did your steps and reproduced. I also did login;select;close;logout

Re: [Dovecot] Timeout leak with dovecot version dovecot1.2(8985:f43bebab3dac)

2009-04-30 Thread Jonathan Siegle
On Apr 30, 2009, at 3:06 PM, Timo Sirainen wrote: On Thu, 2009-04-30 at 15:04 -0400, Jonathan Siegle wrote: telnet localhost 143 1 login user pass 2 select inbox 3 logout Does it get logged? What if you select some other mailbox instead? Yes it gets logged. I did your steps and

[Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread dovecot
Currently running Postfix/Dovecot1.1.8 with mysql storing the user data and delivering to folders as determined by dovecot using dovecot's deliver as defined in postfix's master.cf Mail location is determined by mail_location = maildir:/var/spool/mail/%d/%n/Maildir If I have an account

Re: [Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread Pascal Volk
On 04/30/2009 10:12 PM dove...@corwyn.net wrote: Mail location is determined by mail_location = maildir:/var/spool/mail/%d/%n/Maildir If I have an account us...@example.com it works just fine. However, when mail is sent to us...@example.com it also delivers, but ends up creating a new

Re: [Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 16:47 -0400, dove...@corwyn.net wrote: At 04:37 PM 4/30/2009, Pascal Volk wrote: That's the correct behavior, as configured. Try: mail_location = maildir:/var/spool/mail/%Ld/%Ln/Maildir ^ ^ See also

Re: [Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread dovecot
At 04:47 PM 4/30/2009, dove...@corwyn.net wrote: At 04:37 PM 4/30/2009, Pascal Volk wrote: and it doesn't exhibit this behavior. Is there anywhere else case is / could be set for %d and %n ? I don't like rolling something to production that doesn't match my dev environment (tho clearly

Re: [Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 17:05 -0400, Timo Sirainen wrote: On Thu, 2009-04-30 at 16:47 -0400, dove...@corwyn.net wrote: At 04:37 PM 4/30/2009, Pascal Volk wrote: That's the correct behavior, as configured. Try: mail_location = maildir:/var/spool/mail/%Ld/%Ln/Maildir

Re: [Dovecot] Case sensitive oddity when mail delivered.

2009-04-30 Thread dovecot
At 05:11 PM 4/30/2009, Timo Sirainen wrote: Oh, actually both passdb and userdb query. passdb for imap/pop and userdb for deliver. to have it return a standardized case of the username. The easiest change would be auth_username_format = %Lu This would work with both of them anyway. Since

Re: [Dovecot] How do I get my mail from fetchmail into dovecot?

2009-04-30 Thread Michael Steinbeck-Reeves
Hi Andreas I sort of have it working but am still not quite there... I have created virtual users with homes under their mail folders (using mbox), as recommended in the Dovecot Wiki VirtualUsers section. I have had quite a time with permissions! Finally getmail and vmail appear to have the

[Dovecot] Installed include files

2009-04-30 Thread Timo Sirainen
Currently when using configure --enable-header-install and doing make install the include files get installed to their own subdirectories, like: /usr/local/include/dovecot/src/lib/ /usr/local/include/dovecot/src/lib-mail/ ..etc.. But using that is kind of annoying, because you have to give -I

Re: [Dovecot] core dumps disabled?

2009-04-30 Thread Bill Cole
Timo Sirainen wrote, On 4/30/09 12:27 PM: On Thu, 2009-04-30 at 18:25 +0200, Ralf Hildebrandt wrote: Apr 30 18:12:48 postamt dovecot: dovecot v1.1.14 starting up (core dumps disabled) Uh, how do I enable them? ulimit -c unlimited before starting Dovecot. If that doesn't work, it means

Re: [Dovecot] core dumps disabled?

2009-04-30 Thread Timo Sirainen
On Thu, 2009-04-30 at 18:51 -0400, Bill Cole wrote: Timo Sirainen wrote, On 4/30/09 12:27 PM: On Thu, 2009-04-30 at 18:25 +0200, Ralf Hildebrandt wrote: Apr 30 18:12:48 postamt dovecot: dovecot v1.1.14 starting up (core dumps disabled) .. It could also mean: 1. The kernel has some

Re: [Dovecot] How do I get my mail from fetchmail into dovecot?

2009-04-30 Thread Phill Edwards
Dovecot's Sieve support is excellent, thanks to Stephan Bosch. There is much more documentation out there than I can possibly provide or link to in this post but I think it gets the point across. Thanks for the examples. Does anyone know if dovecot-sieve supports the Editheade extensions which