Re: source code doesn't compile

2022-01-12 Thread John Fawcett
On 12/01/2022 04:19, Ruben Safir wrote: I downloaded the dovecot source and it doesn't compile. The install script fails in auth because it makes a file and then tries to make a directory over it make[2]: Entering directory '/home/ruben/src/dovecot-2.3.17.1/src/auth' make[3]: Entering directory

Re: Crash when using dict quotas with sqlite database

2019-02-03 Thread John Fawcett
On 01/02/2019 20:40, Marcel Menzel wrote: > Hello, > > > After I configured a SQLite backed dict quota backend, the dict process > crashes every time a quota operation is happening. > > SQLite: 3.26.0 > > Dovecot: 2.3.4 (0ecbaf23d) > > Linux: 4.20.4.a-1-hardened #1 SMP PREEMPT Fri Jan 25 01:24:51 C

Re: Managesieve problem

2019-02-03 Thread John Fawcett
On 01/02/2019 13:39, Ervin Hegedüs wrote: > Hi, > > I'ld try to set up the managesieve (for RoundCube) - the sieve is > works as well with dovecot (I mean my filters works perfectly). > > When I would try to connect to managesieve, I got an error, and > mail.err contains: > > dovecot: managesieve(a

Re: Managesieve problem

2019-02-03 Thread John Fawcett
On 03/02/2019 18:51, Ervin Hegedüs wrote: > Hi John, > > On Sun, Feb 03, 2019 at 04:44:44PM +0100, John wrote: >> On 2/3/19 2:09 PM, Hegedüs Ervin wrote: >>> Hi John, >>> >>> On Sun, Feb 03, 2019 at 09:56:38AM +0100, John Fawcett wrote: >>>> On

Re: Solr commit and optimize: which user?

2019-12-15 Thread John Fawcett
On 15/12/2019 17:13, John Gateley wrote: > Hi, > > I have Solr FTR working with dovecot, and need to do the commit and > optimize recommended here: > https://wiki.dovecot.org/Plugins/FTS/Solr > > Should this run as root, or as each mail user. The documentation above > implies, but doesn't state, >

Re: Dovecot v2.3.9.2 released

2019-12-15 Thread John Fawcett
On 13/12/2019 15:16, aki.tu...@dovecot.fi wrote: > We are pleased to release v2.3.9.2 of Dovecot. Please find it from > locations below > > https://dovecot.org/releases/2.3/dovecot-2.3.9.2.tar.gz > https://dovecot.org/releases/2.3/dovecot-2.3.9.2.tar.gz.sig > Binary packages in https://repo.dovecot

Correct user for replication

2016-12-08 Thread John Fawcett
Hi I've set up replication with the settings below. With these settings, aggregator runs as user dovecot and replicator as user root. Are those the recommended settings or should I change them, in particular for replicator which is running as a privileged user? service aggregator { fifo_listen

Re: Dovecot dsync tcps sends incomplete certificate chain

2017-01-04 Thread John Fawcett
On 01/04/2017 08:40 PM, Juri wrote: > Hi, > I'm trying to configure a Dovecot dsync service between two servers, using a > tcp+ssl connection and > a valid Let's Encrypt certificate. > I followed the guide on the wiki (http://wiki.dovecot.org/Replication) using > the tcps method, but > when I lau

Re: Dovecot dsync tcps sends incomplete certificate chain

2017-01-05 Thread John Fawcett
On 01/05/2017 08:55 PM, Juri wrote: > 5 Gennaio 2017 01:21, "John Fawcett" wrote: > >> On 01/04/2017 08:40 PM, Juri wrote: >> >> > Thank you. > > In fact I tried both settings, that is > |ssl_client_ca_dir = /etc/ssl/certs > |ssl_client_ca_

Username used by dovecot to access database certificate and key files

2023-12-08 Thread John Fawcett
Hi does anyone happen to know the username under which dovecot accesses the certificate and key files when connecting to a mariadb database with ssl? I can't seem to get dovecot to read the files without a "other" readable bit set. I have dovecot users in mysql with the following connect str

Re: Username used by dovecot to access database certificate and key files

2023-12-08 Thread John Fawcett
On 08/12/2023 14:18, Aki Tuomi via dovecot wrote: The group depends on process, usually dovecot uses four different identities: root, dovecot:dovecot, dovenull:dovenull and vmail:vmail (or per-user identity). Any extra groups are removed during execution, but if you want, you can use https:

Solr/Tika patches for dovecot 2.3.21

2023-12-09 Thread John Fawcett
Hi I've just made updated versions of 3 patches against the latest release 2.3.21 in case they are useful to someone or might get considered for official inclusion. John dovecot-2.3.21-tika-http-auth.patch Allows specification of username and password in the fts_tika setting for basic auth against

Re: Certificate of the documentation site (https://doc.dovecot.org/)

2024-01-02 Thread John Fawcett
On 02/01/2024 10:55, gileh13242--- via dovecot wrote: Hey ! Your certificate expired today, I can't access it because of my business proxy :). [No Error] (TLS code: X509_V_ERR_CERT_HAS_EXPIRED) SSL Certificate expired on: Jan 2 06:31:02 2024 GMT Maybe you have the old certificate cached som

Re: Solr/Tika patches for dovecot 2.3.21

2024-01-03 Thread John Fawcett
On 03/01/2024 10:16, Aki Tuomi via dovecot wrote: On 09/12/2023 15:02 EET John Fawcett wrote: Hi I've just made updated versions of 3 patches against the latest release 2.3.21 in case they are useful to someone or might get considered for official inclusion.

Autocreate virtual users' home directory?

2024-01-03 Thread John Fawcett
Hi I have recently rectified an old configuration error whereby I had virtual users' home and mail directories set to the same value. I used option 3 from "ways to set up home directory" https://doc.dovecot.org/configuration_manual/ home_directories_for_virtual_users/ so I have: home= /var/vmail/do

Re: Autocreate virtual users' home directory?

2024-01-04 Thread John Fawcett
On 04/01/2024 08:21, Aki Tuomi via dovecot wrote: On 03/01/2024 23:38 EET John Fawcett wrote: Hi I have recently rectified an old configuration error whereby I had virtual users' home and mail directories set to the same value. I used option 3 from "ways to set up home direct

dovecot@dovecot.org

2024-01-14 Thread John Fawcett
On 09/01/2024 19:00, Markus Doits via dovecot wrote: Am 03.01.24 um 10:14 schrieb Aki Tuomi: namespace {     prefix = _/     separator = /     location = virtual:~/Maildir/virtual:LAYOUT=maildir++:INDEX=~/Maildir/virtual } You should not store virtual folders inside Maildir (assuming this i

Re: Custom map for quota

2024-01-14 Thread John Fawcett
On 13/01/2024 14:01, Matt wrote: Hi, I'm trying to setup quota with the following layout CREATE TABLE "domain" ( "id" INTEGER, "name" TEXT, "active" INTEGER DEFAULT 0, PRIMARY KEY("id"), UNIQUE("name") ) CREATE TABLE "address" ( "id" INTEGER, "localpart" TEXT NOT NULL, "domain_id" INTEGER NOT

Re: Custom map for quota

2024-01-14 Thread John Fawcett
On 15/01/2024 01:10, m87562...@gmail.com wrote: John Fawcett wrote: On 13/01/2024 14:01, Matt wrote: Hi, I'm trying to setup quota with the following layout CREATE TABLE "domain" (

Quota clone plugin - initial population of data

2024-01-15 Thread John Fawcett
Hi while responding on a previous thread, I noticed in the documentation: https://doc.dovecot.org/configuration_manual/quota_clone_plugin/ "For example you might want to access everybody’s quota via Redis ... but you don’t store the Redis database permanently so it could become empty once in

Re: Virtual folder with custom flags

2024-01-15 Thread John Fawcett
On 15/01/2024 03:49, Kirill Korinsky wrote: Greetings, I can't figure out how doesn it possible to create a virtual folder which contains mails which has falgs: \Flagged or any customers flag. For example I do have a test mail: mx2$ doas doveadm fetch -u kir...@korins.ky "mailbox flags" mail

Re: testing sieve/pigeonhole, auth errors

2024-01-16 Thread John Fawcett
On 15/01/2024 21:13, Joe Acquisto wrote: A small SOHO system, of installed perhaps a year.  Seems to be working and wished to add pigeonhole/sieve. Per Pigeonhole/sieve troubleshooting in the docs, set on mail_debug = yes and this is what I see, upon launching Thunderbird as the client.  Thought

Re: post-login scripting

2024-01-17 Thread John Fawcett
On 18/01/2024 02:31, Alex wrote: Hi, I'm trying to determine the last login time for my IMAP users. Some systems use mbox while others are Maildir, but not sure that matters. I'd just like to touch a file similar to how it's done in this article, but it doesn't

[Dovecot] LDA and postfix with recipient delimiter: documentation

2009-05-18 Thread John Fawcett
Just a comment about the documentation for postfix integration when using receipient delimiter and delivery of user+...@domain.ext to u...@domain: http://wiki.dovecot.org/LDA/Postfix I had some issues to get this working, so thought I'd share my experience. Dovecot version 1.2.rc3. Postfix vers

Re: [Dovecot] LDA and postfix with recipient delimiter:documentation

2009-05-18 Thread John Fawcett
mr.maX wrote: >> ${domain} is a somewhat recent addition to Postfix. I guess the docs >> could say to use ${domain} instead of ${nexthop} if Postfix is newer >> than X (should look up what version added that). > > ${domain} parameter has been added starting with Postfix 2.5, which > means that peo

[Dovecot] recipient delimiter and lmtp

2009-05-22 Thread John Fawcett
I read in the list archives about work in progress on an lmtp delivery agent.As a previous cyrus user where that was the preferred delivery method from postfix, this sounds interesting. I was wondering whether it will handle recipient delimiters. ie will it be able to map user+...@example.com to u

[Dovecot] expire: mysql table creation error

2009-05-27 Thread John Fawcett
Don't know if anyone found this already (couldn't see anything in the archives about it) but maybe this is useful to someone else who finds the same problem. When following the instructions for setting up expire on v1.2+ for mysql backend at http://wiki.dovecot.org/Plugins/Expire I got the followi

Re: [Dovecot] expire: mysql table creation error

2009-05-28 Thread John Fawcett
Timo Sirainen wrote: > On Thu, 2009-05-28 at 08:04 +0200, John Fawcett wrote: > >> but maybe that's not such a good primary key, >> probably better to do: >> >> mysql> CREATE TABLE expires ( >> -> id integer not null auto_increm

[Dovecot] Maildir compression utility

2009-05-29 Thread John Fawcett
Does anyone know of a script to compress old mails stored in a maildir format by carrying out the steps described at http://wiki.dovecot.org/Plugins/Zlib thanks, John

Re: [Dovecot] Maildir compression utility

2009-06-04 Thread John Fawcett
Steffen Kaiser wrote: > On Fri, 29 May 2009, John Fawcett wrote: > > > Does anyone know of a script to compress old mails stored in a maildir > > format by carrying out the steps described at > > > http://wiki.dovecot.org/Plugins/Zlib > > I made this script: > h

[Dovecot] dovecot corrupted transaction log

2013-06-10 Thread John Fawcett
Hi I came across this error which happend immedately after a mail delivery to the inbox. Should I look for the problem externally to dovecot (ie. file system, operating system) or within dovecot? I never saw this error before installing 2.2.1, with 2.2.2 I seemed to get even more of them so current

Re: [Dovecot] dovecot corrupted transaction log

2013-06-12 Thread John Fawcett
On 13/06/13 04:31, Timo Sirainen wrote: > On Tue, 2013-06-11 at 00:34 +0200, John Fawcett wrote: >> Hi I came across this error which happend immedately after a mail >> delivery to the inbox. Should I look for the problem externally to >> dovecot (ie. file system, operat

Re: [Dovecot] dovecot corrupted transaction log

2013-07-02 Thread John Fawcett
On 13/06/13 08:50, John Fawcett wrote: > On 13/06/13 04:31, Timo Sirainen wrote: >> On Tue, 2013-06-11 at 00:34 +0200, John Fawcett wrote: >>> Hi I came across this error which happend immedately after a mail >>> delivery to the inbox. Should I look for the problem ex

[Dovecot] dnsbl feature for dovecot

2013-07-02 Thread John Fawcett
dnsbl's are a popular method to prevent listed ips from making connections to mta software. cf. postscreen_dnsbl_sites in postfix Would it be possible to introduce such a feature in dovecot, so that connections can be denied based on a dnsbl lookup (where the precise dnsbls used are configurable)

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 05:24, Professa Dementia wrote: > On 7/2/2013 7:11 PM, Stan Hoeppner wrote: >> On 7/2/2013 8:32 PM, Professa Dementia wrote: >>> On 7/2/2013 6:21 PM, John Fawcett wrote: >>>> dnsbl's are a popular method to prevent listed ips from making >>>

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 09:26, Robert Schetterer wrote: > Am 03.07.2013 04:11, schrieb Stan Hoeppner: >> On 7/2/2013 8:32 PM, Professa Dementia wrote: >>> On 7/2/2013 6:21 PM, John Fawcett wrote: >>>> dnsbl's are a popular method to prevent listed ips from making >>>

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 03:27, Timo Sirainen wrote: > On 3.7.2013, at 4.21, John Fawcett wrote: > >> dnsbl's are a popular method to prevent listed ips from making >> connections to mta software. >> >> cf. postscreen_dnsbl_sites in postfix >> >> Would it be poss

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 18:44, Benny Pedersen wrote: > Timo Sirainen skrev den 2013-07-03 03:27: > >> You're talking about IMAP/POP3 connections? >> Possible, yeah .. possibly even without code changes by using >> tcpwrappers. > > why is it needed ? > > setup fail2ban to manange xtables-addons geoip csv files

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 18:40, Benny Pedersen wrote: > John Fawcett skrev den 2013-07-03 03:21: >> dnsbl's are a popular method to prevent listed ips from making >> connections to mta software. > > hmm are pop3/imap clients not authed users ? > > well done > in this case

Re: [Dovecot] dnsbl feature for dovecot

2013-07-03 Thread John Fawcett
On 03/07/13 12:47, Professa Dementia wrote: > On 7/3/2013 12:35 AM, John Fawcett wrote: > >> The point is to stop spambot connections to pop and >> imap (which are usually done to try and steal >> credentials). > This is not the usual way spambots work. Generally, spamb

Re: smtp_address_cmp does not ignore case of localpart

2019-02-11 Thread John Fawcett via dovecot
On 11/02/2019 22:43, Andreas Jobs via dovecot wrote: > Hi, > > in src/lib-smtp/smtp-address.c line 759 the localpart is compared with > null_strcmp, which does not ignore the case. While this is the correct > behavior (according to the RFC) it causes problems in real life. > > In my case the vacati

Re: smtp_address_cmp does not ignore case of localpart

2019-02-12 Thread John Fawcett via dovecot
On 12/02/2019 21:41, Andreas Jobs via dovecot wrote: > On Tue, Feb 12, 2019 at 08:12:43AM +0100, John Fawcett via dovecot wrote: >> On 11/02/2019 22:43, Andreas Jobs via dovecot wrote: >> In practice if you convert the username part to lower case in the MTA >> then you will a

Re: Upgrading to 2.3

2019-03-15 Thread John Fawcett via dovecot
On 09/03/2019 14:10, Christian Schmidt via dovecot wrote: > Hi, > > @lbutlr via dovecot, 08.03.19: >> On 8 Mar 2019, at 05:54, Aki Tuomi via dovecot >> wrote: >>> https://wiki.dovecot.org/Upgrading >> >> Duh. I wasn't looking for a URL that was specific. > > https://wiki2.dovecot.org/Upgrading/2.3

Re: SMTPUTF8 support

2019-04-06 Thread John Fawcett via dovecot
On 06/04/2019 10:07, André Rodier via dovecot wrote: > On 05/04/2019 08:57, David Bürgin via dovecot wrote: >> André, are you quite sure you have it working? >> >> In this thread someone from Open-Xchange stated that no, Dovecot doesn’t >> have SMTPUTF8 support implemented, and the same response wa

Re: SMTPUTF8 support

2019-04-06 Thread John Fawcett via dovecot
On 06/04/2019 11:34, André Rodier via dovecot wrote: > On Sat, 2019-04-06 at 11:19 +0200, John Fawcett via dovecot wrote: >> On 06/04/2019 10:07, André Rodier via dovecot wrote: >>> On 05/04/2019 08:57, David Bürgin via dovecot wrote: >>>> André, are you

Re: dovecot[30008]: auth-worker: Fatal: master: service(auth-worker): child 31074 killed with signal 11

2019-04-09 Thread John Fawcett via dovecot
On 08/04/2019 16:22, Herbert via dovecot wrote: > Hi > > Since a recent DNF update, I see many log file entries like the following: > > Apr 08 16:16:36 udoo.symmetrix.ch audit[31074]: ANOM_ABEND > auid=4294967295 uid=0 gid=0 ses=4294967295 > subj=system_u:system_r:dovecot_auth_t:s0 pid=31074 comm="

Re: Where to report (potential) Dovecot bugs

2019-04-09 Thread John Fawcett via dovecot
On 09/04/2019 22:03, Mark Moseley via dovecot wrote: > I'm curious if this is still the right place to report potential bugs > with Dovecot.  > > Is there a Dovecot bug tracker somewhere? https://www.dovecot.org/bugreport.html

Re: failed: read(/var/run/dovecot/dns-client)

2019-04-10 Thread John Fawcett via dovecot
On 11/04/2019 00:18, Laura Smith via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Wednesday, April 10, 2019 10:24 PM, Aki Tuomi > wrote: > >>> On 10 April 2019 23:56 Laura Smith via dovecot < dovecot@dovecot.org> wrote: >>> >>> ‐‐‐ Original Message ‐‐‐ >>> On Wednesday, April 10

Re: failed: read(/var/run/dovecot/dns-client)

2019-04-10 Thread John Fawcett via dovecot
On 11/04/2019 00:51, Laura Smith via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Wednesday, April 10, 2019 11:48 PM, John Fawcett via dovecot > wrote: > >> On 11/04/2019 00:18, Laura Smith via dovecot wrote: >> >>> ‐‐‐ Original Message ‐‐‐ &g

Re: failed: read(/var/run/dovecot/dns-client)

2019-04-11 Thread John Fawcett via dovecot
On 11/04/2019 10:02, Laura Smith via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Thursday, April 11, 2019 12:55 AM, John Fawcett via dovecot > wrote: > >> On 11/04/2019 00:51, Laura Smith via dovecot wrote: >> >>> ‐‐‐ Original Message ‐‐‐ >&

Re: failed: read(/var/run/dovecot/dns-client)

2019-04-11 Thread John Fawcett via dovecot
On 11/04/2019 22:09, Laura Smith via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Thursday, April 11, 2019 9:01 PM, John Fawcett via dovecot > wrote: > >> On 11/04/2019 10:02, Laura Smith via dovecot wrote: >> >>> ‐‐‐ Original Message ‐‐‐ >

Re: Secure Client-Initiated Renegotiation

2019-04-11 Thread John Fawcett via dovecot
On 11/04/2019 23:28, sergio via dovecot wrote: > Hello. > > I've just tested my system that runs dovecot 2.3.4.1 on debian buster > with testssl.sh (https://testssl.sh/) and is says: > > Secure Renegotiation (CVE-2009-3555)    not vulnerable (OK) > Secure Client-Initiated Renegotiation   VULNERABLE

Re: Solr connection timeout hardwired to 60s

2019-04-13 Thread John Fawcett via dovecot
On 12/04/2019 12:09, Peter Mogensen via dovecot wrote: > Looking further at tcpdumps of the Dovecot->Solr traffic and Solr > metrics it doesn't seem like there's anything suspicious apart from the > TCP windows running full and Dovecot backing of ... until it times out > and close the connection. >

[PATCH] Re: Solr connection timeout hardwired to 60s

2019-04-14 Thread John Fawcett via dovecot
On 13/04/2019 17:16, Shawn Heisey via dovecot wrote: > On 4/13/2019 4:29 AM, John Fawcett via dovecot wrote: >> If this value was made configurable people could set it to what they >> want. However the underlying problem is likely on solr configuration. > > The Jetty that is

Re: [PATCH] Re: Solr connection timeout hardwired to 60s

2019-04-14 Thread John Fawcett via dovecot
On 14/04/2019 16:04, Aki Tuomi via dovecot wrote: > >> On 14 April 2019 16:59 John Fawcett via dovecot < dovecot@dovecot.org >> <mailto:dovecot@dovecot.org>> wrote: >> >> >> On 13/04/2019 17:16, Shawn Heisey via dovecot wrote: >>> On 4/13/2019

Re: Solr connection timeout hardwired to 60s

2019-04-14 Thread John Fawcett via dovecot
On 14/04/2019 17:16, Peter Mogensen via dovecot wrote: > sorry... I got distracted half way and forgot to put a meaningfull > subject so the archive could figure out the thread. - resending. > > On 4/14/19 4:04 PM, dovecot-requ...@dovecot.org wrote: > >>> Solr ships with autoCommit set to 15 second

Re: Solr connection timeout hardwired to 60s

2019-04-14 Thread John Fawcett via dovecot
On 14/04/2019 17:55, John Fawcett via dovecot wrote: > The solr server is a small test virtual machine with 0.2 (shared) vCPU > and 0.6MB of memory and non SSD storage. It can index around 2000 emails > per minute when there is no other activity. Average email size is about > 4

Re: SOLR/Index?

2019-04-14 Thread John Fawcett via dovecot
On 15/04/2019 01:15, Larry Rosenman via dovecot wrote: > Given all the discussion on FTS/Solr, etc, I have a question: > > I have autoindex set, and searching in roundcube most of the time does > NOT find things, > HOWEVER if I do: > doveadm fts rescan > doveadm index > > I can find things in the m

Re: SOLR/Index?

2019-04-14 Thread John Fawcett via dovecot
On 15/04/2019 01:39, Larry Rosenman via dovecot wrote: > > full solr.log at: > https://www.lerctr.org/~ler/solr.log > > The search DOES make it to SOLR: > ⌂77% [l...@thebighonker.lerctr.org:~] 130 $ grep sysutils > /var/log/solr/solr.log > 2019-04-14 18:31:34.749 INFO  (qtp349420578-7538) [   x:dov

Re: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
April 15, 2019 12:55:07 AM > *To:* Larry Rosenman; John Fawcett > *Cc:* Dovecot Mailing List > *Subject:* Re: SOLR/Index? >   > > > On 15.4.2019 3.33, Larry Rosenman via dovecot wrote: >> ⌂72% [l...@thebighonker.lerctr.org:~] $ doveadm search mailbox &

Re: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
t;https://aka.ms/ghei36> > > > *From:* dovecot on behalf of John > Fawcett via dovecot > *Sent:* Monday, April 15, 2019 2:06:55 AM > *To:* dovecot@dovecot.org > *Subject:* Re: SOLR/Index? >   > On 15/04/2019 08:09, Larry R

Re: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
---- > *From:* dovecot on behalf of John > Fawcett via dovecot > *Sent:* Monday, April 15, 2019 3:57:08 AM > *To:* Dovecot Mailing List > *Subject:* Re: SOLR/Index? >   > On 15/04/2019 10:31, Larry Rosenman via dovecot wrote: >> It always shows the au

Re: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
On 15/04/2019 11:38, Larry Rosenman via dovecot wrote: > ⌂63% [l...@thebighonker.lerctr.org:~] $ grep fts1970 mail/INBOX > ⌂67% [l...@thebighonker.lerctr.org:~] 1 $ mail -s "test fts1970" > l...@lerctr.org > test fts1970 > > test fts1970 > . > EOT > [l...@thebighonker.lerct

Re: Fwd: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
On 15/04/2019 12:59, Larry Rosenman via dovecot wrote: > forgot to reply all. > > -- Forwarded message - > From: *Larry Rosenman* mailto:larry...@gmail.com>> > Date: Mon, Apr 15, 2019 at 5:58 AM > Subject: Re: SOLR/Index? > To: John Fawcett mailto:j...

Re: Fwd: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
On 15/04/2019 13:43, Larry Rosenman via dovecot wrote: > Again, this doesn't help with doveadm running as the local user, and > also doesn't help with > the PAM authentication. > > passdb { >   driver = pam >   #[session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=20] >   #[cache_key=]

Re: Fwd: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
On 15/04/2019 16:05, Larry Rosenman via dovecot wrote: > I have normal system users, some and some virtual domains (2 different > flavors). > > I have this job that runs from cron on my own userid to archive mail > I want Dovecot to use my system password for mail authentication. > I, therefore, us

Re: Fwd: SOLR/Index?

2019-04-15 Thread John Fawcett via dovecot
On 15/04/2019 16:34, Larry Rosenman via dovecot wrote: > yes, either with or without the domain. > > > On Mon, Apr 15, 2019 at 9:33 AM John Fawcett via dovecot > mailto:dovecot@dovecot.org>> wrote: > > On 15/04/2019 16:05, Larry Rosenman via dovecot wrote: >&g

Re: Auto rebuilding of Solr indexes on settings change?

2019-04-25 Thread John Fawcett via dovecot
On 25/04/2019 13:32, Peter Mogensen via dovecot wrote: > Hi, > > Looking at the source, it doesn't seem like fts-solr checks for settings > changes using fts_index_have_compatible_settings() like fts-lucene does. > > Is there any special reason for why fts-solr shouldn't also rebuild > indexes if s

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 12:52, mabi via dovecot wrote: > Hello, > > I am trying to setup the last_login plugin on Dovecot 2.3 in order to log a > user's last IMAP login into a separate PostgreSQL table called last_login. I > am actually following that guide: > https://docs.iredmail.org/track.user.last.log

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 15:42, mabi via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Sunday, May 19, 2019 2:58 PM, John Fawcett via dovecot > wrote: > >> I guess it is not supported for PostgreSQL or Sqlite, since they don't >> have "ON DUPLICATE KEY UPDATE"

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 16:25, John Fawcett via dovecot wrote: > INSERT INTO last_logins (last_login,username,domain) VALUES > (1558273000,'u...@domain.tld','domain.tld') I don't have PostgresSql, would you be able to verify if this syntax would work: INSERT INTO last_log

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 17:08, mabi via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Sunday, May 19, 2019 4:44 PM, John Fawcett via dovecot > wrote: > >> I don't have PostgresSql, would you be able to verify if this syntax >> would work: INSERT INTO last_login

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 20:31, mabi via dovecot wrote: > > ‐‐‐ Original Message ‐‐‐ > On Sunday, May 19, 2019 7:36 PM, John Fawcett via dovecot > wrote: >> >> Attached is a tentative patch. I've verified no regression for mysql. >> There should be no regres

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 22:37, John Fawcett via dovecot wrote: > On 19/05/2019 20:31, mabi via dovecot wrote: >> >> ‐‐‐ Original Message ‐‐‐ >> On Sunday, May 19, 2019 7:36 PM, John Fawcett via dovecot >> wrote: >>> >>> Attached is a tentative patch. I&#

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread John Fawcett via dovecot
On 19/05/2019 22:45, John Fawcett via dovecot wrote: > On 19/05/2019 22:37, John Fawcett via dovecot wrote: >> On 19/05/2019 20:31, mabi via dovecot wrote: >>> >>> ‐‐‐ Original Message ‐‐‐ >>> On Sunday, May 19, 2019 7:36 PM, John Fawcett via dovecot

Re: Further issues on FTS engine

2019-05-20 Thread John Fawcett via dovecot
On 20/05/2019 08:27, Joan Moreau via dovecot wrote: > > Hi, > > Additionally to the long list of problem on the FTS previously > discussed, here a new: > > > WHen I reset the indexes, the indexer-worker seems paralelleizing the > indexing (which is good), however, the number available in "ps aux |

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-22 Thread John Fawcett via dovecot
On 21/05/2019 15:45, mabi via dovecot wrote: > ‐‐‐ Original Message ‐‐‐ > On Monday, May 20, 2019 12:37 AM, John Fawcett via dovecot > wrote: > >> So looking into this with a postgresql databse to work with: the >> above query does not work. You have to specif

Re: more generic approach as for userdb? (was: Dict issue with PostgreSQL for last_login plugin (duplicate key))

2019-05-23 Thread John Fawcett via dovecot
On 23/05/2019 07:49, Steffen Kaiser via dovecot wrote: > On Wed, 22 May 2019, John Fawcett via dovecot wrote: > > > an update when insert fails seems to be a MySQL specific extension to > > standard Sql. So I think that it's clear that support for PostgreSql and > > Sq

Re: last login user tracking

2019-06-22 Thread John Fawcett via dovecot
On 21/06/2019 23:13, David Mehler via dovecot wrote: > Hello, > > I'm trying to get last login user tracking going, using Dovecot and > mysql. I'm using: > > https://docs.iredmail.org/track.user.last.login.html > > and it is working, I am seeing an entry and it is updated, the problem > is the last

Re: last login user tracking

2019-06-22 Thread John Fawcett via dovecot
On 22/06/2019 16:59, Lefteris Tsintjelis via dovecot wrote: > On 22/6/2019 16:07, John Fawcett via dovecot wrote: >> You can easily view the value in a readable format with the >> FROM_UNIXTIME mysql funciton >> >> https://dev.mysql.com/doc/refman/8.0/en/date-and-time-f

Re: Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-29 Thread John Fawcett via dovecot
On 28/06/2019 02:01, Lefteris Tsintjelis via dovecot wrote: > Any idea what this is? > > Jun 26 23:16:34 > quota-status(u...@example.com)<4975>: Error: > quota-status: Client sent invalid recipient address: Invalid character > in path > > I have this enabled in my config > > service quota-status {

Re: Dovecot/MSQL issue

2019-06-30 Thread John Fawcett via dovecot
On 30/06/2019 13:36, Aki Tuomi via dovecot wrote: >> >> Hello, I'm trying to work through an issue that cropped up on a server I've >> been working on and haven't found a very good workaround. >> >> Dovecot is operating in a jailed environment. >> >> The configuration in dovecot-sql.conf.ext has b

Re: Dovecot/MSQL issue

2019-07-02 Thread John Fawcett via dovecot
On 01/07/2019 09:48, lorek via dovecot wrote: > Actually, it seems I may have been wrong in initial assumption that > the issue with the client was that it was being identified to mysql as > coming from localhost when connecting via tcp. > This is what syslog indicated as a reason for the failure b

Re: Dovecot with MySQL over SSL.

2019-07-20 Thread John Fawcett via dovecot
On 18/07/2019 23:24, Reio Remma via dovecot wrote: > Hello! > > I'm attempting to get Dovecot working with MySQL user database on > another machine. I can connect to the MySQL (5.7.26) instance with SSL > enabled: > >  mysql -h db.mrst.ee --ssl-ca=/etc/dovecot/ca.pem > --ssl-cert=/etc/dovecot/clien

Re: Pigeonhole Sieve only runs scripts if in users' home directories, or if Sieve is purposely broken

2024-05-15 Thread John Fawcett via dovecot
On 15/05/2024 18:27, Douglas Morse via dovecot wrote: My apologies, a small inaccuracy: Below where I mention .svbin files being created, I incorrectly described what is occurring. If the `sieve` is set to the default of users’ home directories etc., the file `.dovecot.svbin` is created in the

Pigenohole bad commands limits and proposed minor patch

2024-06-01 Thread John Fawcett via dovecot
Hi I was looking into Pigeonhole behaviour in the case of managesieve receiving invalid input either before or after login. I can see that there are hard coded limits after 3 sequential bad commands prior to authentication and 20 after authentication. I was wondering if there is a reason for

Re: sasl database

2024-06-01 Thread John Fawcett via dovecot
On 01/06/2024 13:22, Jeff P via dovecot wrote: Hello, Is there a guide for using a customized SASL database for dovecot? for example, SQLite. Thanks in advance. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-

[Patch] blocklist access control for dovecot pop3/imap and pigeonhole managesieve

2024-06-09 Thread John Fawcett via dovecot
Hi Just in case this is useful more generally, I'm posting it to the list. While Dovecot has an access control via allow_nets, it is a user database field that applies only at the authentication stage to deny access for the specific user when there is a connection attempt from an unauthorized

Re: [Patch] blocklist access control for dovecot pop3/imap and pigeonhole managesieve

2024-06-09 Thread John Fawcett via dovecot
The files themselves didn't make it through the list server. I'll try with .txt On 09/06/2024 15:42, John Fawcett via dovecot wrote: Hi Just in case this is useful more generally, I'm posting it to the list. While Dovecot has an access control via allow_nets, it is a user

Re: [Patch] blocklist access control for dovecot pop3/imap and pigeonhole managesieve

2024-06-09 Thread John Fawcett via dovecot
On 09/06/2024 18:39, Aki Tuomi via dovecot wrote: On 09/06/2024 16:50 EEST John Fawcett via dovecot wrote: The files themselves didn't make it through the list server. I'll try with .txt On 09/06/2024 15:42, John Fawcett via dovecot wrote: Hi Just in case this is useful more

Re: Debian Bookworm packages, please !

2024-06-27 Thread John Fawcett via dovecot
On 26/06/2024 20:48, pgnd via dovecot wrote: for anyone interested, for dovecot v2.3.14+ @ Fedora, https://src.fedoraproject.org/rpms/dovecot/blob/rawhide/f/dovecot-2.3.14-opensslv3.patch Until this discussion started I didn't realize that I've been using the unsupported version of op

Re: IMAPSieve plugin will not run rspamd script

2024-06-29 Thread John Fawcett via dovecot
On 29/06/2024 10:08, postfix_dovecot--- via dovecot wrote: Host: VMware Workstation 14.1.8 OS: Debian 12 (Bookworm) Dovecot: 2.3.19.1 Postfix: 3.7.10 Mailclient: Outlook 2016 Hello, I am currently working on a new mail server to replace my Debian 10 mail server. For preparation, I use

Re: AW: IMAPSieve plugin will not run rspamd script

2024-06-30 Thread John Fawcett via dovecot
On 30/06/2024 19:57, postfix_dovecot--- via dovecot wrote: Tried it now in every known combination. Nothing changes. It's my 7th evening about this and I'm starting to despair :( Hi Jens any chance of posting the debugging from that  test in case it gives any clues. John

Re: Sieve Symlink Error

2024-06-30 Thread John Fawcett via dovecot
On 30/06/2024 07:17, Benjamin Rose via dovecot wrote: Hello, I'm in the process of moving our mail server from RHEL 6 to RHEL 9. We will be moving to: # dovecot --version 2.3.16 (7e2e900c1a) My issue is that sieve does not appear to work on the new setup, where it does work on the old one.

Re: Sieve Symlink Error

2024-07-01 Thread John Fawcett via dovecot
On 01/07/2024 03:32, Benjamin Rose via dovecot wrote: On 6/30/24 16:48, John Fawcett via dovecot wrote: On 30/06/2024 07:17, Benjamin Rose via dovecot wrote: Hello, I'm in the process of moving our mail server from RHEL 6 to RHEL 9. We will be moving to: # dovecot --version 2

Re: AW: AW: AW: IMAPSieve plugin will not run rspamd script

2024-07-01 Thread John Fawcett via dovecot
On 01/07/2024 22:09, postfix_dovecot--- via dovecot wrote: Hi John, the prefix is ​​just a sign of my desperation - I tried all sorts of variations yesterday and now forgot to undo it. There’s a very detailed tutorial available (German language) with Debian 10. Just the sieve scrip

Re: AW: AW: AW: AW: IMAPSieve plugin will not run rspamd script

2024-07-02 Thread John Fawcett via dovecot
usr/lib/dovecot/sieve sieve_plugins = sieve_imapsieve sieve_extprograms } protocols = imap lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service lmtp { inet_listener lmtp { address = 127.0.0.1 ::1 port = 24 } } ssl_cert = Von:

Re: AW: AW: AW: AW: IMAPSieve plugin will not run rspamd script

2024-07-02 Thread John Fawcett via dovecot
plugin code MOVE and COPY are treated almost the same, so my rule with COPY fire on MOVE too. In your case the event you're getting is APPEND, but none of your rules have that as a cause so won't match even if the mailbox matches. John On 02/07/2024 12:07, John Fawcett via dovecot wrote

Re: AW: AW: AW: AW: AW: IMAPSieve plugin will not run rspamd script

2024-07-02 Thread John Fawcett via dovecot
(Resending because of size limit exceeded on previous post) Hi Jens that looks much better, though not yet completely solved. What you're now getting is both rules firing when you move a message to Junk, whereas you only want the first one firing. I guess you will have no rules firing when yo

login_access_sockets

2024-07-03 Thread John Fawcett via dovecot
Hi I've used Dovecot for a long time but I never stop learning about the depth of features I've never used I just discovered the login_access_sockets setting when reading this page: https://doc.dovecot.org/admin_manual/login_processes/ The compilation using  --with-libwrap configure sett

<    1   2   3   >