Re: Minor patches for builds against ancient platforms

2017-06-12 Thread Joseph Tam
On that note, has anyone written a tool that "harmonises" users mail directories' permissions - ideally reading the dovecot configuration to assess where *THE* mail directories are actually used by dovecot? doveadm user $user which will supply the second half: it will spit out the UID

Re: namespace and folders

2017-06-12 Thread Joseph Tam
Gregory Sloop writes: Using mbox format and this namespace namespace { inbox = yes hidden = yes prefix = INBOX/ } ... This is not a terrible problem, but it's cosmetically ugly and confusing for users. I'd prefer to only see these folders as subscribed as sub-folders [or sub-items] under inb

service(auth): command startup failed?

2017-06-12 Thread HL1234
Hello, I need help because since some days I can not figure out what error this is and where it come from. I have used dovecot since years. Know after an update it is broken. First I like to give you some data: It's a FreeBSD 11.0 Server with sendmail (SMTP) and dovecot for IMAP with SSL. #dovecot

Redis auth?

2017-06-12 Thread Mark Moseley
I was curious what the status of this redis auth patch is: https://dovecot.org/list/dovecot/2016-June/104763.html

Re: Log authentication attempts

2017-06-12 Thread Aki Tuomi
You might be interested on using https://github.com/PowerDNS/weakforced which is intended for deterring brute force attacks on clustered setups. Logging auth attemps with auth policy API requires you run some web service that will perform the logging. Aki > On June 12, 2017 at 5:58 PM "j.emerl

Re: Log authentication attempts

2017-06-12 Thread j.emerlik
I need to save that to database because I have more then one mail server and them must share each other failed login attempts information. I'll try check how Dovecot Authentication Policy works. --JAcek 2017-06-12 16:50 GMT+02:00 Leonardo Rodrigues : > Em 12/06/17 09:39, j.emerlik escreveu: > >>

Re: Log authentication attempts

2017-06-12 Thread Leonardo Rodrigues
Em 12/06/17 09:39, j.emerlik escreveu: Failed login attempts information may be useful in the fight with bruteforce attacks. fail2ban is your friend, it can analyze the logs, no need for saving that on database. -- Atenciosamente / Sincerily, Leonardo Rodrigues

Re: pigeonhole: imapsieve: AntiSpam example

2017-06-12 Thread Stephan Bosch
Op 12-6-2017 om 16:04 schreef Larry Rosenman: On 6/12/17, 8:59 AM, "Stephan Bosch" wrote: Op 8-6-2017 om 23:47 schreef Larry Rosenman: > Is there a reason why vnd.dovecot.execute is called out for sieve_global_extensions > but no configuration or require is there

Re: namespace and folders

2017-06-12 Thread Gregory Sloop
No response? I was pretty sure this would be something someone had run into sometime. [probably often!] Any pointers would be greatly appreciated. [I've done a bunch of trials with different settings in the namespace, but none of the things I've tried so far resolve the issue. So, it's not like

Re: Log authentication attempts

2017-06-12 Thread Gregory Sloop
>> On June 12, 2017 at 3:39 PM "j.emerlik" wrote: >> We alse have same problem, now we are running Dovecot 2.2.30.2 and also use >> Dovecot SASL for SMTP authentication (postfix 2.11). >> We need to save all failed login attempts to database as source IP address, >> username and date and time b

Re: Log authentication attempts

2017-06-12 Thread Aki Tuomi
> On June 12, 2017 at 3:39 PM "j.emerlik" wrote: > > > We alse have same problem, now we are running Dovecot 2.2.30.2 and also use > Dovecot SASL for SMTP authentication (postfix 2.11). > We need to save all failed login attempts to database as source IP address, > username and date and time bu

Re: pigeonhole: imapsieve: AntiSpam example

2017-06-12 Thread Larry Rosenman
On 6/12/17, 8:59 AM, "Stephan Bosch" wrote: Op 8-6-2017 om 23:47 schreef Larry Rosenman: > Is there a reason why vnd.dovecot.execute is called out for sieve_global_extensions > but no configuration or require is there for it on: > https://wiki.dovecot.org/HowTo/Antisp

Re: pigeonhole: imapsieve: AntiSpam example

2017-06-12 Thread Stephan Bosch
Op 8-6-2017 om 23:47 schreef Larry Rosenman: Is there a reason why vnd.dovecot.execute is called out for sieve_global_extensions but no configuration or require is there for it on: https://wiki.dovecot.org/HowTo/AntispamWithSieve None that I can see. It should be removed from the example, s

Re: Log authentication attempts

2017-06-12 Thread j.emerlik
We alse have same problem, now we are running Dovecot 2.2.30.2 and also use Dovecot SASL for SMTP authentication (postfix 2.11). We need to save all failed login attempts to database as source IP address, username and date and time but post-login script can do this but only after successful login.

AIX packaging: src/plugin/quota does not build

2017-06-12 Thread Michael Felt
#stdout to /dev/null to see only the error messages It comes down to more issues with how IBM xlc handles (less elegantly) Compound Literals compared to GCC. michael@x071:[/data/prj/aixtools/github/dovecot/x071-test]make -i >/dev/null "../../../../src/x071-test/src/plugins/quota/quota.c", lin

Re: Lucene

2017-06-12 Thread Joan Moreau
Hi, I compiled 2.2.30.2 and Clucene, looks like the message disappeared. Now, the search does not work when the number of input characters are below 6. How to change that limit (to 3 for instance) ? Thank you very much On 2017-06-09 06:21, Joan Moreau wrote: > Hi, > > I can not get rid of th

AIX lacks getopt_long

2017-06-12 Thread Michael Felt
* As a test I added the 'struct option' to the file needing it, and this confirmed the need for getopt_long() which AIX libc.a does not include. * p.s. I ran this dry-run from the "root" directory, perhaps it would be better from the ./src directory --- src/x071-test/src/doveadm/dovead