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 for

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 store

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

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: 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

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

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 F

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 version

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

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=, orig

Re: Log detective help

2024-06-06 Thread GDS via dovecot
mydestination = localhost, localhost.localdomain" I am stumped...Anywhere else I should be looking?Would a catchall alias for root@localhost be a way around it? On Wednesday, June 5, 2024 at 03:42:45 PM EDT, Michael Slusarz via dovecot wrote: > On 06/05/2024 1:22 PM MDT GDS via dove

Accessing IMAP from Python with Encrypted Password

2024-06-08 Thread adam--- via dovecot
Hello again Dovecoters! I have a need to access an IMAP mailbox via a Python script to parse and stored DMARC reports in a SQL database. Right now, I have it working however I am storing the password in plaintext in my database which obviously is not secure. How would you approach this scenario? Wo

Lots of "Corrupted dbox file" errors in log

2024-06-10 Thread simon--- via dovecot
Hi, I'm leaving this here for others who may see the same issue and are equally perplexed as I was: Dovecot version 2.3.16 w/ sdbox mailbox format. Yesterday, I noticed that I did not see any new mail in Thunderbird. But for whatever reason, new mail did show up on my phone with K9 mail. So, ne

RE: "Read the 'bug reports page' …" -> 404

2024-06-11 Thread aki.tuomi via dovecot
Thanks for letting us know. We'll fix this soon, use https://dovecot.org/bugreport-mail Aki Original message From: "H. Thiele via dovecot" Date: 6/12/24 06:49 (GMT+00:00) To: dovecot@dovecot.org Subject: "Read the 'bug reports page' …"

Dovecot community repositories

2024-06-12 Thread MK via dovecot
Hello, just a short question to the dovecot people, maybe Aki or someone else can answer this. Will there be an update to the Dovecot community repositories in the near future? The repositories are lagging behind the current distributions. Just as an example: Debian 12 has been released in 06/

Re: Dovecot community repositories

2024-06-12 Thread dovecot--- via dovecot
Just in case you did not know, dovecot has it's own repo you can add to your system to get newest updates. https://repo.dovecot.org/ For example with RHEL flavors: /etc/yum.repos.d/dovecot.repo [dovecot-2.3-latest] name=Dovecot 2.3 RHEL $releasever - $basearch baseurl=http://repo.dovecot.

AW: [ext] Re: Dovecot community repositories

2024-06-13 Thread MK via dovecot
it is maintained. Oliver -Ursprüngliche Nachricht- Von: Ralf Hildebrandt via dovecot Gesendet: Mittwoch, 12. Juni 2024 14:27 An: dovecot@dovecot.org Betreff: Re: [ext] Re: Dovecot community repositories * Jeff Peng via dovecot : > > > I am using ubuntu 22.04, it can hav

AW: [EXT] Re: Dovecot community repositories

2024-06-13 Thread MK via dovecot
-Ursprüngliche Nachricht- Von: Michael Slusarz Gesendet: Mittwoch, 12. Juni 2024 14:57 An: MK ; MK via dovecot Betreff: [EXT] Re: Dovecot community repositories > On 06/12/2024 5:37 AM MDT MK via dovecot wrote: > > just a short question to the dovecot people, maybe Aki or someone

sieve issue

2024-06-19 Thread savaw82275--- via dovecot
Hi! Having a sieve rule: require ["fileinto", "editheader", "variables", "envelope"]; ​# rule:[med] if allof (address :contains "to" "i...@mysite.com", header :contains "subject" "invoice") { deleteheader "from"; addheader "from" "i...@mysite.com"; redirect "fi...@mysite.com

Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Nils via dovecot
Lots of the emails I send aren't stored in the sent folder. It seems that it mostly (but not always) work for sent emails where the main email-address (the one that is also used as login name) is used as sender. It never seems to work when an alias is used as sender name. There isn't any entry

RE: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Marc via dovecot
> > Lots of the emails I send aren't stored in the sent folder. It seems > that it mostly (but not always) work for sent emails where the main > email-address (the one that is also used as login name) is used as > sender. It never seems to work when an alias is used as sender name. > > I didn't

Re: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Nils via dovecot
On 6/20/24 22:47, Marc wrote: using outlook? I also had this, and when I searched for this, I found lots of people have had this and it is a known issue since many years. (They recommend creating new profile) Thank you very much for your fast response, Marc. I use Thunderbird (currently 115

RE: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Marc via dovecot
> > I definitely don't know if it's a dovecot issue, but I thinks it's a good > place to start looking, since dovecot is managing the mailboxes. Can I > increase the verbosity in a way that saving an email into a folder would > be logged? Maybe reindex the mailbox and see if the messages turn up?

Re: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Nils via dovecot
On 6/20/24 23:00, Marc wrote: Maybe reindex the mailbox and see if the messages turn up? Yes, thanks for the good idea. Not sure if I did it right: doveadm force-resync -u em...@server.tld Sent It didn't show an error,  but the emails didn't appear. I've already searched for the email files o

Re: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Nils via dovecot
On 6/20/24 23:15, Christopher Wensink via dovecot wrote: If you using Thunderbird I would try repairing the folder, (under properties) or compact folders.  That fixes a lot of issues for us. The only other thought I had was maybe the UID of your use for the sent folder was different from the

Re: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Nils via dovecot
On 6/20/24 22:40, Nils via dovecot wrote: Lots of the emails I send aren't stored in the sent folder. It seems that it mostly (but not always) work for sent emails where the main email-address (the one that is also used as login name) is used as sender. It never seems to work when an ali

Re: Only some of my sent emails are stored in sent-folder

2024-06-20 Thread Alex via dovecot
On Thu, Jun 20, 2024 at 10:56:48PM +0200, Nils via dovecot wrote: > On 6/20/24 22:47, Marc wrote: > > using outlook? > > > > I also had this, and when I searched for this, I found lots of people have > > had this and it is a known issue since many years. (They recommen

Re: Only some of my sent emails are stored in sent-folder

2024-06-21 Thread Nils via dovecot
Thanks a lot for your input Joseph. On 6/21/24 01:42, Joseph Tam via dovecot wrote: Sounds to me like some mail reader filtering rule. Ordinarily, dovecot does not handle the capture of outgoing mail, Most of the time, it's the mail reader (MUA) that files outgoing messages to a sent

Re: Only some of my sent emails are stored in sent-folder

2024-06-21 Thread Nils via dovecot
Thank you very much for your reply. On 6/21/24 07:21, Alex via dovecot wrote: For Thunderbird I suggest going to "Copies & Folders" of the account and replacing "Place a copy in" with "Bcc these email addresses" option. Then if you want outgoing mails to be

Re: Only some of my sent emails are stored in sent-folder

2024-06-21 Thread Nils via dovecot
On 6/20/24 22:40, Nils via dovecot wrote: Lots of the emails I send aren't stored in the sent folder. It seems that it mostly (but not always) work for sent emails where the main email-address (the one that is also used as login name) is used as sender. It never seems to work when an ali

Re: Only some of my sent emails are stored in sent-folder

2024-06-21 Thread Nils via dovecot
On 6/21/24 14:46, Aki Tuomi wrote: You need to enable the plugin mail_plugins = $mail_plugins notify mail_log Aki Thank you very much, that helped a lot. It seems that thunderbird isn't even trying to save those mails. Test 1 From = em...@server.tld Jun 21 12:56:05 SERVER postfix/submission

Re: Only some of my sent emails are stored in sent-folder

2024-06-21 Thread Nils via dovecot
On 6/21/24 15:43, Daniel Lange via dovecot wrote: Hi Nils, Am 21.06.24 um 15:09 schrieb Nils via dovecot: Looks like there is no IMAP access at all for the second mail. [German UI Thunderbird] Menu Bearbeiten -> Konten-Einstellungen -> [choose your main identity] -> Weitere Id

logging computer name

2024-06-25 Thread hp--- via dovecot
I am running Dovecot 2.3.21. One client has multiple computers in their LAN, connecting to my server with a static IP. One or several computers in that LAN keep logging in with failed password, but the Dovecot log only shows the public static IP, like this Jun 25 10:39:20 server-name dovecot[68

Re: Timeout when opening folder

2024-06-25 Thread infoomatic via dovecot
, Robert On 24.06.24 23:52, Entrepreneur AJ via dovecot wrote: Hi all, I'm stuck with an issue. Migrating everything to a k0s kubernetes cluster, trying to migrate dovecot and all so far seems to be well with PVC for mail storage, ssl working great, authentication vis PostgreSQL working great.

Re: Debian Bookworm packages, please !

2024-06-26 Thread Michael via dovecot
On Tuesday, June 25, 2024 5:08:15 PM CEST, Aki Tuomi via dovecot wrote: We can already see that the Debian/RedHat patched 2.3 which is offered is broken because there is more than just "making it compile" with things like OpenSSL3, and yes, I can appreciate that it's not fully b

Re: Debian Bookworm packages, please !

2024-06-26 Thread Peter via dovecot
On 27/06/24 06: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 dovecot hums along nicely. i've not seen a _crash_ in _many_ moons (quick looking thru ~ 18m

IMAPSieve plugin will not run rspamd script

2024-06-29 Thread postfix_dovecot--- via dovecot
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 VMware Workstation to learn and test the installation steps. W

AW: IMAPSieve plugin will not run rspamd script

2024-06-30 Thread postfix_dovecot--- via dovecot
Tried it now in every known combination. Nothing changes. It's my 7th evening about this and I'm starting to despair :( -Ursprüngliche Nachricht- Von: John Fawcett via dovecot Gesendet: Samstag, 29. Juni 2024 11:50 An: dovecot@dovecot.org Betreff: Re: IMAPSieve plugin wi

AW: [EXT] Re: Debian Bookworm packages, please !

2024-07-01 Thread MK via dovecot
. Greetings, Oliver -Ursprüngliche Nachricht- Von: Bernardo Reino via dovecot Gesendet: Donnerstag, 27. Juni 2024 13:18 An: Peter via dovecot Betreff: [EXT] Re: Debian Bookworm packages, please ! On Thu, 27 Jun 2024, Peter via dovecot wrote: > On 27/06/24 06:48, pgnd via dove

AW: IMAPSieve plugin will not run rspamd script

2024-07-01 Thread postfix_dovecot--- via dovecot
r=(none) imap(info@demo.example)<1503>: Debug: imapsieve: mailbox INBOX: FLAG event (changed flags: \Seen) Regards Jens -Ursprüngliche Nachricht- Von: Christian Kivalo via dovecot Gesendet: Sonntag, 30. Juni 2024 22:07 An: dovecot@dovecot.org Betreff: Re: IMAPSieve plugin will not

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

2024-07-01 Thread postfix_dovecot--- via dovecot
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 scripts are little different. I spend the time to raise a Debian 10 wi

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

2024-07-02 Thread postfix_dovecot--- via dovecot
Hi John! You are of course absolutely right - wild experimentation is rarely a good approach. But you are surely familiar with the situation when you have done everything logical and then, in your desperation, you start to change things that you would not otherwise change ;) I've actually gott

Re: IMAPSieve plugin will not run rspamd script

2024-07-02 Thread ge--- via dovecot
> imap(mail@test.example)<1797>: Debug: sieve: include: > sieve_global is not set; it is currently not possible to include `:global' > scripts. i am running dovecot 2.3.21 on ubuntu 24.04. while i was casting about trying to get the spam learning sieve going (it nows works beautifully), i took

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

2024-07-02 Thread postfix_dovecot--- via dovecot
Gotcha It looks like you nailed it John! (Log and config attached) The log looks now very different and my log entry is also shown. Now I can continue working at this point. Adjusting the events i.e. The reason was actually simple - but I spent a few evenings searching and was bl

IMAP login-logout cycle performance with performance mode seems slow/limited and cause cannot be found

2024-07-02 Thread m--- via dovecot
Hello, I am running a test setup in a docker stack with Dovecot (2.3.21). Basically as a test to see whats possible. The whole thing works okay, but I noticed that with imaptest (latest version) somewhere between 230 and 270 requests per second on a login+logout cycle it cannot go further. How

Re: IMAP login-logout cycle performance with performance mode seems slow/limited and cause cannot be found

2024-07-02 Thread m--- via dovecot
For further testing and because I could not figure the limitation, I just duplicated the dovecot nodes multiple times and loadbalanced over them with primitive roundrobin TCP. With every increase of instances I could load the system more and got almost linear scaling until about 16 instances w

Re: IMAP login-logout cycle performance with performance mode seems slow/limited and cause cannot be found

2024-07-03 Thread m--- via dovecot
Thank you for the swift answer. Thats what I tried without success. service imap-login { process_limit = 15000 process_min_avail = 48 service_count = 0 vsz_limit = 2 G } But I also now tried to set both userdb and passdb to static, to rule out any caching internals. Performance stood in

Re: IMAP login-logout cycle performance with performance mode seems slow/limited and cause cannot be found

2024-07-03 Thread m--- via dovecot
That one truly fixed it, it yields 4500-5000 cycles per second now and the latency is superb. In my understanding from the docs this means that before there was only a single process, doing a single service to the imap-login and then exiting, thus limiting the login process where now we have at

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

2024-07-03 Thread postfix_dovecot--- via dovecot
---Ursprüngliche Nachricht- Von: John Fawcett via dovecot Gesendet: Dienstag, 2. Juli 2024 16:21 An: dovecot@dovecot.org Betreff: Re: AW: AW: AW: AW: AW: IMAPSieve plugin will not run rspamd script (Resending because of size limit exceeded on previous post) Hi Jens that looks much better, tho

AW: IMAPSieve plugin will not run rspamd script

2024-07-03 Thread postfix_dovecot--- via dovecot
support! Jens -Ursprüngliche Nachricht- Von: John Fawcett via dovecot Gesendet: Mittwoch, 3. Juli 2024 22:25 An: dovecot@dovecot.org Betreff: Re: AW: AW: AW: AW: AW: AW: IMAPSieve plugin will not run rspamd script On 03/07/2024 20:53, postfix_dovecot--- via dovecot wrote: > Hi J

Doveadm on director

2024-07-04 Thread g.carabella--- via dovecot
https://doc.dovecot.org/admin_manual/doveadm_mailbox_commands/ As indicated in the documentation above, in case of configuration with the director, the doveadm commands must be executed from the director itself. However, if I try to run the command "doveadm -D mailbox list -u u...@example.com" t

Re: dovecot replication problem

2024-07-04 Thread James via dovecot
Hi, I am experiencing similar error messages when setting passdb to mechanisms = plain login. More details can be found at https://github.com/orgs/docker-mailserver/discussions/3836. I hope this information helps. Regards, James On 5/07/2024 02:32, Oliver Krone via dovecot wrote: Hi

AD authentication with dovecot not working.

2024-07-10 Thread hkhk_exact10 via dovecot
Hi All, I am trying to setup AD auth with dovecot and have tried a lot of options but still no success. I am using a bind account for AD authentication and the users are not posix accounts. I am not using the ssl cert as its not available, so disabling it. I have used the similar settings with sa

RE: AD authentication with dovecot not working.

2024-07-11 Thread Marc via dovecot
Maybe easier to make these users linux users/posix accounts and then authenticate against linux. With nslcd and sssd you also have some caching you can benefit from. I am not even sure if this is related to dovecot or your postfix. > > I am trying to setup AD auth with dovecot and have tried

Failed to connect to dns-client: Resource temporarily unavailable

2024-07-15 Thread m--- via dovecot
When using DNS names for backends in a proxied setup, the async dns_client process after a short time of high load (burst scenario) seems to get overwhelmed: auth: Debug: conn unix:dns-client: dns(backend.local): Lookup failed after 0 msecs: Failed to connect to dns-client: Resource temporarily

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

2024-07-15 Thread yoh2010--- via dovecot
Mariusz Piasecki, hello. I have a similar problem after migrating from Debian 10 (Dovecot 2.3.4) to Debian 12 (Dovecot 2.3.19). Have you found a way to solve the problem? Best regards, Evgeniy Rusachenko ___ dovecot mailing list -- dovecot@dovecot.org

Re: Invalid/Unmapped Key with Last Login Plugin

2024-07-17 Thread dovecot--- via dovecot
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 lmtp(184051):Error: last_login_dict: Failed to write val

Re: AD authentication with dovecot not working.

2024-07-18 Thread hkhk_exact10 via dovecot
Hi All, Can anyone help me with this? Regards, Sandeep On Thu, Jul 11, 2024 at 11:34 AM hkhk_exact10 wrote: > Hi All, > > I am trying to setup AD auth with dovecot and have tried a lot of options > but still no success. > > I am using a bind account for AD authentication and the users are not

sieve mail date change

2024-07-22 Thread Marc via dovecot
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 the source altering a date. What could be causi

RE: sieve mail date change

2024-07-24 Thread Marc via dovecot
> > 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 the source altering a date. > > > > What c

vacation is not using from in envelope

2024-07-26 Thread Marc via dovecot
How to get dovecot use the from in sieve in the envelope? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

RE: vacation is not using from in envelope

2024-07-26 Thread Marc via dovecot
> > How to get dovecot use the from in sieve in the envelope? > > obviously this is set: sieve_vacation_send_from_recipient = yes ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

RE: vacation is not using from in envelope

2024-07-26 Thread Marc via dovecot
> > > > > How to get dovecot use the from in sieve in the envelope? > > > > > > obviously this is set: > sieve_vacation_send_from_recipient = yes At first I thought maybe it was some spf/dmarc related setting. But this script is sending out the test message. I need the vacation to use/add the -

SQL Multiple passwords

2024-07-26 Thread Aubry via dovecot
Hi, From what I understood from the archive and from my tests, we cannot have multiple passwords for a given account. (I get the error: Password query returned multiple matches)  But it looks like it can be done via a PAM module.  Does anyone succeeded setup multiple password with PAM or any other

RE: vacation is not using from in envelope

2024-07-26 Thread Marc via dovecot
> > > > > > > > > How to get dovecot use the from in sieve in the envelope? > > > > > > > > > > obviously this is set: > > sieve_vacation_send_from_recipient = yes > > At first I thought maybe it was some spf/dmarc related setting. But this > script is sending out the test message. I need the vac

RE: lmtp Fatal: setresgid Operation not permitted

2024-07-28 Thread Marc via dovecot
> > 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" > > mailbox_user is uid 111, gid 121 on

username_filter settings in passdb

2024-08-01 Thread zaxwat93--- via dovecot
got a problem when configured passdb with username_filter — looks like the option doesn't work OS: FreeBSD 13 and 14. Dovecot version: 2.3.21 Part of config: passdb { args = /usr/local/bin/php /usr/local/dovecot/bin/checkpassword.php driver = checkpassword } passdb { args = /usr/local/bin/ph

Re: username_filter settings in passdb

2024-08-01 Thread zaxwat93--- via dovecot
added names: passdb allusers { ... } passdb postmasterfilter { ... username_filter = us...@postmaster.local.one ... } passdb user2filter { username_filter = us...@user2.local.one ,,, } try "doveadm auth test us...@user2.local.one" and got logs: Aug 1 16:08:02 auth: Debug: auth

Re: username_filter settings in passdb

2024-08-02 Thread zaxwat93--- via dovecot
I also tried to add filter to passdb allusers: passdb allusers { ... username_filter = !us...@user2.local.one !us...@postmaster.local.one ... } passdb postmasterfilter { ... username_filter = us...@postmaster.local.one ... } passdb user2filter { username_filter = us...@user2.local.

Event Export (auth_request_finished)

2024-08-04 Thread Serhii via dovecot
I am trying to implement logging of all failed authentication attempts to catch bruteforce automatically. Currently, I have the following configuration: event_exporter log { format = json format_args = time-rfc3339 transport = log } metric auth_fail { filter = event=auth_request_finish

Re: username_filter settings in passdb

2024-08-05 Thread zaxwat93--- via dovecot
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 to dovecot-le...@dovecot.org

Re: username_filter settings in passdb

2024-08-05 Thread zaxwat93--- via dovecot
Thank you, I will wait for the release ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: username_filter settings in passdb

2024-08-06 Thread zaxwat93--- via dovecot
Wow, it really works. Thank you so much. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

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

2024-08-07 Thread Peter via dovecot
On 7/08/24 07: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

Re: SQL Multiple passwords

2024-08-08 Thread leoniemeeyr--- via dovecot
Hello @Aubry You are correct that multiple passwords for a single account can be tricky with standard setups, as you have encountered the multiple matches error; Using a PAM module could be a solution as it might allow for handling multiple passwords more flexibly. __

Re: Event Export (auth_request_finished)

2024-08-10 Thread Serhii via dovecot
On 8/4/24 13:25, John Fawcett via dovecot wrote: 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

Contents of folder symlinked not showing up

2024-08-10 Thread Curt.Blank--- via dovecot
I have the directory structure below. I was using uw-imap with Thunderbird. Due to cert issues with Thunderbird which have yet to be resolved at the moment I am using dovecot (2.3-6.11) with Apple's MacOS Mail app. dovecot server is running openSuSE Tumbleweed. With uw-imap & Thunderbird the di

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

2024-08-12 Thread skraw--- via dovecot
And what was the proposed solution to this? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

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

2024-08-12 Thread skraw--- via dovecot
I see it happening with dovecot 2.1.17 in a setup that is complex to update. So I am interested in the cause and possible solutions to bring them into this old setup. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to doveco

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

2024-08-12 Thread skraw--- via dovecot
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 solution. And future readers of the thread may be interest

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

2024-08-12 Thread skraw--- via dovecot
Thank you John for that hint, it looks promising. I will try to check that out and report back. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

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

2024-08-12 Thread leoniemeeyr--- via dovecot
Hi @Kurt I think For machines without IPv4, the behavior might be similar but for IPv6 addresses. Dovecot generally tries to bind to all specified addresses & if an address is not available or not configured correctly it can cause issue;. I have a few suggestions to handle this you can check Co

Re: SQL Multiple passwords

2024-08-13 Thread leoniemeeyr--- via dovecot
Hello @Aubry according to me you can potentially configure custom modules to handle multiple passwords but this requires some advanced setup and scripting. You can consider this Custom PAM Modules Alternate Authentication Methods Consult Documentation and Forums __

Re: SQL Multiple passwords

2024-08-13 Thread Peter via dovecot
On 28/07/24 00:49, Jaco Kroon via dovecot wrote:  From what I understood from the archive and from my tests, we cannot have multiple passwords for a given account. (I get the error: Password query returned multiple matches) But it looks like it can be done via a PAM module. Does anyone succeeded

RE: Dovecot v2.3.21.1 released

2024-08-14 Thread Marc via dovecot
> > we are releasing a CVE patch release 2.3.21.1. > > https://dovecot.org/releases/2.3/dovecot-2.3.21.1.tar.gz > https://dovecot.org/releases/2.3/dovecot-2.3.21.1.tar.gz.sig > Binary packages in https://repo.dovecot.org/ > Docker images in https://hub.docker.com/r/dovecot/dovecot I know about t

RE: CVE-2024-23184: Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive

2024-08-14 Thread Marc via dovecot
> > Vulnerability Details: > Having a large number of address headers (From, To, Cc, Bcc, etc.) > becomes excessively CPU intensive. With 100k header lines CPU usage is > already 12 seconds, and in a production environment we observed 500k > header lines taking 18 minutes to parse. Since this can

Re: vacation is not using from in envelope

2024-08-15 Thread leoniemeeyr--- via dovecot
According to me for get dovecot use the from in sieve in the envelope you can do this First Check Sieve Capabilities you can Use the envelope Test Configuration in Dovecot After configuring, test the setup by sending emails and observing whether they are processed correctly according to your Sie

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

2024-08-16 Thread skraw--- via dovecot
Ok, it seems the version I am having here is older than the cited patch allows. It is likely pigeonhole-0.4.21 from 2017 where the lib-smtp does not exist at all. So I am a bit stuck ... ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe sen

2.3.21(.1) build error on aarch64 (using slackware ARM -current)

2024-08-17 Thread shawn.kubik--- via dovecot
I've spent the last week trying to rebuild Dovecot on my Raspberry Pi 3 (aarch64; running Slackware ARM -current) and am running into the following build error. I suspected it may be my recent update to Slackware but I've been able to build the same source tarball on an x86 system running slack

Re: SQL Multiple passwords

2024-08-21 Thread Aubry via dovecot
Thank you for your answer. I tried it and it works that way.  Cheers Aubry On Wed, 2024-08-14 at 18:08 +1200, Peter via dovecot wrote: > On 28/07/24 00:49, Jaco Kroon via dovecot wrote: > > > >  From what I understood from the archive and from my tests, we > > > > c

2.3.21.1 and oauth

2024-08-21 Thread v--- via dovecot
Hello! I'm using dovecot with keycloak for oauth authentication. My config is: client_id = dovecot client_secret = MY_SECRET introspection_url = https://MY_KEYCLOAK/realms/master/protocol/openid-connect/token/introspect introspection_mode = post pass_attrs = pass=%{oauth2:access_token} Everyt

Seeking Suggestions for Optimizing Dovecot Performance

2024-08-21 Thread leoniemeeyr--- via dovecot
Hi everyone, I hope you’re all doing well! I’ve been working with Dovecot for a while now and I’m looking to optimize its performance on my server. I’d love to hear any tips or suggestions you might have to help me get the best performance out of it. Specifically, I’m interested in: 1. Config

limits to auth of submission

2024-08-21 Thread horizon--- via dovecot
Hello I am using a plaintext db as the auth db. The db content is like this line: u...@mail.com:{CRYPT}$::userdb_quota_rule=*:bytes=1G How can I limit some people can auth with postfix submission (port 587), and some others can't? Thank you. __

Re: 2.3.21(.1) build error on aarch64 (using slackware ARM -current)

2024-08-21 Thread shawn.kubik--- via dovecot
So, it turns out the problem is likely due to my hardware being old and unreliable. Upon encountering the same error message, I simply ran 'make' again to make it continue, and usually after a short period it was able to continue going, until it happened again. I just continued doing this until

Re: maintainer-feedback requested: [Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

2024-08-30 Thread dco2024--- via dovecot
This is not limited to FreeBSD. I'm seeing it on Gentoo Linux. Kernel is 6.6.47-gentoo-x86_64, dovecot 2.3.21.1 (d492236fa0). The warning is logged once every 12-15 hours. Syslog: 2024-08-24 18:03:49 UTC myhost dovecot: master: Warning: Time moved forwards by 0.100068 seconds - adjusting timeo

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

2024-08-31 Thread ljakku77--- via dovecot
Hi, I got same problem! # 2.3.21 (47349e2482): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21 (f6cd4b8e) # OS: Linux 6.8.0-41-generic x86_64 Ubuntu 24.04.1 LTS auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_username_format = %Ln auth_verbose = yes auth_verbo

RE: What are all the /var/spool/smtpd/offline/1689525601.XXXXlJ85yQ

2024-08-31 Thread Marc via dovecot
start to worry when it is quattuordecillions > > I just filled up my whole /var with zillions of files > /var/spool/smtpd/offline , dating back to 2018. What are these files > and is it safe for me to delete the ones more than a week old? > ___ dov

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

2024-08-31 Thread ljakku77--- via dovecot
ok, so I can ignore it.. but I don't receive mails for some reason.. Here's my postfix config.. alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 inet_interfaces = all inet_protocols = ipv4 mailbox_size_limit = 0 mailbox_t

Re: Dovecot authentication hangs when ldap_start_tls_s() fails for invalid certificate

2024-09-04 Thread sebastiano.degan--- via dovecot
Hi! I've tried again ad at this moment the only way to avoid this issue is to add "tls_require_cert = allow" to either passdb or userdb config. It still hangs otherwise. Now I'm running on debian 12 and dovecot 2.3.19.1 (9b53102964). ___ dovecot mailing

Can I delete duplicate messages under Maildir on the server?

2024-09-05 Thread MI via dovecot
After a client misconfiguration, many messages have been deleted. I restored them from backups, but now there are many duplicates. I can identify them on the server, and delete them. But do I need to also delete the dovecot.index files and/or other dovecot* files in the affected folders, or wi

<    4   5   6   7   8   9   10   11   12   13   >