Fail2ban and login_trusted_networks

2020-12-21 Thread Javi Legido
Hi there. First of all many thanks to all the people involved in this project for their time, I really appreciate it. Second my use case: a) Container running Webmail (roundcube) with dovecot-ident plugin enabled . b

Re: Fail2ban and login_trusted_networks

2020-12-21 Thread Tom Hendrikx
Hi, Ideally the webmail has it's own logfile, where it also emits error messages containing the ip-address of the failed login attempt. This could be as simple as a HTTP 401 error in the nginx/apache logfile on the webmail domain. You can then instruct fail2ban to read that logfile and disall

Re: Fail2ban and login_trusted_networks

2020-12-21 Thread Aki Tuomi
Dovecot can log client IP instead of connection IP, when webmail passes this information over using IMAP `ID` command, and webmail server has been added to login_trusted_networks. The keywords used for this feature are x-originating-ip x-originating-port x-connected-ip x-connected-port x-proxy-

Re: Fail2ban and login_trusted_networks

2020-12-21 Thread Javi Legido
Hi there. Tom, thanks for your reply. Indeed webmail (roundcube) has its own mechanism for consecutive wrong logins, but I would like to have everything centralized in one place (fail2ban in the container running dovecot). Aki, thanks for your reply. Everything is working as expected, webmail (ro

Repeated Inbox Corruption, how to Troubleshoot?

2020-12-21 Thread Bryan K. Walton
We are running Dovecot Version 2.3.8 (9df20d2db) (from the CentOS 8 repos). Twice in the last week, I've encountered an issue where my Mutt imap client logs into our imap server and has 0 new messages (when I know that there are a lot of new messages waiting on me). Both times, I've had to shut

Re: Repeated Inbox Corruption, how to Troubleshoot?

2020-12-21 Thread Aki Tuomi
> On 21/12/2020 16:48 Bryan K. Walton wrote: > > > We are running Dovecot Version 2.3.8 (9df20d2db) (from the CentOS 8 > repos). Twice in the last week, I've encountered an issue where my Mutt > imap client logs into our imap server and has 0 new messages (when I > know that there are a lot

Re: Repeated Inbox Corruption, how to Troubleshoot?

2020-12-21 Thread Bryan K. Walton
> Can you turn on mail_debug=yes, and provide output of `doveconf -n` and logs > from mail delivery and when you open the mailbox. Thanks, Aki. I have enabled mail_debug=yes. I will report back if it happens again. Thanks! Bryan -- Bryan K. Walton 31

Re: Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?

2020-12-21 Thread Scott Ruckh
On 2020-12-20 17:37, Philip Rhoades wrote: @lbutlr, On 2020-12-21 00:43, @lbutlr wrote: On 20 Dec 2020, at 04:05, Philip Rhoades wrote: I guess that is what it seems to look like to me as well - but what does that mean for what I am trying to do? - ie reset the blue folder highlight arbitra

doveadm backup -f -n inbox doing writes?

2020-12-21 Thread Marc Roos
If I start a 'doveadm backup -f -n inbox' on the source server, why do also disk writes increase on the source server (indexes mostly?)