Re: Send Dovecot logs to rsyslog

2016-02-08 Thread Phil Carmody
On Sat, Feb 06, 2016 at 07:22:33PM +0100, Nicolas Fo wrote: > Just tested, same result :( It may be a silly question, but is one of log_path, info_log_path, or debug_log_path set to "syslog"? log_path defaults to it, so if you've changed that, the syslog service wouldn't be used. Dovecot's use of

Re: RFC: HTTP based storage API

2016-02-08 Thread Timo Sirainen
> On 08 Feb 2016, at 13:28, Nagy, Attila wrote: > > On 02/08/16 12:07, Timo Sirainen wrote: >> On 08 Feb 2016, at 12:56, Nagy, Attila wrote: >>> On 02/08/16 11:16, Timo Sirainen wrote: Oh, you were thinking about ability to provide IMAP/etc support for other

Found bug in quota-status + patch

2016-02-08 Thread Thierry Coppey
Hello, I've found a bug in the quota-status util (Dovecot 2.2.21, and probably below): it always return OK (sufficient quota) because it fails to load the user properly. More specifically, the branch " if (quser == NULL) return 1; " in src/plugins/quota/quota-status.c:59 is always taken. (at

RFC: HTTP based storage API

2016-02-08 Thread Nagy, Attila
Hi, Nearly every popular programming language has an LMTP/POP/IMAP implementation, most of them suck in many different ways. I don't know any server or library which provides a well-established, compatible protocol frontend with an open backend API, which could be used to easily make a custom

Re: RFC: HTTP based storage API

2016-02-08 Thread Marcus Rueckert
that sounds like s3 API based backend. also note that dovecot comes with some "non local mail storage plugins" in the commercial part: ``` In this release, we support Windows Azure, Amazon S3, Scality and Dropbox systems. ``` so that should come close to what you want. for a local version you

Re: RFC: HTTP based storage API

2016-02-08 Thread Nagy, Attila
On 02/08/16 11:16, Timo Sirainen wrote: On 08 Feb 2016, at 11:59, Timo Sirainen wrote: On 08 Feb 2016, at 11:01, Nagy, Attila wrote: Hi, Nearly every popular programming language has an LMTP/POP/IMAP implementation, most of them suck in many different ways. I

Re: RFC: HTTP based storage API

2016-02-08 Thread Marcus Rueckert
On 2016-02-08 12:31:57 +0100, Nagy, Attila wrote: > On 02/08/16 11:44, Marcus Rueckert wrote: > >that sounds like s3 API based backend. > > > >also note that dovecot comes with some "non local mail storage plugins" > >in the commercial part: > > > >``` > >In this release, we support Windows Azure,

Re: RFC: HTTP based storage API

2016-02-08 Thread Nagy, Attila
On 02/08/16 12:07, Timo Sirainen wrote: On 08 Feb 2016, at 12:56, Nagy, Attila wrote: On 02/08/16 11:16, Timo Sirainen wrote: Oh, you were thinking about ability to provide IMAP/etc support for other random servers, and have Dovecot act as kind of a middleware and translate the

Re: ACL user

2016-02-08 Thread Timo Sirainen
On 05 Feb 2016, at 17:42, Peter Chiochetti wrote: > > How would I go, If I wanted ACL processing to > start with %{auth_user} instead of %{user} > when determining rights? You could kludge it by returning master_user=%{auth_user} in userdb, but that might affect other things..

Re: RFC: HTTP based storage API

2016-02-08 Thread Nagy, Attila
On 02/08/16 11:44, Marcus Rueckert wrote: that sounds like s3 API based backend. also note that dovecot comes with some "non local mail storage plugins" in the commercial part: ``` In this release, we support Windows Azure, Amazon S3, Scality and Dropbox systems. ``` so that should come close

Re: RFC: HTTP based storage API

2016-02-08 Thread Timo Sirainen
On 08 Feb 2016, at 11:01, Nagy, Attila wrote: > > Hi, > > Nearly every popular programming language has an LMTP/POP/IMAP > implementation, most of them suck in many different ways. > I don't know any server or library which provides a well-established, > compatible protocol

Re: RFC: HTTP based storage API

2016-02-08 Thread Timo Sirainen
> On 08 Feb 2016, at 11:59, Timo Sirainen wrote: > > On 08 Feb 2016, at 11:01, Nagy, Attila wrote: >> >> Hi, >> >> Nearly every popular programming language has an LMTP/POP/IMAP >> implementation, most of them suck in many different ways. >> I don't know any server

Re: autoexpunge - different settings for different users

2016-02-08 Thread Timo Sirainen
> On 08 Feb 2016, at 06:46, Tom Johnson wrote: > >> You can override any mail-related setting from userdb. So for example if you >> have: >> >> namespace inbox { >> mailbox Trash { >> autoexpunge = 30d >> } >> } >> >> You can have your userdb return

Re: Dovecot (LDAP) quota only if user in backend?

2016-02-08 Thread Andrey Fesenko
On Wed, Feb 3, 2016 at 6:06 PM, Andrey Fesenko wrote: > Hello, > > Is it possible to get the quotas for users served by the backend? > > My env CentOS, dovecot-2.2.10-5.el7, users in LDAP > > > BackendHost may bee backend1.wibble.net backend2.wibble.net ... if I'm > get quota

Re: RFC: HTTP based storage API

2016-02-08 Thread Timo Sirainen
On 08 Feb 2016, at 12:56, Nagy, Attila wrote: > > On 02/08/16 11:16, Timo Sirainen wrote: >> Oh, you were thinking about ability to provide IMAP/etc support for other >> random servers, and have Dovecot act as kind of a middleware and translate >> the requests. Maybe the answer is

Re: autoexpunge - different settings for different users

2016-02-08 Thread Leon Kyneur
Hi Tom, Looks like you are missing 'mailbox' keyword: namespace/inbox/mailbox/Drafts/autoexpunge=3d Regards, Leon On Tue, Feb 9, 2016 at 12:51 PM Tom Johnson wrote: > > > On Feb 7, 2016, at 10:59 AM, Timo Sirainen wrote: > > > > You can override any

Re: Lots of zero-byte hard link files in cur (and new/tmp), cannot see messages in folder

2016-02-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 8 Feb 2016, Charles Marcus wrote: My problem is, one of my most used folders, which was working fine up until a week or so ago, stopped loading the messages, and after some frustrating troubleshooting via email with people who don't listen

Re: autoexpunge - different settings for different users

2016-02-08 Thread Tom Johnson
> On Feb 7, 2016, at 10:59 AM, Timo Sirainen wrote: > > You can override any mail-related setting from userdb. So for example if you > have: > > namespace inbox { > mailbox Trash { >autoexpunge = 30d > } > } > > You can have your userdb return

Re: Send Dovecot logs to rsyslog

2016-02-08 Thread Nicolas Fo
Great ! I was using both "log_path" and "syslog_facility" so "syslog_facility" didn't work. No I have in dovecot.conf : # Logging. Reference: http://wiki2.dovecot.org/Logging #log_path = /var/log/dovecot.log syslog_facility = local5 And in rsyslog.conf : local5.*

Re: "mail_shared_explicit_inbox = no", but shared INBOX has a "\Noselect" tag?

2016-02-08 Thread Rudolf Körner
Not solved, but found the reason of the problem: Obviously, the plugin "listescape" breaks the sharing of the INBOX of user as "Shared/" for another user. At least with usernames containing a dot "." as in "u...@example.com", which are used as the name of the filesystem Maildir home

Re: ACL user

2016-02-08 Thread Peter Chiochetti
Am 2016-02-08 um 11:50 schrieb Timo Sirainen: On 05 Feb 2016, at 17:42, Peter Chiochetti wrote: How would I go, If I wanted ACL processing to start with %{auth_user} instead of %{user} when determining rights? You could kludge it by returning master_user=%{auth_user} in

Re: Released Pigeonhole v0.4.12 for Dovecot v2.2.21

2016-02-08 Thread Stephan Bosch
Op 2/7/2016 om 8:11 AM schreef Robert Schetterer: > Am 06.02.2016 um 11:32 schrieb Stephan Bosch: >> Hello Dovecot users, >> >> Here is the final v0.4.12 release of Pigeonhole for Dovecot v2.2.21. >> Nothing changed since the RC. >> >> Changelog v0.4.12: >> >> + Implemented the Sieve extracttext

Re: Released Pigeonhole v0.4.12 for Dovecot v2.2.21

2016-02-08 Thread Robert Schetterer
Am 08.02.2016 um 18:49 schrieb Stephan Bosch: > Op 2/7/2016 om 8:11 AM schreef Robert Schetterer: >> Am 06.02.2016 um 11:32 schrieb Stephan Bosch: >>> Hello Dovecot users, >>> >>> Here is the final v0.4.12 release of Pigeonhole for Dovecot v2.2.21. >>> Nothing changed since the RC. >>> >>>

Lots of zero-byte hard link files in cur (and new/tmp), cannot see messages in folder

2016-02-08 Thread Charles Marcus
Hello, I have an el-cheapo shared hosting account on Dreamhost, and have had it for a very long time. For the most part everything usually works fairly well, considering I do keep a lot of folders, and mail, on some of my accounts. They are running dovecot, but still don't have a response as to

Permissions issue with Debian 8, dovecot 2.21, vpopmail

2016-02-08 Thread Stephen
There is a permissions issue in dovecot 2.21 in the ~/run directory (mine is /var/run/dovecot) at least in Debian 8. Files created by dovecot imap: srw--- 1 rootroot 0 Feb 3 16:46 imap-hibernate srw--- 1 rootroot 0 Feb 3 16:46 imap-master changed to make work: srw-rw-rw- 1

Re: Permissions issue with Debian 8, dovecot 2.21, vpopmail

2016-02-08 Thread Alexander Dalloz
Am 08.02.2016 um 21:01 schrieb Stephen: There is a permissions issue in dovecot 2.21 in the ~/run directory (mine is /var/run/dovecot) at least in Debian 8. Files created by dovecot imap: srw--- 1 rootroot 0 Feb 3 16:46 imap-hibernate srw--- 1 rootroot 0 Feb 3 16:46

Re: Dovecot with pam authentication and user@domain

2016-02-08 Thread Christian Schneider
Sorry for bringing up this issue again, but I still have no solution. Is the describtion of my problem unclear? I suppose this setup is not uncommon... Greetings Christian On Samstag, 16. Januar 2016 00:51:27 CET Christian Schneider wrote: > Hello all, > I'm trying to setup dovecot for local

Re: Found bug in quota-status + patch

2016-02-08 Thread Axel Luttgens
> Le 7 févr. 2016 à 23:26, Thierry Coppey a écrit : > > Hello, > > I've found a bug in the quota-status util (Dovecot 2.2.21, and probably > below): it always return > OK (sufficient quota) because it fails to load the user properly. More > specifically, the branch > " if (quser == NULL)

Re: autoexpunge - different settings for different users

2016-02-08 Thread Tom Johnson
> On Feb 8, 2016, at 2:02 AM, Timo Sirainen wrote: > >> >> On 08 Feb 2016, at 06:46, Tom Johnson wrote: >> >> Can you return something like "namespace/inbox/*/autoexpuge=90d" to cover >> all the namespaces? And then override individual ones if necessary? >