Re: [External] Re: Help - Permissions issue with new mail
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:
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.
I think is not important ( dovecot.conf include the folder conf.d) but for clarity 10-mail should be better.
On 2023-05-04 15:37, Michele Clark wrote:
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
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
On 5/3/23 21:42, Michele Clark via dovecot wrote: 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.
mail_uid was already in 10-mail and we set with vmail (the account that was 5000) but by name not number.
I changed it to the number and cycled services but still getting the issue shown in the attachments
If I manual change the permissions it will come to the mail box but otherwise it just sits in cur
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:39 AM To: Michele Clark Michele.Clark@us.kbr.com Cc: dovecot@dovecot.org dovecot@dovecot.org Subject: Re: [External] Re: Help - Permissions issue with new mail
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 is not important ( dovecot.conf include the folder conf.d) but for clarity 10-mail should be better.
On 2023-05-04 15:37, Michele Clark wrote:
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
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
On 5/3/23 21:42, Michele Clark via dovecot wrote: 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. 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.
Anyone have any ideas? We're still having the issue where new messages are not setting with correct promissiongs?
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: Michele Clark via dovecot dovecot@dovecot.org Sent: Thursday, May 4, 2023 8:45 AM To: Mihai Badici mihai@badici.ro Cc: dovecot@dovecot.org dovecot@dovecot.org Subject: Re: [External] Re: Help - Permissions issue with new mail
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. mail_uid was already in 10-mail and we set with vmail (the account that was 5000) but by name not number.
I changed it to the number and cycled services but still getting the issue shown in the attachments
If I manual change the permissions it will come to the mail box but otherwise it just sits in cur
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:39 AM To: Michele Clark Michele.Clark@us.kbr.com Cc: dovecot@dovecot.org dovecot@dovecot.org Subject: Re: [External] Re: Help - Permissions issue with new mail
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 is not important ( dovecot.conf include the folder conf.d) but for clarity 10-mail should be better.
On 2023-05-04 15:37, Michele Clark wrote:
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
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
On 5/3/23 21:42, Michele Clark via dovecot wrote: 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. 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. 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.
On 10. May 2023, at 15.17, Michele Clark via dovecot dovecot@dovecot.org wrote:
Anyone have any ideas? We're still having the issue where new messages are not setting with correct promissiongs?
Actually the permissions are correct. In virtual user setup only virtual user should be able to read of write the files.
You have some other issue likely an issue with userdb {} returning userid or wrong userid.
Sami
On 5/10/23 15:35, Sami Ketola wrote:
On 10. May 2023, at 15.17, Michele Clark via dovecot dovecot@dovecot.org wrote:
Anyone have any ideas? We're still having the issue where new messages are not setting with correct promissiongs?
Actually the permissions are correct. In virtual user setup only virtual user should be able to read of write the files.
You have some other issue likely an issue with userdb {} returning userid or wrong userid.
Sami
It's unclear what "drop to INBOX" actually means. "cur" is the default folder for mails (unless you have some sieve rules or other post delivery filter) so the mails are where are supposed to be found.
Maybe the dovecot log can be useful
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
I tried to copy my "old" mailbox to see how postfix regenerated it when I logged in and this is what I got - Does it look right?
Michele Clark Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
From: Mihai Badici mihai@badici.ro Sent: Wednesday, May 10, 2023 8:41 AM To: dovecot@dovecot.org dovecot@dovecot.org Subject: Re: [External] Help - Permissions issue with new mail
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.
On 5/10/23 15:35, Sami Ketola wrote:
On 10. May 2023, at 15.17, Michele Clark via dovecot dovecot@dovecot.orgmailto:dovecot@dovecot.org wrote:
Anyone have any ideas? We're still having the issue where new messages are not setting with correct promissiongs?
Actually the permissions are correct. In virtual user setup only virtual user should be able to read of write the files.
You have some other issue likely an issue with userdb {} returning userid or wrong userid.
Sami
It's unclear what "drop to INBOX" actually means. "cur" is the default folder for mails (unless you have some sieve rules or other post delivery filter) so the mails are where are supposed to be found.
Maybe the dovecot log can be useful
dovecot mailing list -- dovecot@dovecot.orgmailto:dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.orgmailto: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.
Well, so you have in postfix: virtual_uid_maps = static:5000 but the mailbox has another uid.
Could be overwritten somewhere, maybe in ad_virtual_mailbox.maps.cf ?
It is the same uid for all mails ?
Also I suspect the mails are delivered to the local delivery agent in dovecot . In the conf you sent the uid is vmail but can be overwritten somewhere and it can be basically in any config file ...
On 5/10/23 15:56, Michele Clark wrote:
I tried to copy my "old" mailbox to see how postfix regenerated it when I logged in and this is what I got - Does it look right?
*Michele Clark* Title | Engineering Business Unit KBR | Government Solutions – US Office: +1 937-713-8669
*From:* Mihai Badici mihai@badici.ro *Sent:* Wednesday, May 10, 2023 8:41 AM *To:* dovecot@dovecot.org dovecot@dovecot.org *Subject:* Re: [External] Help - Permissions issue with new mail 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.
On 5/10/23 15:35, Sami Ketola wrote:
On 10. May 2023, at 15.17, Michele Clark via dovecot dovecot@dovecot.org mailto:dovecot@dovecot.org wrote:
Anyone have any ideas? We're still having the issue where new messages are not setting with correct promissiongs?
Actually the permissions are correct. In virtual user setup only virtual user should be able to read of write the files.
You have some other issue likely an issue with userdb {} returning userid or wrong userid.
Sami
It's unclear what "drop to INBOX" actually means. "cur" is the default folder for mails (unless you have some sieve rules or other post delivery filter) so the mails are where are supposed to be found.
Maybe the dovecot log can be useful
dovecot mailing list --dovecot@dovecot.org mailto:dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org mailto: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.
I tried to copy my "old" mailbox to see how postfix regenerated it when I logged in and this is what I got - Does it look right?
I think you can judge better if it is right. Did you configured it like this? Having everything stored on the disk with same userid/groupid would be the least desirable.
What about finding a good manual to setup dovecot and start from scratch?
participants (4)
-
Marc
-
Michele Clark
-
Mihai Badici
-
Sami Ketola