Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Plutocrat
Just to add another alternative while we're discussing the subject, I've got a soft spot for CSF as a replacement for fail2ban, and it has a lot of additional features as well. https://www.configserver.com/cp/csf.html P. On 22/05/2020 18.32, Jerry wrote: > On Thu, 21 May 2020

Re: Convert standalone mbox to standalone Maildir with Dsync - hierarchy separator error

2020-05-22 Thread Sam Kuper
On Thu, May 21, 2020 at 04:16:26AM +0100, Sam Kuper wrote: > On Wed, May 13, 2020 at 11:03:37AM +0300, Aki Tuomi wrote: >> Edit your dovecot.conf and add >> >> namespace { >> inbox = yes >> # or use '.' here. >> separator = / >> } > > Thanks for the suggestion! I added those lines to the

Re: What causes mails to get striked-over only, and not deleted?

2020-05-22 Thread Hendrik Boom
On Sat, May 23, 2020 at 01:01:13AM +0200, Sebastian Nielsen wrote: > I have tried with this sieve config: > > imapsieve_mailbox1_name = Sent > imapsieve_mailbox1_causes = COPY APPEND > imapsieve_mailbox1_after = file:/etc/dovecot/sieve/sent.sieve > > and this sieve file (sent.sieve): > >

SV: What causes mails to get striked-over only, and not deleted?

2020-05-22 Thread Sebastian Nielsen
Thanks. That solved the problem. Finally got rid of all duplicate items in sent folder. (Because of some mail clients not supporting disabling "Save a copy in sent folder when sending"). But why isn't this documented in the documentation?

Re: What causes mails to get striked-over only, and not deleted?

2020-05-22 Thread Robert L Mathews
On 5/22/20 4:01 PM, Sebastian Nielsen wrote: > and this sieve file (sent.sieve): > > discard; > > This should clearly cause the mail to be deleted right? > But whats happen, is that the mail is not deleted, its just marked for > deletion (gets a strike-through in Microsoft Outlook). That means

What causes mails to get striked-over only, and not deleted?

2020-05-22 Thread Sebastian Nielsen
I have tried with this sieve config: imapsieve_mailbox1_name = Sent imapsieve_mailbox1_causes = COPY APPEND imapsieve_mailbox1_after = file:/etc/dovecot/sieve/sent.sieve and this sieve file (sent.sieve): discard; This should clearly cause the mail to be deleted right? But whats happen,

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Joseph Tam
On Fri, 22 May 2020, Jerry wrote: On Thu, 21 May 2020 23:22:04 -0700, lists stated: I use SSHGuard on well ssh (doh!), but supposedly you can use it for postfix and dovecot also. I can tell you it is well supported. I am on Centos 7 using firewalld. SSHGuard works fairly well with Postfix;

Dovecot passdb and postfix login

2020-05-22 Thread Laura Smith
Hi, Long story short I've got a fully functional Dovecot IMAP instance and I am now looking to upgrade some perimiter authenticated SMTP relays to authenticate against the Dovecot instance. Trouble is that I am seeing errors such as "auth: Warning: sql: Ignoring changed user_query in

Sieve test string and case sensitivity

2020-05-22 Thread Kim Minh Kaplan
Hello, I have found that Pigeonhole comes with an extensive testsuite against the Sieve RFCs. As I am working on a personal Sieve project I decided to run my tool on this testsuite and it stumbled on "Basic assignment: string test failed"[1]. Pigeonhole defaults to comparator "i;octet"[2] for

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread lists
I leave well enough alone, but rev 2 got a new parser to allow more user control. The documentation may be old. However  the dovecot trigger does look for auth failed. dovecot default imap-login: Aborted login (auth failed, 6 attempts): XYZ rip=6.6.6.0, lip=127.0.0.1 I run a personal email

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Jerry
On Thu, 21 May 2020 23:22:04 -0700, lists stated: >I use SSHGuard on well ssh (doh!), but supposedly you can use it for >postfix and dovecot also. I can tell you it is well supported. I am >on Centos 7 using firewalld. SSHGuard works fairly well with Postfix; however, it is virtually useless

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Adi Pircalabu
On 22-05-2020 15:45, Voytek Eymont wrote: On Fri, May 22, 2020 2:05 pm, Adi Pircalabu wrote: On 22-05-2020 10:38, Voytek Eymont wrote: Hardly a Dovecot issue. Can you please post the output of this command? /usr/bin/fail2ban-regex /var/log/dovecot.log /etc/fail2ban/filter.d/dovecot.conf

Re: dsync “destination” argument

2020-05-22 Thread Sami Ketola
> On 20. May 2020, at 17.51, Felipe Gasper wrote: > >> >> On May 20, 2020, at 10:46 AM, Sami Ketola wrote: >> >>> On 16. May 2020, at 3.46, Felipe Gasper wrote: >>> >>> Hello, >>> >>> Some code that I didn’t write but am maintaining passes a local >>> script’s path as dsync’s

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Voytek Eymont
On Fri, May 22, 2020 4:01 pm, Adi Pircalabu wrote: >> Results >> === >> >> >> Failregex: 5149 total >> > [...] > >> >> Lines: 338975 lines, 0 ignored, 5149 matched, 333826 missed >> [processed in 87.44 sec] >> > > Right, so it's not a regex problem then, you're getting some matches > there,

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread Adi Pircalabu
On 22-05-2020 10:38, Voytek Eymont wrote: I'm trying to set up fail2ban with dovecot, I have it working on 'old' server Centos 6, but, not getting anywhere with 'new' server on Centos 7 using standard filters I've copied same 'filter' to new server, still get nothing any idea how to figure

Re: fail2ban setup centos 7 not picking auth fail?

2020-05-22 Thread lists
I use SSHGuard on well ssh (doh!), but supposedly you can use it for postfix and dovecot also. I can tell you it is well supported. I am on Centos 7 using firewalld.   Original Message   From: a...@ddns.com.au Sent: May 21, 2020 11:01 PM To: voy...@sbt.net.au Cc: dovecot@dovecot.org