Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-25 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 25 Jul 2017, Davide Marchi wrote: I add a clarification: Now that I've commented out sieve Junk/Trash on "/etc/dovecot/conf.d/15-mailboxes.conf" mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash }

Re: under another kind of attack

2017-07-25 Thread Michael Starks
On 2017-07-25 09:37, Olaf Hopp wrote: But the rate at which they are knocking is very very low. So fail2ban will never catch them. For example one IP: Jul 25 14:03:17 irams1 dovecot: auth-worker(2212): pam(eurodisc,101.231.247.210,): unknown user Jul 25 15:16:36 irams1 dovecot: auth-worker(1104

Re: under another kind of attack

2017-07-25 Thread Joseph Tam
Olaf Hopp writes: I have dovecot shielded by fail2ban which works fine. But since a few days I see many many IPs per day knocking on my doors with wron password and/or users. But the rate at which they are knocking is very very low. So fail2ban will never catch them. Slow roll distributed

Re: under another kind of attack

2017-07-25 Thread Joseph Tam
"mourik jan c heupink" writes: On 07/24/2017 04:51 AM, Joseph Tam wrote:> You are essentially writing your own backend by taking over authentication. You'll be accepting user/password inputs into your checkpassword executable, then use the LDAP API (or some other system...snip and source add

Re: under another kind of attack

2017-07-25 Thread Robert Schetterer
Am 25.07.2017 um 16:54 schrieb mj: > Hi Olaf, > > Since we implemented country blocking, everything seems nicely under > control, with only 'normal levels' of knocking. > > We first have impemented: > http://blog.jeshurun.ca/technology/block-countries-ubuntu-iptables-xtables-geoip > > > Then we

Re: under another kind of attack

2017-07-25 Thread Robert Schetterer
Am 25.07.2017 um 16:37 schrieb Olaf Hopp: > Hi folks, > > "somehow" similar to the thread "under some kind oof attack" started by > "MJ": > > I have dovecot shielded by fail2ban which works fine. > But since a few days I see many many IPs per day knocking on > my doors with wron password and/or u

Re: SIEVE: handling of lineending in fields

2017-07-25 Thread Ingo Thierack
On 25.07.2017 13:54, Stephan Bosch wrote: > > > Op 22-7-2017 om 18:02 schreef Ingo Thierack: >> Hello, >> >> migrated von the mailserver from centos to alpine linux. Most parts are >> run well. >> >> dovecot 2.2.31 >> sieve: 0.4.19 >> >> But i fight with on behavior. >> >> I have an sieve script wh

Re: last_logon SQL mapping

2017-07-25 Thread Aki Tuomi
> On July 22, 2017 at 4:42 PM viper wrote: > > > Hi > > I have been attempting to do a mapping on the last_logon plugin. I have > been reading the documentation on mapping. is there any way to customise > a little more and create a individual SQL query for each of the > functions SELECT and

last_logon SQL mapping

2017-07-25 Thread viper
Hi I have been attempting to do a mapping on the last_logon plugin. I have been reading the documentation on mapping. is there any way to customise a little more and create a individual SQL query for each of the functions SELECT and UPDATE, my current SQL setup has the username and domain in

Re: under another kind of attack

2017-07-25 Thread Tamsy
Olaf Hopp wrote on 25.07.2017 16:37: Hi folks, "somehow" similar to the thread "under some kind oof attack" started by "MJ": I have dovecot shielded by fail2ban which works fine. But since a few days I see many many IPs per day knocking on my doors with wron password and/or users. But the rat

Re: under another kind of attack

2017-07-25 Thread Darac Marjal
On Tue, Jul 25, 2017 at 04:37:23PM +0200, Olaf Hopp wrote: Hi folks, "somehow" similar to the thread "under some kind oof attack" started by "MJ": I have dovecot shielded by fail2ban which works fine. But since a few days I see many many IPs per day knocking on my doors with wron password and/o

Re: under another kind of attack

2017-07-25 Thread mj
Hi Olaf, Since we implemented country blocking, everything seems nicely under control, with only 'normal levels' of knocking. We first have impemented: http://blog.jeshurun.ca/technology/block-countries-ubuntu-iptables-xtables-geoip Then we did: https://github.com/firehol/blocklist-ipsets An

under another kind of attack

2017-07-25 Thread Olaf Hopp
Hi folks, "somehow" similar to the thread "under some kind oof attack" started by "MJ": I have dovecot shielded by fail2ban which works fine. But since a few days I see many many IPs per day knocking on my doors with wron password and/or users. But the rate at which they are knocking is very ve

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-25 Thread Davide Marchi
I add a clarification: Now that I've commented out sieve Junk/Trash on "/etc/dovecot/conf.d/15-mailboxes.conf" mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } remains a single account with permission issues, only one with write permissions cont

Re: Core dumped when authenticating to managesieve

2017-07-25 Thread Stephan Bosch
Op 24-7-2017 om 7:31 schreef Aki Tuomi: On 21.07.2017 16:19, Kristjan Eentsalu wrote: Hey, I'm getting "Error in MANAGESIEVE command received by server." and service(managesieve-login) killed with signal 11 (core dumped) when doing two line autenticate(sogo) to managesieve(). # telnet lo

Re: vacation problem with SRS

2017-07-25 Thread Stephan Bosch
Op 20-7-2017 om 20:24 schreef Kacper Guzik: I have this version with FIXME /* FIXME: If From header of message has same address, we should use that * instead to properly include the phrase part. */ rfc2822_header_printf(msg, "To", "<%s>", reply_to);

Re: SIEVE: handling of lineending in fields

2017-07-25 Thread Stephan Bosch
Op 22-7-2017 om 18:02 schreef Ingo Thierack: Hello, migrated von the mailserver from centos to alpine linux. Most parts are run well. dovecot 2.2.31 sieve: 0.4.19 But i fight with on behavior. I have an sieve script which pipes a few fields to an external script which send this data to an t

Re: failed to store into mailbox 'INBOX/Junk': Permission denied

2017-07-25 Thread Davide Marchi
For more clarity I also attach the content of "/etc/dovecot/conf.d/15-mailboxes.conf" # mailbox Junk { #special_use = \Junk # } # mailbox Trash { #special_use = \Trash # } mailbox INBOX/Junk { auto = subscribe special_use = \Junk } mailbox INBOX/Trash { auto = subscribe