Re: [Dovecot] imap/pop proxy and filter

2010-12-06 Thread Mike Korizek
On 12/07/2010 12:18 AM, Paul Cartwright wrote: > On 12/06/2010 06:04 PM, Mike Korizek wrote: >> I use dovecot as imap/pop proxy. >> Is it possible to filter the messages before they get delivered to the >> client? >> > > http://wiki.dovecot.org/LDA/Sieve My understanding was, that Sieve require

[Dovecot] Released Pigeonhole v0.2.2 for Dovecot v2.0.8

2010-12-06 Thread Stephan Bosch
Hello Dovecot users, The new Dovecot v2.0.8 release has a few changes that prompted changes in Pigeonhole as well. This means that a new release of Pigeonhole is also necessary, because otherwise things will not compile anymore. Apart from a few rather minor bugfixes, some of which originate

Re: [Dovecot] imap/pop proxy and filter

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 23.04, Mike Korizek wrote: > I use dovecot as imap/pop proxy. > Is it possible to filter the messages before they get delivered to the > client? Dovecot's proxying is really dummy. I've some plans in v2.1 to make smarter proxying possible, but it's going to take a while. For now

Re: [Dovecot] Patch: 2.0 support for URLAUTH, BURL, CATENATE

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 23.02, Mike Abbott wrote: >> when ACL plugin is loaded the master user by default has no permissions to >> any mailbox. > > But without the ACL plugin a master user has all of the regular user's > access, including unlimited read/write/delete powers. Submit users don't > beca

[Dovecot] imap/pop proxy and filter

2010-12-06 Thread Mike Korizek
Hi I use dovecot as imap/pop proxy. Is it possible to filter the messages before they get delivered to the client? Thanks for any hint how to achieve this. Mike

Re: [Dovecot] Patch: 2.0 support for URLAUTH, BURL, CATENATE

2010-12-06 Thread Mike Abbott
> when ACL plugin is loaded the master user by default has no permissions to > any mailbox. But without the ACL plugin a master user has all of the regular user's access, including unlimited read/write/delete powers. Submit users don't because of COMMAND_FLAG_OK_FOR_SUBMIT_USER. > So if some

Re: [Dovecot] Patch: 2.0 support for URLAUTH, BURL, CATENATE

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 17.32, Mike Abbott wrote: >> Something similar could be done about submit_user too. Instead of >> sending "submit_user=x", send both "master_user=x" and "submit". > > We chose not to overload master_user=x in this way so that code/plugins that > check master_user without knowing

Re: [Dovecot] imap limits please ?

2010-12-06 Thread Ralf Hildebrandt
* Spyros Tsiolis : > Hello, > > Finally managed to sync an outlook client to dovecot. > Looks like it's working. > Questions though ; : > > What are the limits? Number of Folders ? > Number of mails per folder ? Are there any? Maybe a 32bit limit for number of mails per folder and such? But then

[Dovecot] imap limits please ?

2010-12-06 Thread Spyros Tsiolis
Hello, Finally managed to sync an outlook client to dovecot. Looks like it's working. Questions though ; : What are the limits? Number of Folders ? Number of mails per folder ? E.g. for a client of mine, I know that she uses about 5Gb of data at the moment (and counting). Now, this same outlook

Re: [Dovecot] Patch: 2.0 support for URLAUTH, BURL, CATENATE

2010-12-06 Thread Mike Abbott
> It just seems to want to know if the current user is anonymous or not. > http://hg.dovecot.org/dovecot-2.0/rev/c41ba33b8e16 OK, this looks plausible. > Something similar could be done about submit_user too. Instead of > sending "submit_user=x", send both "master_user=x" and "submit". We chose

Re: [Dovecot] CentOS 5 + selinux

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 14.07, Marcelo Roccasalva wrote: > passdb { > driver = pam > } .. > I straced the process and it efectively tries to open /etc/shadow. I > don't want to disable selinux but I'm not happy letting dovecot read > my /etc/shadow. Is there a guide to selinux and dovecot? So, how do y

[Dovecot] CentOS 5 + selinux

2010-12-06 Thread Marcelo Roccasalva
I've just installed CentOS 5.5 and dovecot 2.0.7. Out of the box, it worked ok with local user accounts. Then I enable selinux and I could no loger login to imap server. I can deal with that via a local policy. But I found dovecot tried to open /etc/shadow: type=AVC msg=audit(1291490764.101:670):

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
On Mon, Dec 6, 2010 at 5:17 PM, Timo Sirainen wrote: > Does it really matter? > Will at least prevent a crash. :) Either way, I hope the request wasn't too offensive ?

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 9.29, Mohit Chawla wrote: > Sorry if this is not the right place to inquire but, is there a policy or > framework for including such patches by the Debian maintainers ? Or should > bug reports be submitted there separately as well ? Does it really matter? The possibilities are:

Re: [Dovecot] 1.2.15 - segfault if host field attribute not present in ldap. (proxy)

2010-12-06 Thread Mohit Chawla
Sorry if this is not the right place to inquire but, is there a policy or framework for including such patches by the Debian maintainers ? Or should bug reports be submitted there separately as well ?

Re: [Dovecot] Problem with ACLs

2010-12-06 Thread Micha Krause
Hello, http://wiki2.dovecot.org/ACL says, I can do that with a post-login script (http://wiki2.dovecot.org/PostLoginScripting). I have verified, that the script is running, and that ACL_GROUPS is correct. That code was missing one part that v2.0 requires (updated now): export USERDB_KEYS="$US

Re: [Dovecot] Internal Error form delivery from LDAP lookup.

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 8.42, Jorgen Lundman wrote: > Amusingly enough, just as I added SIGUSR1, I get: > > Dec 06 17:38:33 auth(default): Error: ldap(custo...@example.com): ldap > _search() failed (filter > (&(objectClass=posixAccount)(|(mail=custo...@example.com)(mailalternateaddress=custo...@example

Re: [Dovecot] Internal Error form delivery from LDAP lookup.

2010-12-06 Thread Jorgen Lundman
Amusingly enough, just as I added SIGUSR1, I get: Dec 06 17:38:33 auth(default): Error: ldap(custo...@example.com): ldap _search() failed (filter (&(objectClass=posixAccount)(|(mail=custo...@example.com)(mailalternateaddress=custo...@example.com: Server is busy, So, instant verification t

Re: [Dovecot] Internal Error form delivery from LDAP lookup.

2010-12-06 Thread Jorgen Lundman
Timo Sirainen wrote: It should log an error any time LDAP query fails. You can't disable it. Probably something like: ldap_search(blah blah) failed: blah I see the calls from db-ldap.c but not in any of the files. But I think I know what the juniors did here. They set to rotate the logs,

Re: [Dovecot] Doveadm import emails

2010-12-06 Thread Timo Sirainen
On 5.12.2010, at 14.47, Alex Baule wrote: > I have a maildir with 6800 emails and i try to import this to 1000 users. > The import begins well, but in the user 150 the script stop because doveadm > say the directory have wrong file permissions, but the script dont change > notthing and the permiss

Re: [Dovecot] Internal Error form delivery from LDAP lookup.

2010-12-06 Thread Timo Sirainen
On 6.12.2010, at 8.00, Jorgen Lundman wrote: > Timo Sirainen wrote: >> On 6.12.2010, at 7.32, Jorgen Lundman wrote: >> >>> Dec 06 08:46:28 deliver(rbc-...@example.com): Error: userdb >>> lookup(rbc-...@example.com) failed: Internal failure >> >> auth process should log an error about this too?

Re: [Dovecot] Internal Error form delivery from LDAP lookup.

2010-12-06 Thread Jorgen Lundman
Timo Sirainen wrote: On 6.12.2010, at 7.32, Jorgen Lundman wrote: Dec 06 08:46:28 deliver(rbc-...@example.com): Error: userdb lookup(rbc-...@example.com) failed: Internal failure auth process should log an error about this too? It does? I guess we do not have that enabled. Only have thes