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
On 15/04/2019 08:09, Larry Rosenman via dovecot wrote: > Note the hits after the fts rescan/index. > > Get Outlook for Android > > > *From:* Aki Tuomi > *Sent:* Monday, April 15, 2019 12:55:07 AM > *To

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...@voipsupport.it>> > > > the loc

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

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

2024-07-03 Thread John Fawcett via dovecot
On 03/07/2024 20:53, postfix_dovecot--- via dovecot wrote: Hi John, again you're hitting the point! I put a "report-spam.sieve fired!" and "report-ham.sieve fired!" debug message in the scripts and monitored with "journalctl -u dovecot -f | grep fired". The APPEND event (move to junk) trigge

Re: One-way synchronization with doveadm/TCP

2024-07-04 Thread John Fawcett via dovecot
On 04/07/2024 09:35, Дилян Палаузов via dovecot wrote: Hello, the replication procedure described at https://doc.dovecot.org/configuration_manual/replication/ suggests to open a server port 12345 on two systems, and then point each system to the other one. This creates bi-directional synchro

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

2024-07-04 Thread John Fawcett via dovecot
ve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment +vnd.dovecot.debug sieve_pipe_bin_dir = /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

Re: dsync will be removed in 2.4 - why?

2024-07-05 Thread John Fawcett via dovecot
On 05/07/2024 11:51, Aki Tuomi via dovecot wrote: On 05/07/2024 12:34 EEST Oliver Krone via dovecot wrote: Hi there, I recently learned that dsync (mail replication) functionality will be removed in the upcoming releases of dovecot. What is the reason and will there be a replacement? How

Re: Pread error over smb3

2024-07-06 Thread John Fawcett via dovecot
Hi Joan not sure what OS you're using, so just a guess: but maybe this is selinux related or something similar. When it's the OS providing the error code to dovecot, it's very unlikely to be anything in dovecot itself. On 06/07/2024 12:51, Joan Moreau via dovecot wrote: No error on the error

Re: dovecot-lda: timeout for external scripts called by sieve

2024-07-10 Thread John Fawcett via dovecot
On 09/07/2024 09:02, Meinhard Schneider via dovecot wrote: Hello, I have a small problem with dovecot-lda. I am using Debian 12 Bookworm: root@lnxmail01:~# dovecot --version 2.3.13 (89f716dc2) Historically grown (probably still from sendmail times, long time ago) I always used procmail for

Re: dovecot-lda: timeout for external scripts called by sieve

2024-07-10 Thread John Fawcett via dovecot
On 10/07/2024 09:40, John Fawcett via dovecot wrote: On 09/07/2024 09:02, Meinhard Schneider via dovecot wrote: Hello, I have set both the values for "sieve_execute_exec_timeout" and "sieve_extension_exec_timeout" to 60 sec, but according to the log, this does no

Re: dovecot-lda: timeout for external scripts called by sieve

2024-07-10 Thread John Fawcett via dovecot
Corrected a typo in the previous message, should have read sieve_filter_exec_timeout and not sieve_pipe_exec_timeout On 10/07/2024 10:41, John Fawcett wrote: On 10/07/2024 09:40, John Fawcett via dovecot wrote: On 09/07/2024 09:02, Meinhard Schneider via dovecot wrote: Hello, I have

Re: New Member Introduction

2024-07-10 Thread John Fawcett via dovecot
On 10/07/2024 07:37, Selena Thomas via dovecot wrote: Hi everyone, I am new to this forum and excited to be here. I'm interested in learning more about Dovecot and its features, and I'm eager to participate in the discussions here. Could someone please guide me on how to ask questions here ? W

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 13:05, Jeff Pang via dovecot wrote: Hello, Does the community version of dovecot have the replication feature? When one dovecot was down, another one could take over the tasks. Thanks. _ Jeff Replication is in t

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 17:38, James Cook via dovecot wrote: Replication is in the current dovecot version but will go away in 2.4. The doveadm sync feature is staying. So with some work you can set it up what you are requesting. I used to use replication and now I'm thinking about using sync but hav

Re: dovecot replication

2024-07-12 Thread John Fawcett via dovecot
On 12/07/2024 21:14, James Cook wrote: On Fri, Jul 12, 2024 at 06:28:13PM GMT, John Fawcett via dovecot wrote: Hi James I want to avoid the -1 parameter because it doesn't do deletes in the target. -l, not -1. Thanks I missed that - so locking can be done within Dovecot

Re: doveadm auth lookup fails for system user

2024-07-13 Thread John Fawcett via dovecot
On 12/07/2024 21:47, Christian H. Kuhn via dovecot wrote: Hi all, next step with my auth problem with dovecot. I want to authenticate a system user. The user exists, can log in, can sudo -i etc.pp. SASL with sql passdb and userdb works fine. root@bywater /etc/dovecot/conf.d # doveadm user q

Re: doveadm auth lookup fails for system user

2024-07-15 Thread John Fawcett via dovecot
45:44 Debug: auth-master: passdb lookup(qno): Finished passdb lookup (user=qno ) passdb: qno   user  : qno Jul 15 19:45:44 Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=2542,uid=0): Disconnected: Connection closed (fd=9) Am 13.07.2024 um 13:01 schrieb John Fawcett via d

Re: dictionary with %d variable in sql stops insert and select domain part - dovecot 2.3.17+

2024-07-16 Thread John Fawcett via dovecot
On 16/07/2024 08:53, Mariusz Piasecki via dovecot wrote: Hi, unfortunately no :( In sql query instead of variable %d I get user UPDATE used_domain_quota SET bytes=bytes+4359,messages=messages+1 WHERE domain = 'h.u...@example.com'; and domain can receive emails when over quota. On 15.07.2

Re: Invalid/Unmapped Key with Last Login Plugin

2024-07-17 Thread John Fawcett via dovecot
On 17/07/2024 12:28, Adam Miller via dovecot wrote: OS: Ubuntu 22.04.1 Dovecot: 2.3.16 (7e2e900c1a) Hello all! I have the last login plugin working with the IMAP service however with LMTP, it errors. I do not necessarily need / want the LMTP service and did not explicitly enable it but it is

Re: Invalid/Unmapped Key with Last Login Plugin

2024-07-17 Thread John Fawcett via dovecot
On 17/07/2024 16:03, dovecot--- via dovecot wrote: Hello all! I have the last login plugin working with the IMAP service however with LMTP, it errors. I do not necessarily need / want the LMTP service and did not explicitly enable it but it is throwing an error in my logs. Jul 17 10:22:14 lmt

Re: Invalid/Unmapped Key with Last Login Plugin

2024-07-17 Thread John Fawcett via dovecot
On 17/07/2024 22:59, Adam Miller via dovecot wrote: Yikes, this is my bad! I AM using the LMTP service for delivery. What I meant was that I do not necessarily need to track the logins to the LMTP service. I suppose it wouldn’t hurt to track them though. Any idea why it would be throwing this

Re: Invalid/Unmapped Key with Last Login Plugin

2024-07-18 Thread John Fawcett via dovecot
On 17/07/2024 23:35, Adam Miller via dovecot wrote: Yes, I did see that, thank you. If I did want to get this working globally, do you know what the issue is here and how to resolve it? I think it has something to do with my database table but I am not positive what the issue is. Here’s my dat

Re: doveadm: SSL handshake failed - wrong version number

2024-07-19 Thread John Fawcett via dovecot
On 18/07/2024 14:41, Rachel Roch via dovecot wrote: When attempting a doveadm backup, e.g. : doveadm -D backup -Ru user tcp:foo.example.com:12345 Hi Rachel maybe that should be with tcps doveadm -D backup -Ru user tcps:foo.example.com:12345 John __

Re: Sieve duplicate detection not working as expected

2024-07-19 Thread John Fawcett via dovecot
On 18/07/2024 15:37, Rosario Esposito via dovecot wrote: Hi, On a dovecot server (2.3.21) I have a simple sieve script: require ["duplicate"]; # rule:[duplicate] if duplicate {     discard;     stop; } I use virtual users with mail aliases on a LDAP backend. I have user "resposit" having 2

Re: sieve mail date change

2024-07-23 Thread John Fawcett via dovecot
On 22/07/2024 21:03, Marc via dovecot wrote: I am a bit rookie with sieve. Some time ago I created a sieve pipe that would sometimes alter alter the subject and move a message to a different mailbox. Currently this results in that a date changes of this message while I don't see anything in t

Re: Sieve duplicate detection not working as expected

2024-07-26 Thread John Fawcett via dovecot
usernames. Do you think there might be any other workarounds to make the duplicate sieve extension work properly ? Thanks, Rosario Il 19/07/2024 22:37, John Fawcett via dovecot ha scritto: On 18/07/2024 15:37, Rosario Esposito via dovecot wrote: Hi, On a dovecot server (2.3.21) I have

Re: dovecot-lda: timeout for external scripts called by sieve

2024-07-28 Thread John Fawcett via dovecot
On 27/07/2024 21:26, Meinhard Schneider via dovecot wrote: Hello, I have now adjusted the values accordingly: root@lnxmail01:~# doveconf | grep -A 13 ^plugin plugin {   sieve = file:~/sieve;active=~/.dovecot.sieve   sieve_execute_exec_timeout = 60s   sieve_extensions = +vnd.dovecot.filter +sp

Re: lmtp Fatal: setresgid Operation not permitted

2024-07-29 Thread John Fawcett via dovecot
On 28/07/2024 18:41, Rachel Roch via dovecot wrote: I am getting the following error when Postfix attempts LMTP delivery : "lmtp(REDACTED)<32674><7Jm0BSVopmaifwAAbW4UVQ>: Fatal: setresgid(121(mailbox_user),121(mailbox_user),8(mail)) failed with euid=111(mailbox_user): Operation not permitted

Re: Event Export (auth_request_finished)

2024-08-04 Thread John Fawcett via dovecot
On 04/08/2024 13:17, Serhii via dovecot wrote: I am trying to implement logging of all failed authentication attempts to catch bruteforce automatically. Currently, I have the following configuration: ... But for me it doesn't look like what is specified in docs[1]: Field | Description ---

Re: username_filter settings in passdb

2024-08-04 Thread John Fawcett via dovecot
Hi in my opinion you found a bug. In the function passdb_preinit(..) in file src/auth/passdb.c the username_filters are copied from set->username_filter to passdb->username_filter. However that code only gets to be executed if this line returns NULL passdb = passdb_find(set->driver, set->arg

Re: username_filter settings in passdb

2024-08-05 Thread John Fawcett via dovecot
On 05/08/2024 10:00, zaxwat93--- via dovecot wrote: Thank you for explanation. Unfortunately it is better not to touch this script, so I will wait for the fix ___ dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-le...@

Re: Dovecot refuses to install/run on machine without IPv6

2024-08-06 Thread John Fawcett via dovecot
On 06/08/2024 21:08, Kurt Fitzner via dovecot wrote: Hi, I just tried to install Dovecot (version 2.3.19.1 9b53102964) on a Debian 12 server I'm building.  It failed because Dovecot's default listen address is explicitly "*, ::" and it appears to have no logic to determine if there actually

Re: lda not sending email on sieve correctly

2024-08-08 Thread John Fawcett via dovecot
On 08/08/2024 10:15, Eduardo Diaz Rodriguez via dovecot wrote: Hi to all I was using dovecot like 15 years on multiples debian places, and I have the same issue on debian 12 and debian 11. on my configuration I use exim with 2 process to send email, and at the same time use mailscanner to sca

Re: Userdb empty

2024-08-08 Thread John Fawcett via dovecot
On 05/08/2024 16:02, Cam Ellison via dovecot wrote: I have shifted from a system-based email system to virtual for a website I manage. The MTA is exim4, and user data are in a MySQL database. It will receive email, but with one exception the userdb is empty and emails go out with no usernam

Re: dovecot-2.3.2.1 and dovecot-pigeonhole-0.5.2 bug?

2024-08-12 Thread John Fawcett via dovecot
On 12/08/2024 19:06, skraw--- via dovecot wrote: As I already said, this setup is way too complex to think about an update. The cause of this problem cannot be a problem of the same size. If somebody (probably you or Stephan) already found the cause I could concentrate on backporting a soluti

Re: LMTP error reading configuration

2024-10-11 Thread John Fawcett via dovecot
On 07/10/2024 05:08, DaLynX via dovecot wrote: Hello, I am getting the following error on my dovecot LMTP server, upon delivery from my postfix mailserver: Oct 6 03:31:09 m dovecot[36551]: lmtp: Fatal: Error reading configuration: read(/var/run/dovecot/config) failed: read(size=8192) faile

Re: last_login plugin does not update IP

2024-10-11 Thread John Fawcett via dovecot
On 30/09/2024 15:49, Maciej Polewczyński via dovecot wrote: When using the last_login plugin I noticed that the IP address information is not updated. If there is no entry in the sql database for a given user, the first time the login date and time information and the IP address will be saved.