Patch: enhancements for solr/tika integration

2022-01-08 Thread John Fawcett
Hi here's a patch with some enhancements that I am applying locally for solr/tika integration. Hopefully this can be considered for inclusion. I've tested up to 2.3.16 and this patch applies against latest version 2.3.17.1. The contents are: 1. Allow username and password in tika configurati

Patch: safeguard against too large value for uid being sent to solr for single mailbox searches

2022-01-08 Thread John Fawcett
Hi I'm reposting a patch for solr integration which I have been applying locally. It applies against 2.3.17.1. Dovecot already has a mechanism when doing solr fts searches on multiple mailboxes that prevents a too large value for maximum rows being sent to solr. #define SOLR_MAX_MULTI_ROWS

Patch: assertion failed in doveadm fts lookup

2022-01-08 Thread John Fawcett
Hi I'm reposting this patch, which I have been applying locally since I originally posted it. Hopefully it can be considered for inclusion in the official release. It was tested on dovecot 2.3.16 but applies against the latest version 2.3.17.1. This is the "assertion failed" that it addresse

Re: Non-user logins?

2022-01-08 Thread Joseph Tam
On Fri, 7 Jan 2022, Ken Wright wrote: On Fri, 2022-01-07 at 23:27 -0500, Dave McGuire wrote: On 1/7/22 11:24 PM, Ken Wright wrote: So, if anyone can tell me what's going on with all these logins, I'd be much obliged! I see them all the time on the mail servers I run. Typical kids trying

Re: banning, was Re: Non-user logins?

2022-01-08 Thread Dave McGuire
On 1/8/22 12:12 PM, John Fawcett wrote: On 08/01/2022 17:22, Dave McGuire wrote: On 1/8/22 8:57 AM, John Fawcett wrote: yes, blocking on the first wrong password sounds like overkill. But it does depend on user base. For a small mail server with few known users it could be workable.   It may

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread Dave McGuire
On 1/8/22 3:04 PM, William Edwards wrote:   After that's working, then move on to Roundcube.  Look in Roundcube's config.inc.php file.  Where that file is located is system-dependend; mine is in /opt/local/etc/roundcube, which is specific to SmartOS. Parameter "$config['db_dsnw']" is the DSN for

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread William Edwards
Dave McGuire schreef op 2022-01-08 18:20: On 1/8/22 11:27 AM, Ken Wright wrote: MariaDB. Now it's time for me to clarify. The "source stream returned no data" error is in Evolution; the "connection to storage server failed" is in Roundcube. So I'm seeing similar errors in two different ema

Sv: banning

2022-01-08 Thread Sebastian Nielsen
I would say, lock accounts to for example IP address, ASN or GeoIP. This can be accomplished simply by a custom login handler, which also checks IP against database. And first time users, and those who change country/ISP/IP have to simply logon to a web interface (where 2FA can be required and

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread Dave McGuire
On 1/8/22 11:27 AM, Ken Wright wrote: MariaDB. Now it's time for me to clarify. The "source stream returned no data" error is in Evolution; the "connection to storage server failed" is in Roundcube. So I'm seeing similar errors in two different email clients trying to get to the same server.

Re: banning

2022-01-08 Thread dc-ml
Am 08.01.22 um 17:22 schrieb Dave McGuire: >   I wasn't asking for a critique of my configuration; I explained my > approach to a new user who came here looking for help. huh? well, I don't think that anyone wanted to say anything about _your_ configuration, but wanted to supplement, that you

Re: banning, was Re: Non-user logins?

2022-01-08 Thread John Fawcett
On 08/01/2022 17:22, Dave McGuire wrote: On 1/8/22 8:57 AM, John Fawcett wrote: yes, blocking on the first wrong password sounds like overkill. But it does depend on user base. For a small mail server with few known users it could be workable.   It may be overkill for your network, but it's n

Re: banning, was Re: Non-user logins?

2022-01-08 Thread Ken Wright
On Sat, 2022-01-08 at 11:22 -0500, Dave McGuire wrote: >    I wasn't asking for a critique of my configuration; I explained my > approach to a new user who came here looking for help. > >    Which is the last time I'll do THAT on this list, by the way. Dave, on behalf of all the n00bs who come he

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread Ken Wright
On Sat, 2022-01-08 at 11:05 -0500, Dave McGuire wrote: > On 1/8/22 12:28 AM, Ken Wright wrote: > > > > > > When I try to log in to my mail server (ubuntu 20.04, > > > > > > Postfix 3.4.13, Dovecot 2.3.7.2) I get a response saying > > > > > > "Source stream returned no data”.  At least to me, that's

banning, was Re: Non-user logins?

2022-01-08 Thread Dave McGuire
On 1/8/22 8:57 AM, John Fawcett wrote: yes, blocking on the first wrong password sounds like overkill. But it does depend on user base. For a small mail server with few known users it could be workable. It may be overkill for your network, but it's not overkill for mine. But even on small s

banning, was Re: Non-user logins?

2022-01-08 Thread Dave McGuire
On 1/8/22 8:26 AM, dc...@dvl.werbittewas.de wrote: trying to mess with other peoples' stuff.  I run fail2ban to catch those log entries and block the source IP address for a month on the first failed login.  At any one time I have between 12,000 and 15,000 well, I don't know how _your_ users ar

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread Dave McGuire
On 1/8/22 12:28 AM, Ken Wright wrote: When I try to log in to my mail server (ubuntu 20.04, Postfix 3.4.13, Dovecot 2.3.7.2) I get a response saying "Source stream returned no data”.  At least to me, that's not particularly informative.  Is it any more informative to anyone else?     The last

Re: Non-user logins?

2022-01-08 Thread John Fawcett
On 08/01/2022 14:26, dc...@dvl.werbittewas.de wrote: Am 08.01.22 um 05:27 schrieb Dave McGuire: trying to mess with other peoples' stuff.  I run fail2ban to catch those log entries and block the source IP address for a month on the first failed login.  At any one time I have between 12,000 and

Re: Non-user logins?

2022-01-08 Thread dc-ml
Am 08.01.22 um 05:27 schrieb Dave McGuire: > trying to mess with other peoples' stuff.  I run fail2ban to catch those > log entries and block the source IP address for a month on the first > failed login.  At any one time I have between 12,000 and 15,000 well, I don't know how _your_ users are

Re: Can't log in from Evolution or Roundcube

2022-01-08 Thread William Edwards
> Op 8 jan. 2022 om 06:30 heeft Ken Wright het > volgende geschreven: > > On Fri, 2022-01-07 at 23:59 -0500, Dave McGuire wrote: >> On 1/7/22 11:58 PM, Ken Wright wrote: > When I try to log in to my mail server (ubuntu 20.04, Postfix > 3.4.13, Dovecot 2.3.7.2) I get a response saying