Mutual auth and MS Outlook

2019-05-15 Thread dovecot--- via dovecot
I am trying to get Dovecot IMAP and Outlook to talk to each other with SSL and client certificates enabled. In Dovecot, I have the following options enabled: ssl_ca = ... ssl_verify_client_cert = yes auth_ssl_require_client_cert = yes auth_ssl_username_from_cert = yes when I try to conne

Mailing list changes.

2023-04-12 Thread dovecot--- via dovecot
I noticed starting today the Sender: header is no longer included on the mailing list. I used to use the Sender: header in sieve rules for sorting. Now the list emails only come From: rando email addresses. On the postfix mailing list it replaces the From: header with the list address instead of

Re: Mailing list changes.

2023-04-12 Thread dovecot--- via dovecot
I noticed starting today the Sender: header is no longer included on the mailing list. I used to use the Sender: header in sieve rules for sorting. Now the list emails only come From: rando email addresses. On the postfix mailing list it replaces the From: header with the list address instead of

Re: dovecot sasl with postfix, smtp auth not available

2023-04-23 Thread dovecot--- via dovecot
On 04-22-2023 11:15 pm, Badli Al Rashid wrote: I have set up dovecot sasl with postfix. When I check the smtp with ehlo there is no auth advertise. There shouldn't be on port 25. Users should do email submission on port 587 or 465. But if you really want there to be... http://www.postfix.org

Re: dovecot sasl with postfix, smtp auth not available

2023-04-23 Thread dovecot--- via dovecot
I tried to enable it on postfix smtp_sasl_auth_enable, but it is was not advertise. That is because "smtp" is not the same as "smtpd". http://www.postfix.org/postconf.5.html#smtpd_sasl_auth_enable ___ dovecot mailing list -- dovecot@dovecot.org T

Re: Help - Permissions issue with new mail

2023-05-03 Thread dovecot--- via dovecot
On 05-03-2023 1:52 pm, michele.clark--- via dovecot wrote: Hi all. We have an install of Dovecot running with Postfix and Roundcube using virtual mail to allow us to connect to our AD domain which got messed up after a power issue. I can log into our Roundcube and see all my old emails, howeve

Re: Best practice for Dovecot with LDAP and Postfix

2023-05-09 Thread dovecot--- via dovecot
The question about best practices was more a conceptual one. Should dovecot and postfix talk independently to the LDAP database? Or should dovecot be the gateway for postfix to get the information out of the LDAP database? Just my 2 cents, id have postfix talk directly to LDAP to see if a use

Re: Outlook fails to connect to Dovecot submission server

2023-05-17 Thread dovecot--- via dovecot
Dovecot ... submission server works well with all sorts of clients, but Outlook. I thought that was M$ intent. They purposefully design their ecosystem to not play well with others so the average person will think something is wrong with the competitor's software, give up and just continue to

Re: dovecot with sieve vacation plugin

2023-06-09 Thread dovecot--- via dovecot
postfix (*) presents the right "rcpt to a...@aaa.com" to the milter filter, but sieve only sees the internal b@bbb.local. Why convert/alias a...@aaa.com to b@bbb.local? Why not setup dovecot to have a mailbox and receive mail for a...@aaa.com, allowing sieve to run for a...@aaa.com, and users l

Re: dovecot with sieve vacation plugin

2023-06-10 Thread dovecot--- via dovecot
Why convert/alias a...@aaa.com to b@bbb.local? Why not setup dovecot to have a mailbox and receive mail for a...@aaa.com, allowing sieve to run for a...@aaa.com, and users login as a...@aaa.com on IMAP to check their mail? That would work if users only had one alias, but they don't - they have s

Re: dovecot with sieve vacation plugin

2023-06-11 Thread dovecot--- via dovecot
1) "sieve_user_email = %u" creates a warning: "Warning: sieve: Invalid address value for setting `sieve_user_email': Missing domain" That warning is a glitch, ignore it. I mentioned it on the list before but has not been fixed in any of the updates. What I am currently trying to figure out

Re: [pfx] Postfix: running a script on authentication failure

2023-06-22 Thread dovecot--- via dovecot
Is there any way, with postfix, to run a script on authentication failure, with information like the IP address and the username passed, for instance. I wrote my own script for omprog which is part of rsyslog to read dovecot auth fails. Because postfix authenticates with dovecot and dovecot w

Re: Stop Logging to Syslog

2023-08-25 Thread dovecot--- via dovecot
My logging config is as follows: # doveadm log find Debug: /var/log/dovecot-debug.log Info: /var/log/dovecot.log Warning: /var/log/dovecot.log Error: /var/log/dovecot.log Fatal: /var/log/dovecot.log However, I'm still getting logs in /var/log/messages which I don't want.  I've looked into /etc/

Re: Roundcube

2023-09-07 Thread dovecot--- via dovecot
Any known issues with installing/running roundcube and dovecot on the same server? There is a generic issue with doing this. That is if you have roundcube (or any other web mail interface) on the same server as dovecot, a breach of the web interface could be quite serious and allow access to

Dovecot OIDC question

2023-09-23 Thread dovecot--- via dovecot
Exploring the possible use of SSO using OIDC with Dovecot. Trying to understand the functionality of OIDC as it pertains to e-mail clients like Thunderbird, Outlook etc... My OIDC provider will authenticate a user by intercepting the connection attempt to the resource, present a login screen an

Re: Can Dovecot Use Wildcard TLS Certificates?

2023-09-27 Thread dovecot--- via dovecot
Quick Q: Can dovecot use wildcard TLS Certificates? I'm having issues with a new dovecot/postfix stack set-up and I can't get mutt on the local box to connect via imap - its coming back with an SSL error, and as I'm using a wildcard cert for the domain I was wondering if that was my issue. If

Re: post-login scripting

2024-01-17 Thread dovecot--- via dovecot
I'm trying to determine the last login time for my IMAP users. There is already a built in plugin that does this without needing to use scripting. You can use it to save a timestamp to a database. https://doc.dovecot.org/settings/plugin/last-login-plugin/ https://doc.dovecot.org/config

Re: post-login scripting

2024-01-18 Thread dovecot--- via dovecot
I also wanted to ask if it's possible to add the local server name so I can use one database for all systems? I suppose there's a chance there could be issues with namespace conflicts, but this would make it much easier for me. Not sure how you are tracking your users, in my setup each user is

Enforcing quotas on shared mailboxes

2024-02-07 Thread dovecot--- via dovecot
I have configured a shared private namespace in dovecot so that, via ACLs, users can access other users' mailboxes. I set up a quota for each user and this also works well. The quota is monitored and new messages are denied if the quota is exceeded. There is one problem though: apparently dovec

Re: shared storage with local indexes?

2024-02-14 Thread dovecot--- via dovecot
It seems like Maildir is the safest mailbox format for shared storage, but even with Maildir there are warnings about the possibility of corrupting the index files. Would it make sense to use shared storage for the maildirs themselves, but use the INDEX option in mail_location to store index file

Re: antispoofing with dovecot submission

2024-03-14 Thread dovecot--- via dovecot
it is possible to do antispoofing, like reject_authenticated_sender_login_mismatch from postfix ? I could be wrong, but i believe dovecot submission is only a proxy to postfix submission. Dovecot does not directly delivery mail to the world. Meaning the mail is still passing through postfix a

Re: DMARC setting change

2024-04-05 Thread dovecot--- via dovecot
We've changed the list dmarc mitigation to happen unconditionally now. What does "mitigation to happen unconditionally" mean? What was changed? Are you talking about changing the policy action? ___ dovecot mailing list -- dovecot@dovecot.org To unsubs

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.

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: IMAP quota reporting free disk space

2024-11-05 Thread dovecot--- via dovecot
Is it possible to make IMAP quota commands report free filesystem space? I don't want to set quota limits to individual users, but it would be nice to have an information on the bottom of Thunderbird window about free disk space (it could be percentage of the total disk size). The quota is a s

Re: IMAP quota reporting free disk space

2024-11-05 Thread dovecot--- via dovecot
Anyway I have trouble with quota reporting itself, because I tried to setup a regular quota (100G) first, but somehow Thunderbird doesn't report free quota as it does in case of Gmail accounts. I added to 20-imap.conf: protocol imap { mail_plugins = $mail_plugins quota imap_quota

lda_original_recipient_header for LMTP?

2024-11-12 Thread dovecot--- via dovecot
How to get the X-Original-To: header added for LMTP? I tried adding: lda_original_recipient_header = X-Original-To But that didn't add the header for mail over LMTP. I couldn't find anything else in the docs. ___ dovecot mailing list -- dovecot@dov

Re: IMAP quota reporting free disk space

2024-11-06 Thread dovecot--- via dovecot
Gmail advertises QUOTA as an CAPABILITY upon connection before login. Dovecot advertises QUOTA as an CAPABILITY only after login. GPT believes this is why Tbird doesn't show the quota on the status bar, because it's looking for the quota before login and not after. Does anyone know if its possi

Re: IMAP quota reporting free disk space

2024-11-06 Thread dovecot--- via dovecot
Try moving the quota outside of the protocol block.   mail_plugins = quota ...   protocol imap {     mail_plugins = $mail_plugins imap_quota     ...   } Try adding a text label for the client to use.   plugin {     quota = maildir:Quota Limit     ...   } There is a progress, but not complete.

Re: Problem email client iPhone ios18.2

2025-01-07 Thread dovecot--- via dovecot
I think there are/were multiple issues, which confuses diagnosis. As a workaround I had disabled imap-IDLE on my (Dovecot) mail server and my iOS 18.2 iPhone was able to get mail, but was still hanging at times. After updating to iOS 18.2.1, I re-enabled imap-IDLE and mail seems to be working n

R: Preventing message deletion

2025-02-06 Thread dovecot--- via dovecot
> Da: Aki Tuomi > Inviato: giovedì 6 febbraio 2025 11:49 > A: dove...@iotti.biz; dovecot--- via dovecot > Oggetto: Re: Preventing message deletion > > > > On 06/02/2025 12:39 EET dovecot--- via dovecot > wrote: > > > > > > Hi all > > > &

Preventing message deletion

2025-02-06 Thread dovecot--- via dovecot
Hi all How may I disable message deletions via IMAP for some or all of my users? I read on the net that a possible solution would be to use the ACL IMAP plugin. But the examples I found were not so clear to me. We do not use shared mailboxes or namespaces. Only simple virtual users, each with it's

Re: Error: Couldn't open INBOX: Permission denied

2024-12-15 Thread dovecot--- via dovecot
> In general, I find a setup using virtual users a lot easier to manage: I thought it looked harder to setup virtual users (I had read about them). I have found that the trivial answer has been to change the permissions on /var/spool/mail directory (only mail user and group had access - my user n

Re: Error: Couldn't open INBOX: Permission denied

2024-12-14 Thread dovecot--- via dovecot
So the debugging confirms I am authenticated properly and looks to be opening the folder I expected: Dec 14 12:10:32 Backup dovecot[1139994]: pop3(peter)<1144790><>: Debug: fs: root=/home/peter/mail, index=, indexpvt=, control=, inbox=/var/spool/mail/peter, alt= Dec 14 12:10:32 Backup dovecot[11

Error: Couldn't open INBOX: Permission denied

2024-12-13 Thread dovecot--- via dovecot
I'm trying to get Dovecot working on Rocky 9.5. In 10-mail.conf I have: mail_privileged_group = mail mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u In /var/spool: drwxr-x---. 3 mail mail 64 Dec 13 16:29 mail In /var/spool/mail: -rw-rw. 1 peter mail 500 Dec 13 16:29 peter When I t

Re: Error: Couldn't open INBOX: Permission denied

2024-12-13 Thread dovecot--- via dovecot
The / is not missing (not sure how it's disappeared for you as I can actually see it in my original post - I thought I'd somehow accidentally deleted it). %n didn't make any difference. My reason for wanting to get this going is not to deliver e-mail over the internet but to use it to monitor int

Re: autoexpunge

2025-02-18 Thread dovecot--- via dovecot
I have the following in 15-mailboxes.config: mailbox Trash { special_use = \Trash autoexpunge = 30 days } I thought that would empty the deleted emails after 30 days. However, I find that in .Deleted Messages/cur there are over 18K messages dating back to the 90's. What do I need

R: R: Preventing message deletion

2025-02-19 Thread dovecot--- via dovecot
> -Messaggio originale- > Da: Aki Tuomi > Inviato: giovedì 6 febbraio 2025 13:34 > A: dove...@iotti.biz; dovecot--- via dovecot > Oggetto: Re: R: Preventing message deletion > > > > On 06/02/2025 13:16 EET dovecot--- via dovecot > wrote: > > &g

Re: autoexpunge

2025-02-19 Thread dovecot--- via dovecot
See https://doc.dovecot.org/2.4.0/core/config/namespaces.html#mailbox_autoexpunge And while it says "expunge", it really means delete and expunge. Aki Autoexpunge says you should add 'date.save' to 'mail_always_cache_fields'. However 'mail_cache_fields' says: "The default list of fields that

Re: ARM support

2024-01-14 Thread peter+dovecot--- via dovecot
I would be fantastic if dovecot could release arm64 debian packages to the community repo, as it would allow fixing a lot of downstream problems: - release of official arm64 docker images - fix other downstream docker images like docker mailserver and mailcow It looks like arm64 is gaining a lot

Re: ARM support

2024-01-14 Thread peter+dovecot--- via dovecot
Thanks for your reply. I'm now very confused. Looking at https://github.com/dovecot/docker/blob/main/2.3.21/Dockerfile this container clearly just installs the debian package from the community repo. That's why I thought publishing a arm64 debian package would enable a arm64 docker image.

Panic with FTS_BACKEND_FLAG_TOKENIZED_INPUT and virtual mailboxes: file index-search-result.c: line 132

2024-08-17 Thread markus-dovecot--- via dovecot
Originally posted and debugged here: https://github.com/slusarz/dovecot-fts-flatcurve/issues/66 I have to following panic with fts flatcurve enabled: ``` Panic: file index-search-result.c: line 132 (index_search_result_update_flags): assertion failed: (result->search_args->args == &search_arg)

Re: Panic with FTS_BACKEND_FLAG_TOKENIZED_INPUT and virtual mailboxes: file index-search-result.c: line 132

2024-08-17 Thread markus-dovecot--- via dovecot
Just to be complete here is a second backtrace with a similar error (if it needs to be fixed at multiple places): ``` Panic: file index-search-result.c: line 174 (index_search_result_update_appends): assertion failed: (result->search_args->args == &search_arg) Error: Raw backtrace: /usr/lib/dov

Re: Frequency Control for IMAP connection

2024-09-05 Thread Wesley via dovecot via dovecot
On 2024-08-16 08:26, Joseph Tam via dovecot wrote: > > Is this a MacOSX client? No, that client is using the programming method to access us. But he should use imap IDLE function rather than a crazy loop. > You might have to resort to firewall or other general network controls > to actually