Thanks Mihai,
When you suggest adding mail_uid=5000 do you mean to dovecot.conf or 10-mail?
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: Mihai Badici mihai@badici.ro Sent: Thursday, May 4, 2023 8:27 AM To: Michele Clark Michele.Clark@us.kbr.com; dovecot@dovecot.org dovecot@dovecot.org Subject: Re: [External] Re: Help - Permissions issue with new mail
[You don't often get email from mihai@badici.ro. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Sorry, I sent the reply directly to you not to the list. I try to find which is the uid expected by dovecot. Usually since in postfix the uid is set as 5000 you need to have the same "virtual" uid set in dovecot. I didn't see this in the fail you sent. Maybe you made some change in the past without restarting dovecot. Anyway i think a line like mail_uid=5000 somewhere in dovecot configuration ( location may differ )should fix your issue. Try to find if this is already set and if not add this in dovecot and restart it.
On 2023-05-04 15:16, Michele Clark wrote:
Attached is a copy of my main.cf from postfix and my 10-mail from dovecot
Let me know if you see anything that I might try - Thanks in advance
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: Mihai Badici mihai@badici.ro Sent: Wednesday, May 3, 2023 3:44 PM To: Michele Clark Michele.Clark@us.kbr.com Subject: Re: [External] Re: Help - Permissions issue with new mail
You don't often get email from mihai@badici.ro. Learn why this is important [1]
CAUTION: This email originated from outside of the organization. Do Re: [External] Re: Help - Permissions issue with new mail Contact photo From Michele Clark on 2023-05-04 15:16 Details Headers Plain text Download all attachmentsSave all to cloud...
10-mail.conf.jpg.docx(~761 KB)
MAIN.CF.JPG(~161 KB)
Attached is a copy of my main.cf from postfix and my 10-mail from dovecot
Let me know if you see anything that I might try - Thanks in advance
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: Mihai Badici mihai@badici.ro Sent: Wednesday, May 3, 2023 3:44 PM To: Michele Clark Michele.Clark@us.kbr.com Subject: Re: [External] Re: Help - Permissions issue with new mail
You don't often get email from mihai@badici.ro. Learn why this is important
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I think the problem isn't the rights of the files but dovecot need to use the same user for read them.
I have something like: mail_uid = 5000 in 10-mail.conf, this uid need to be the same as in postfix
On 5/3/23 21:42, Michele Clark via dovecot wrote:
1: This was previously working but has been down since there was an unexpected power outage. This install has been in place for several years 2: When I chmod -r the CUR folder I can get mail to drop to our roundcube inbox or if I chmod the actual email file in the cur folder (have tried not click links or open attachments unless you recognize the sender and know the content is safe.
I think the problem isn't the rights of the files but dovecot need to use the same user for read them.
I have something like: mail_uid = 5000 in 10-mail.conf, this uid need to be the same as in postfix
On 5/3/23 21:42, Michele Clark via dovecot wrote:
1: This was previously working but has been down since there was an unexpected power outage. This install has been in place for several years 2: When I chmod -r the CUR folder I can get mail to drop to our roundcube inbox or if I chmod the actual email file in the cur folder (have tried both) however new messages still come thru with -rw------- 3. Attached is a copy of the return from comm -23 <(postconf -n) <(postconf -d) with the exception of a few redactions for our personal data 4. What info would you like to see from dovecot?
Any help is much app
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: John Stoffel john@stoffel.org Sent: Wednesday, May 3, 2023 2:14 PM To: Michele Clark michele.clark@us.kbr.com Cc: dovecot@dovecot.org dovecot@dovecot.org Subject: [External] Re: Help - Permissions issue with new mail
[You don't often get email from john@stoffel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification [1] ]
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> "michele" == michele clark--- via dovecot dovecot@dovecot.org writes:
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.
Was this working before the AD problems, or is this a new install?
I can log into our Roundcube and see all my old emails, however new emails keep getting stuck in the CUR files with permissions of -rw-------
If I chmod the email it will deliver to the inbox in Roundcube.
Where are you changing the permissions? The destination directory?
Can anyone advise on how I can adjust this so all new emails will come thru with the correct permissions? - Thanks in advance
It all depends on how your email are delivered, and you need to post some of your configuration details, such as the postfix config and the dovecot config.
For postfix, just post the changed from defaults info, which you can get with the following bash sheel command:
comm -23 <(postconf -n) <(postconf -d)
See the postconf man page for details.
Also post your dovecot info as well.
This e-mail, including any attached files, may contain confidential information, privileged information and/or trade secrets for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org This e-mail, including any attached files, may contain confidential information, privileged information and/or trade secrets for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
Links:
[1] https://aka.ms/LearnAboutSenderIdentification This e-mail, including any attached files, may contain confidential information, privileged information and/or trade secrets for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.