Re: Log detective help

2024-06-06 Thread GDS via dovecot
Yes, it must be a misconfiguration but I cannot find it.  I have grep-ed /etc/postfix for all instances of localhost and there is nowhere an instance of localhost.com... Also, I have /etc/hosts with "127.0.0.1 localhost" and main.cf:"myhostname = mydomain.com" and "mydestination = localhost,

Re: Can't Empty Inbox that is Over quota

2024-06-06 Thread Jason Hirsh via dovecot
I am getting this error imap-login: Disconnected: Connection closed: SSL_accept() failed: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown: SSL alert number 46 (no auth attempts in 0 secs): user=<>, rip=69.142.122.175, lip=209.160.65.133, TLS handshaking:

Re: Can't Empty Inbox that is Over quota

2024-06-06 Thread Benny Pedersen via dovecot
Jason Hirsh via dovecot skrev den 2024-06-06 03:20: Is there anyway I can remove Dovecot from my server and reinstalll it? It is so messed up I don’t care about losing data reinstall will make the same install problem fails i often joke about precompiled problems :) more help show logs

Fwd: EXPUNGED Folder Always Visible

2024-06-06 Thread Pete Long via dovecot
Sorry, forgot to change the To: field :/ Pete. > Begin forwarded message: > > From: Pete Long > Subject: Re: EXPUNGED Folder Always Visible > Date: 6 June 2024 at 09:43:50 BST > To: Robert L Mathews > > > >> On 5 Jun 2024, at 19:18, Robert L Mathews via dovecot >> wrote: >> >> On Jun

Re: Log detective help

2024-06-05 Thread Cody Millard via dovecot
Seems like Postfix is trying to send emails to r...@localhost.com instead of root at the localhost. localhost.com @ 74.125.224.72 does not have port 25 open which is why the connection times out. On 6/5/2024 2:22 PM, GDS via dovecot wrote: Hello all, I am seeing hundreds of lines like the

Re: Log detective help

2024-06-05 Thread Michael Slusarz via dovecot
> On 06/05/2024 1:22 PM MDT GDS via dovecot wrote: > > Hello all, I am seeing hundreds of lines like the one below in my mail.log > from this specific IP address, which belongs to Google. Is there a way to > determine why this "deferred (delivery temporarily suspended)" is happening? > > Jun 

Log detective help

2024-06-05 Thread GDS via dovecot
Hello all, I am seeing hundreds of lines like the one below in my mail.log from this specific IP address, which belongs to Google. Is there a way to determine why this "deferred (delivery temporarily suspended)" is happening? Jun  5 19:09:32 arthemis postfix/error[86771]: 5D9D148296D: to=,

Re: EXPUNGED Folder Always Visible

2024-06-05 Thread Robert L Mathews via dovecot
On Jun 5, 2024, at 12:21 AM, Pete Long via dovecot wrote: > After a restart of Dovecot, I see this in the logs: > > Jun 05 08:12:07 imap(pete)<19761>: Error: Mailbox Deleted > Messages: Lazy-expunge transaction failed: Mailbox Deleted Messages: UID=1 > 67: lazy_expunge: Couldn't open expunge

Re: EXPUNGED Folder Always Visible

2024-06-05 Thread Pete Long via dovecot
> On 4 Jun 2024, at 18:56, Robert L Mathews via dovecot > wrote: > > On Jun 4, 2024, at 8:40 AM, Pete Long via dovecot wrote: >> >> I'm having a bit of a time trying to get the EXPUNGED mailbox to not display >> when any mail is moved or deleted. > > You should make the name start with a

Re: EXPUNGED Folder Always Visible

2024-06-04 Thread Robert L Mathews via dovecot
On Jun 4, 2024, at 8:40 AM, Pete Long via dovecot wrote: > > I'm having a bit of a time trying to get the EXPUNGED mailbox to not display > when any mail is moved or deleted. You should make the name start with a dot like ".EXPUNGED" to hide it from normal folders. See the "example

EXPUNGED Folder Always Visible

2024-06-04 Thread Pete Long via dovecot
Hi all, I'm having a bit of a time trying to get the EXPUNGED mailbox to not display when any mail is moved or deleted. Here's what I'm running: Operating System = Debian 11.9 Dovecot = 2.3.13 MUA = Mac OS X Mail 16.0 \(3774.600.62\) Here is the information I think is relevant: # cat

sieve crashes when two optional include scripts are missing

2024-06-04 Thread Michal Hlavinka via dovecot
Hi, we've found an issue with sieve plugin. When script includes two missing optional scripts, it causes crash. For reproducing the issue, script names must belong to same hash table node, so either two scripts with same name or scripts where 'hash(name) % table->size' results in same

Re: Debug: open(/proc/self/io) failed: Permission denied

2024-06-01 Thread se--- via dovecot
Worked like a charm. Thanks! ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: Debug: open(/proc/self/io) failed: Permission denied

2024-06-01 Thread Aki Tuomi via dovecot
> On 01/06/2024 19:47 EEST se--- via dovecot wrote: > > > Tried all kinds of user setup, and read what I found on different foras, but > still get: > > "Debug: open(/proc/self/io) failed: Permission denied" > > Is anyone able to spot the misconfig? > > Thanks in advance! > Hi! First

Debug: open(/proc/self/io) failed: Permission denied

2024-06-01 Thread se--- via dovecot
Tried all kinds of user setup, and read what I found on different foras, but still get: "Debug: open(/proc/self/io) failed: Permission denied" Is anyone able to spot the misconfig? Thanks in advance! This is my dovecot -n: # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf # Pigeonhole

problem setting sieve_vacation_send_from_recipient = yes

2024-06-01 Thread schuerbel--- via dovecot
Hello, dovecot sieve sends vacation replies with an empty FROM: field by default. Sadly my provider rejects such emails. I tried to change this behavior by adding sieve_vacation_send_from_recipient = yes to the plugin section in dovecot.conf. But still vacation replies are send with empty

RE: sasl database

2024-06-01 Thread aki.tuomi via dovecot
Hi, please see  https://doc.dovecot.org/configuration_manual/authentication/sql/#authentication-sqlAki Original message From: Jeff P via dovecot Date: 6/1/24 14:28 (GMT+02:00) To: dovecot@dovecot.org Subject: sasl database Hello,Is there a guide for using a customized SASL

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

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

sasl database

2024-06-01 Thread Jeff P via dovecot
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-le...@dovecot.org

Re: Unable to get quotas working

2024-06-01 Thread Noel Butler via dovecot
On 01/06/2024 20:23, Adam Miller via dovecot wrote: Thank you! At the time, I was trying to get the most basic of quotas working which I have now successfully accomplished! I am happy report that I also have the warning emails working. Excellent. Is it possible that instead of a bash

Re: Unable to get quotas working

2024-06-01 Thread Adam Miller via dovecot
Thank you! At the time, I was trying to get the most basic of quotas working which I have now successfully accomplished! I am happy report that I also have the warning emails working. Next, my plan is to figure out a way to write custom HTML warning emails using the MJML templating engine. My

Re: Unable to get quotas working

2024-06-01 Thread Noel Butler via dovecot
On 30/05/2024 20:06, Adam Miller via dovecot wrote: however now I am having an issue trying to get the quota warning emails to work. Your original post did not show a "service quota-warning" section where you tell dovecot what to run, I suggest you fully read everything to do with quota on

Gather statistics to check effectivity of spam filter?

2024-05-30 Thread Camilo Sperberg via dovecot
Hi list :) We want to make some changes to our spam filter, but we first want to be able to check if what we do does have any effect. So I was thinking of storing in our statistics if somebody moves an email to their Junk folder (or even better: vice versa). I have created the following metric

Re: Unable to get quotas working

2024-05-30 Thread Adam Miller via dovecot
Thank you for the reply. I was actually able to get it all working however now I am having an issue trying to get the quota warning emails to work. Not sure what the deal is but once I have hammered on it enough and it still isn't working, I will reply to ask for additional help. As for what

Re: Unable to get quotas working

2024-05-29 Thread Aki Tuomi via dovecot
> On 30/05/2024 02:21 EEST Adam Miller via dovecot wrote: > > > Ubuntu Version: Linux 6.2.0-1017-aws x86_64 Ubuntu 22.04.4 LTS nfs4 > > Postfix: Version: 3.6.4 > > Dovecot Version: 2.3.16 (7e2e900c1a) > > Pigeonhole Version: 0.5.16 (09c29328) > > Rspamd Version: 3.8.4 > > Protocols:

Unable to get quotas working

2024-05-29 Thread Adam Miller via dovecot
Ubuntu Version: Linux 6.2.0-1017-aws x86_64 Ubuntu 22.04.4 LTS nfs4 Postfix: Version: 3.6.4 Dovecot Version: 2.3.16 (7e2e900c1a) Pigeonhole Version: 0.5.16 (09c29328) Rspamd Version: 3.8.4 Protocols: IMAP, LMTP, SMTP Setup: I have an email server running with virtual domains and virtual

Re: mbox parsing failed and crashed

2024-05-28 Thread runtomaker--- via dovecot
Smtp DATA command after writing "Subject: asd\r\n.\r\n" ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

mbox parsing failed and crashed

2024-05-28 Thread runtomaker--- via dovecot
In below data getting from Postfix. Dovecot imap protocol when fetching mails returns no data. So program crashing when parsing mbox file. Mbox file: "From i...@asd.com Tue May 28 14:53:11 2024 Return-Path: X-Original-To: t...@example.com Delivered-To: t...@example.com Subject: asd " Error:

Re: Oauth2 MFA config

2024-05-24 Thread A. Schulze via dovecot
Am 23.05.24 um 22:07 schrieb Scott Q. via dovecot: Anyone managed to get Dovecot working as smoothly with OAUTH2 as Gmail has with Outlook ? So that for example when you add the account up in Outlook it performs all the required steps for saving the device, getting tokens, etc. Ideally with

Re: dsync with vurtial folder leads to mess of msg ID

2024-05-24 Thread Kirill A. Korinsky via dovecot
Greetings, On Sun, 21 Apr 2024 21:52:41 +0100, Kirill A. Korinsky wrote: > > Excluding INBOX from virtual folder seems that allows to avoid the issue. > I'd like to confirm that excluding INBOX from virtual folder indeed allows to avoid that issue. Any suggestion how can I help to debug

RE: I can't configure shared mailbox ACLs using LDAP information

2024-05-23 Thread Marc via dovecot
> I thought it was just a lack of skill on my part in finding/making the > correct configuration. I am curious about your results, so keep posting! :) > But what do large email servers that use Dovecot do? > > I thought it was an orchestration between OpenLDAP, Postfix and Dovecot > because

Re: I can't configure shared mailbox ACLs using LDAP information

2024-05-23 Thread moso.mosoleu--- via dovecot
Wow, hard to believe. I thought it was just a lack of skill on my part in finding/making the correct configuration. But what do large email servers that use Dovecot do? I thought it was an orchestration between OpenLDAP, Postfix and Dovecot because theoretically LDAP is the best place to

Command "doveadm director kick ...." doesn't work

2024-05-23 Thread g.carabella--- via dovecot
Hi, I have a Dovecot installation (version 2.3.16) with 3 directors and 4 backend servers. Three backend servers have the director_tag 'new', one has the director_tag 'old'. The users are on the DB, the director_tag is a table field. I want to migrate mailboxes from the old backend (Maildir

Re: I can't configure shared mailbox ACLs using LDAP information

2024-05-22 Thread Aki Tuomi via dovecot
> On 23/05/2024 04:42 EEST moso.mosoleu--- via dovecot > wrote: > > > It shouldn't be impossible, but I've tried countless ways and not even > ChatGPT 4o was able to help me! :D > > I use three LDIF files to get OpenLDAP ready for testing. In the first LDIF I > just modify the schema to

I can't configure shared mailbox ACLs using LDAP information

2024-05-22 Thread moso.mosoleu--- via dovecot
It shouldn't be impossible, but I've tried countless ways and not even ChatGPT 4o was able to help me! :D I use three LDIF files to get OpenLDAP ready for testing. In the first LDIF I just modify the schema to add the associatedDomain attributes (then I could configure the server to serve more

Re: Problems using non-libc memory allocators

2024-05-22 Thread Aki Tuomi via dovecot
> On 22/05/2024 19:38 EEST bl0v3 via dovecot wrote: > > > Hey I was trying to use dovecot2 with a not libc based memory allocation > such as scudo or graphene-hardened or graphene-hardened-light but ran > into the issues I described in > > > https://github.com/NixOS/nixpkgs/issues/313721

Problems using non-libc memory allocators

2024-05-22 Thread bl0v3 via dovecot
Hey I was trying to use dovecot2 with a not libc based memory allocation such as scudo or graphene-hardened or graphene-hardened-light but ran into the issues I described in https://github.com/NixOS/nixpkgs/issues/313721 I just wanted to mention this here as well as this behavior may

Re: Dovecot calculating quota wrong or am I stupid?

2024-05-20 Thread jarland--- via dovecot
I answered my own question. Sorry! It's that I'm using the zlib plugin with maildir. Though I welcome ideas for a smooth transition to a better quota system that won't demolish large servers as hard as dirsize would. On 2024-05-20 17:07, jarland--- via dovecot wrote: I'm currently running

Dovecot calculating quota wrong or am I stupid?

2024-05-20 Thread jarland--- via dovecot
I'm currently running 2.3.21 on this system and here's what I'm seeing (a bit cut down for excess): # doveadm quota get -u emailu...@domain.net STORAGE 1052385 MESSAGE2741 So the storage is roughly more than 1GB according to Dovecot. No change after quota recalc. But:

Re: After user disconnect run the custom script

2024-05-20 Thread Michael Slusarz via dovecot
> On 05/20/2024 9:43 AM MDT Alexey Krylov via dovecot > wrote: > > Please, send me the link, where I can find the info about configuring > firing script after dovecot client is disconnected. > > I found post-login scripting. Than's cool, but... I need to fire script > a little bit later. See

After user disconnect run the custom script

2024-05-20 Thread Alexey Krylov via dovecot
Sirs, good day. Please, send me the link, where I can find the info about configuring firing script after dovecot client is disconnected. I found post-login scripting. Than's cool, but... I need to fire script a little bit later. May be I try to build crutches... But I wish with all my heart to

Errors after enable add mail_attachment_detection_options

2024-05-20 Thread Ricardo Machini via dovecot
Hello, I got a lot of fatal errors on differents mailbox after I added the option: mail_attachment_detection_options = add-flags Rocky Linux release 8.9 (Green Obsidian) 2.3.21 (47349e2482) May 16 15:03:00 Panic: imap(u...@domain.com.br)<1669762>: file imap-sieve-storage.c: line 317

Re: Change the default base_dir to /run from ${prefix}/var/run

2024-05-20 Thread Дилян Палаузов via dovecot
Hello, similarly the default state_dir = /usr/local/var/lib/dovecot is not compatible with the default ProtectSystem=full (⇔read-only /usr): May 20 10:04:44 d dovecot[319843]: master: Dovecot v0.0.0-33124+6b1bcf1bad (6b1bcf1bad) starting up for imap, lmtp May 20 10:04:44 d dovecot[319843]:

Change the default base_dir to /run from ${prefix}/var/run

2024-05-20 Thread Дилян Палаузов via dovecot
Hello, at 6b1bcf1bad1d7, calling ./configure && make install sets prefix=/usr/local, and thus the default base_dir = /usr/local/var/run/dovecot. Moreover it installs /usr/lib/systemd/system/dovecot.service with [Service] ProtectSystem=full. ProtectSystem=full mounts /usr as read-only, so no

Re: example/config misses required section names for passdb{} and userdb{}

2024-05-19 Thread Aki Tuomi via dovecot
> On 20/05/2024 08:35 EEST Дилян Палаузов via dovecot > wrote: > > > Hello, > > I installed Dovecot from git 6b1bcf1bad1d78e, copied > /usr/local/share/doc/dovecot/example/config to /usr/local/etc/dovecot and > called dovecot -F . The system reported > > doveconf: Fatal: Error in

example/config misses required section names for passdb{} and userdb{}

2024-05-19 Thread Дилян Палаузов via dovecot
Hello, I installed Dovecot from git 6b1bcf1bad1d78e, copied /usr/local/share/doc/dovecot/example/config to /usr/local/etc/dovecot and called dovecot -F . The system reported doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/auth-system.conf.ext line 11: passdb { } is

Re: Dovecot logging to files causes issues

2024-05-19 Thread Peter via dovecot
On 20/05/24 01:55, Richard Rosner via dovecot wrote: Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile. Why on earth does a process supposed to write to a file need

RE: Dovecot logging to files causes issues

2024-05-19 Thread Marc via dovecot
> Am 19.05.2024 um 16:49 schrieb Richard Rosner via dovecot: > > It most certainly isn't. nginx isn't running as root, yet it can log > > without execution permissions just fine. Absolutely nothing should have > > execution permissions if they aren't meant to be executed, which should > > only be

Re: Dovecot logging to files causes issues

2024-05-19 Thread Alexander Dallou via dovecot
Am 19.05.2024 um 16:49 schrieb Richard Rosner via dovecot: It most certainly isn't. nginx isn't running as root, yet it can log without execution permissions just fine. Absolutely nothing should have execution permissions if they aren't meant to be executed, which should only be true for a

Re: Dovecot logging to files causes issues

2024-05-19 Thread Friedrich Kink via dovecot
As Alexander wrote - posix behaviour. To change into a directory the directory itself needs execute permission for owner/group/other (what ever is meant). Not the file itself. BTW even a chmod 110 /var/log/dovecot (so only execute and no read/write) would work. On 19.05.24 16:49, Richard

Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 16:02 schrieb Alexander Dallou via dovecot: Am 19.05.2024 um 15:55 schrieb Richard Rosner via dovecot: Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile.

Re: Dovecot logging to files causes issues

2024-05-19 Thread Alexander Dallou via dovecot
Am 19.05.2024 um 15:55 schrieb Richard Rosner via dovecot: Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile. Why on earth does a process supposed to write to a file need

Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 15:29 schrieb Friedrich Kink via dovecot: chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile. Why on earth does a process supposed to write to a file need execution permission? This most certainly is very unwelcome

Re: Dovecot logging to files causes issues

2024-05-19 Thread Friedrich Kink via dovecot
chmod 775 /var/log/dovecot will solve the problem. Without execute permission the process can't access the logfile. On 19.05.24 12:25, Richard Rosner via dovecot wrote: Am 19.05.24 um 04:02 schrieb Peter via dovecot: > Check the permissions of the entire path, as dovecot: > > namei -l

Re: Dovecot logging to files causes issues

2024-05-19 Thread Richard Rosner via dovecot
Am 19.05.24 um 04:02 schrieb Peter via dovecot: Check the permissions of the entire path, as dovecot: namei -l /var/log/dovecot/error.log It might be selinux, check your audit.log file, or set selinux to permissive mode and see if it works: setenforce 0 This can't be the case, there is no

RE: Failing to archive many messages

2024-05-18 Thread Marc via dovecot
> Today I realized that it was indeed the sa-learn that is slowing down my > Archiving. > > I added an «&» on the end of the line that calls the sa-learn (called by > the report-ham.sieve script): > > exec /usr/bin/sa-learn -u ${1} --ham & > > Does anyone thing this is a bad idea? I noticed

Re: Dovecot logging to files causes issues

2024-05-18 Thread Peter via dovecot
On 19/05/24 04:31, Richard Rosner via dovecot wrote: I have a mailing server setup based on Debian Stable that uses postfix (v3.7.10) for SMTP and dovecot (v2.3.19.1 (9b53102964)) for IMAP. I now wanted to set dovecot to not write to syslog, but to dedicated files in /var/log/dovecot. While

Dovecot logging to files causes issues

2024-05-18 Thread Richard Rosner via dovecot
I have a mailing server setup based on Debian Stable that uses postfix (v3.7.10) for SMTP and dovecot (v2.3.19.1 (9b53102964)) for IMAP. I now wanted to set dovecot to not write to syslog, but to dedicated files in /var/log/dovecot. While everything indicates that this happens successfully as

Re: Failing to archive many messages

2024-05-18 Thread Francis Augusto Medeiros-Logeay via dovecot
Thanks a lot Marc. I actually found something that works for me: I replaced `sa-learn -u xx --ham` with `spamc -u xx -L ham` Archiving wasn't as fast as simply moving messages, but was considerably faster - fast enough that no errors on Roundcube are reported. Best, Francis --- Francis

Re: Failing to archive many messages

2024-05-18 Thread Francis Augusto Medeiros-Logeay via dovecot
Today I realized that it was indeed the sa-learn that is slowing down my Archiving. I added an «&» on the end of the line that calls the sa-learn (called by the report-ham.sieve script): exec /usr/bin/sa-learn -u ${1} --ham & Does anyone thing this is a bad idea? I noticed that archiving got

Sieve extprograms pipe :try cancels implicit keep

2024-05-17 Thread Sebastiaan Hoogeveen via dovecot
Hi, When using the :try tag on the pipe command in the sieve_extprograms plugin Sieve’s implicit keep is cancelled if the executed command fails. The specification on https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/rfc/spec-bosch-sieve-extprograms.txt states: “When the ":try"

Re: MySQL connection with SSL

2024-05-16 Thread Martin Behrens via dovecot
Have you tried to set the ssl_* parameters as stated in https://doc.dovecot.org/settings/plugin/sql-mysql? Am 16.05.24, 12:53 schrieb "Gandalf Corvotempesta via dovecot" : Hi all is possible to tell dovecot to use a mysql connection with SSL ? My new remote mysql server only

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 16:35 Stuart Henderson via dovecot ha scritto: > Wrong bit of the manual. See the sample dovecot-sql.conf.ext or > https://doc.dovecot.org/configuration_manual/authentication/sql/#id10 Seems much easier with this... I'll try tomorrow

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:58 Aki Tuomi ha scritto: > I don't think dovecot will read your .my.cnf̣. > > See supported options at https://doc.dovecot.org/settings/plugin/sql-mysql/ Probably "client_flags" is what i need to use but: 1. i don't know the int value for CLIENT_SSL (and

Re: MySQL connection with SSL

2024-05-16 Thread Stuart Henderson via dovecot
On 2024-05-16, Christopher Wensink via dovecot wrote: > See here for the documentation for dovecot: > > https://doc.dovecot.org/admin_manual/ssl/ Wrong bit of the manual. See the sample dovecot-sql.conf.ext or https://doc.dovecot.org/configuration_manual/authentication/sql/#id10

Re: MySQL connection with SSL

2024-05-16 Thread Benny Pedersen via dovecot
Christopher Wensink via dovecot skrev den 2024-05-16 15:34: See here for the documentation for dovecot: https://doc.dovecot.org/admin_manual/ssl/ this is not covering database connections so above is for end-users connections, not dovecot connection to databases like mysql postgres, or

Re: MySQL connection with SSL

2024-05-16 Thread Aki Tuomi via dovecot
> On 16/05/2024 16:30 EEST Gandalf Corvotempesta via dovecot > wrote: > > > Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via > dovecot ha scritto: > > Yes. > > > > https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html > > This is for using ssl with native

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:34 Christopher Wensink ha scritto: > > See here for the documentation for dovecot: > > https://doc.dovecot.org/admin_manual/ssl/ This has nothing to do with mysql connection. What i've asked for is how to tell dovecot to connect to a mysql server by using

Re: MySQL connection with SSL

2024-05-16 Thread Christopher Wensink via dovecot
See here for the documentation for dovecot: https://doc.dovecot.org/admin_manual/ssl/ On 5/16/2024 8:30 AM, Gandalf Corvotempesta wrote: Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via dovecot ha scritto: Yes.

Re: MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Il giorno gio 16 mag 2024 alle ore 15:12 Christopher Wensink via dovecot ha scritto: > Yes. > > https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html This is for using ssl with native mysql client. Dovecot uses the native library or has a embedded mysql library ? because my

Re: MySQL connection with SSL

2024-05-16 Thread Christopher Wensink via dovecot
Gandalf, Yes. https://dev.mysql.com/doc/refman/8.3/en/using-encrypted-connections.html It's common practice.  From my experience most LAMP stacks are built and with a web front end that's handling the SSL traffic via apache to secure the connection between the client browser and the web

MySQL connection with SSL

2024-05-16 Thread Gandalf Corvotempesta via dovecot
Hi all is possible to tell dovecot to use a mysql connection with SSL ? My new remote mysql server only allows ssl connections ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

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

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

2024-05-15 Thread Douglas Morse via dovecot
Apologies, just to be completely explicit, I should have stated that of course in every configuration I mentioned the `.dovecot.sieve` file always pointed to the user’s main sieve script, wherever I may have placed it at the time. So for example my centralized configuration is as follows when

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

2024-05-15 Thread Douglas Morse via dovecot
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 user’s home directory. If `sieve` is set to the

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

2024-05-15 Thread Douglas Morse via dovecot
Hi, Dovecot version is 2.3.19.1 (9b53102964) running on fully up-to-date Debian 12 (Bookworm) operating system. For the life of me I cannot figure out how to get sieve scripts working correctly in a central directory location. Calling them from users’ home directories works fine (as

lda-dupes-file not updated, when user over quota and sieve vacation enabled

2024-05-14 Thread Christian Rößner via dovecot
Hi, we have encountered an interesting behavior with users that have their mailboxes over quota while having sieve-vacation enabled. We do a temp fail, if a mailbox is over quota. Problem: If a remote sender sends an email to such a user (over quota + vacation), Dovecot directly

Re: sieve duplicate with 2.3.16

2024-05-13 Thread Jean-Max Reymond via dovecot
Le 09/05/2024 à 12:07, Jean-Max Reymond a écrit : Hi, I was running dovecot 2.3.7.2 with ubuntu 20.04 Lastweek, I upgrade to Ubuntu 22.04 and dovecot 2.3.16 My configuration was migrated and all is fine expected the sieve duplicate. It does notwork and i don't understand why. sorry for the

Re: Sieve: Avoiding duplicates in a folder while keeping in Inbox

2024-05-13 Thread Paul Kudla via dovecot
ok here are the basics see example plugins below plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid, box, msgid, from, subject, size, vsize, flags push_notification_driver = dlog sieve =

Re: Sieve: Avoiding duplicates in a folder while keeping in Inbox

2024-05-13 Thread Stephan Bosch via dovecot
Op 13-5-2024 om 14:14 schreef Nick Urbanik via dovecot: On Thu, 2024-04-25 at 14:36 +1000, Nick Urbanik via dovecot wrote: On Tue, 2024-04-23 at 09:42 +1000, Nick Urbanik via dovecot wrote: Dear Folks, I am in the process of learning Sieve, and want to be able to keep an email in Inbox,

Re: Sieve: Avoiding duplicates in a folder while keeping in Inbox

2024-05-13 Thread Nick Urbanik via dovecot
On Thu, 2024-04-25 at 14:36 +1000, Nick Urbanik via dovecot wrote: > On Tue, 2024-04-23 at 09:42 +1000, Nick Urbanik via dovecot wrote: > > Dear Folks, > > > > I am in the process of learning Sieve, and want to be able to keep > > an > > email in Inbox, while also keeping *one* copy in another

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, dovecot-requ...@dovecot.org wrote: > > Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 12:29: > >>> If you want to analyze emails, why not do it with scheduled crons >>> after they are archived? > > maybe ask for skip older then one day in here >

Re: Authentication questions

2024-05-09 Thread Christopher Wensink via dovecot
This may help, see the post from 9/9/2021: https://github.com/goauthentik/authentik/issues/1234 On 5/9/2024 2:50 PM, Francis Augusto Medeiros-Logeay via dovecot wrote: On 9 May 2024, at 19:45, Aki Tuomi wrote: On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot

Re: Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, Aki Tuomi wrote: > > >> On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot >> mailto:dovecot@dovecot.org>> wrote: >> >> >> Hi, >> >> I was wondering: >> >> 1 - Is it possible to configure authentication methods per user? For >> example,

Re: Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 19:45, Aki Tuomi wrote: > > >> On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot >> mailto:dovecot@dovecot.org>> wrote: >> >> >> Hi, >> >> I was wondering: >> >> 1 - Is it possible to configure authentication methods per user? For >> example,

Re: Authentication questions

2024-05-09 Thread Aki Tuomi via dovecot
  On 09/05/2024 20:15 EEST Francis Augusto Medeiros-Logeay via dovecot wrote:     Hi,   I was wondering:   1 - Is it possible to configure authentication methods per user? For example, oauth2 for most users, but plain for others? 2 - I had a

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> On 9 May 2024, at 12:55, dovecot-requ...@dovecot.org wrote: > > Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 11:28: > >> Actually, I don’t know here if that’s the sieve that’s slowing down the >> process, or if it is something else. >> I see that yeah, sa-learn takes a

Authentication questions

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I was wondering: 1 - Is it possible to configure authentication methods per user? For example, oauth2 for most users, but plain for others? 2 - I had a feeling that when oauth2 authentication fails, dovecot tries to authenticate via plain with the received token. Doesn’t seem logical, but

Re: Failing to archive many messages

2024-05-09 Thread Benny Pedersen via dovecot
Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 12:29: If you want to analyze emails, why not do it with scheduled crons after they are archived? maybe ask for skip older then one day in here https://github.com/isbg/isbg/tree/master while roundcube just set the needed flag

sieve duplicate with 2.3.16

2024-05-09 Thread Jean-Max Reymond via dovecot
Hi, I was running dovecot 2.3.7.2 with ubuntu 20.04 Lastweek, I upgrade to Ubuntu 22.04 and dovecot 2.3.16 My configuration was migrated and all is fine expected the sieve duplicate. It does notwork and i don't understand why. % doveconf -n # 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf #

sieve duplicate with 2.3.16

2024-05-09 Thread Jean-Max Reymond via dovecot
Hi, I was running dovecot 2.3.7.2 with ubuntu 20.04 Lastweek, I upgrade to Ubuntu 22.04 and dovecot 2.3.16 My configuration was migrated and all is fine expected the sieve duplicate. It does notwork and i don't understand why. % doveconf -n # 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf #

RE: Failing to archive many messages

2024-05-09 Thread Marc via dovecot
> On 2024-05-09 12:03, Marc wrote: > > I see report-ham, instead of archiving? I am not entirely sure if this > > is an efficient approach to archiving. My users can only set a flag for > > 'auto archiving' via sieve and then 3 months after every year messages > > are being moved by cron jobs, and

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
= On 2024-05-09 12:03, Marc wrote: I see report-ham, instead of archiving? I am not entirely sure if this is an efficient approach to archiving. My users can only set a flag for 'auto archiving' via sieve and then 3 months after every year messages are being moved by cron jobs, and

Re: Failing to archive many messages

2024-05-09 Thread Benny Pedersen via dovecot
Francis Augusto Medeiros-Logeay via dovecot skrev den 2024-05-09 11:28: Actually, I don’t know here if that’s the sieve that’s slowing down the process, or if it is something else. I see that yeah, sa-learn takes a little while to execute. But maybe the issue is that Dovecot doesn’t seem to

RE: Failing to archive many messages

2024-05-09 Thread Marc via dovecot
I see report-ham, instead of archiving? I am not entirely sure if this is an efficient approach to archiving. My users can only set a flag for 'auto archiving' via sieve and then 3 months after every year messages are being moved by cron jobs, and modification logs are put into their accounts.

Re: Failing to archive many messages

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
> I noticed that my sieve rules are taking a very long time when archiving > messages. I can see on my logs that every message takes about two-three > seconds to be evaluated. > > I also noticed this happens for a few accounts. Do you know what could be > causing this? > > Best, > Francis >

Re: OAUTH2 problem when migrating to Ubuntu 24.04

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
--- Francis Augusto Medeiros-Logeay Oslo, Norway On 2024-05-09 10:11, Aki Tuomi wrote: On 09/05/2024 10:46 EEST Francis Augusto Medeiros-Logeay via dovecot wrote: Hi, I have a Dovecot server on Ubuntu 22.04, which works fine with Oauth2. I am building a new container based on Ubuntu

Re: OAUTH2 problem when migrating to Ubuntu 24.04

2024-05-09 Thread Aki Tuomi via dovecot
> On 09/05/2024 10:46 EEST Francis Augusto Medeiros-Logeay via dovecot > wrote: > > > Hi, > > I have a Dovecot server on Ubuntu 22.04, which works fine with Oauth2. I am > building a new container based on Ubuntu 24.04. IMAP seems to work fine with > plain authentication, but oauth2

OAUTH2 problem when migrating to Ubuntu 24.04

2024-05-09 Thread Francis Augusto Medeiros-Logeay via dovecot
Hi, I have a Dovecot server on Ubuntu 22.04, which works fine with Oauth2. I am building a new container based on Ubuntu 24.04. IMAP seems to work fine with plain authentication, but oauth2 fails (Dovecot v2.3.21). Same configuration as before. However, I got this message: May 09 09:41:57

  1   2   3   4   5   6   7   8   9   10   >