/var/log/dovecot is: mail:mail drwxr-x---
ls -alh /var/log/dovecot
total 2.8M drwxr-x--- 2 mail mail 4.0K Dec 6 14:15 . drwxr-xr-x 10 root root 4.0K Dec 7 05:56 .. -rw------- 1 mail mail 206 Dec 6 14:16 deliver-error.log -rw------- 1 mail mail 0 Dec 6 14:15 deliver.log -rw------- 1 mail mail 2.7M Dec 6 12:43 error.log -rw------- 1 mail mail 61K Dec 6 14:24 info.log
On Sun, Dec 7, 2025 at 3:54 AM Edmund Lodewijks <edmund@proteamail.com> wrote:
Some thoughts, as I’m on the road:
Who owns the /var/log/dovecot directory?
Does that particular log file exist?
That particular log file is written during ‘lda’, therefore, I believe, as the user for whom the Mail is (system user or virtual mail user).
Kind regards,
EdmundOn 07 Dec 2025, at 09:40, Odhiambo Washington via dovecot < dovecot@dovecot.org> wrote:
On Sat, Dec 6, 2025 at 11:32PM Christopher Curzio via dovecot <[1]dovecot@dovecot.org> wrote:
Hello everyone. I'm in the process of migrating my mail server to Debian running exim4 and dovecot. I was previously using exim4 and dovecot on Slackwareand I moved the configs over, however I can't get dovecot working with exim on the new system. These configs worked fine previously. I did have to make some minor changes, but overall everything is mostly the same as it was. dovecot config: [1][2]https://pastebin.com/Hrhj6xeb exim config: [2][3]https://pastebin.com/bAQ9mTJb No matter what I do, I'm getting this when mail is received: dovecot_delivery transport output: Can't open log file /var/log/dovecot/deliver-error.log: Permi ssion denied I've tried everything, even going as far as setting permissions on /var/log/dovecot to a+rwx recursive (solely as a test) but I still get the same message. Help getting this working would be greatly appreciated since I've exhausted my own knowledge trying to wrench it into submission. Thanks.
Who owns the /var/log/dovecot directory? Can you try this: chown -R mail: /var/log/dovecot ?
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-) [How to ask smart questions: [4]http://www.catb.org/~esr/faqs/smart-questions.html]
References
Visible links
- mailto:dovecot@dovecot.org
- https://pastebin.com/Hrhj6xeb
- https://pastebin.com/bAQ9mTJb
- http://www.catb.org/~esr/faqs/smart-questions.html
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
/var/log/dovecot is: mail:mail drwxr-x---
ls -alh /var/log/dovecot
total 2.8M drwxr-x--- 2 mail mail 4.0K Dec 6 14:15 . drwxr-xr-x 10 root root 4.0K Dec 7 05:56 .. -rw------- 1 mail mail 206 Dec 6 14:16 deliver-error.log -rw------- 1 mail mail 0 Dec 6 14:15 deliver.log -rw------- 1 mail mail 2.7M Dec 6 12:43 error.log -rw------- 1 mail mail 61K Dec 6 14:24 info.log On Sun, Dec 7, 2025 at 3:54AM Edmund Lodewijks <[1]edmund@proteamail.com> wrote:
Some thoughts, as I'm on the road:
Who owns the /var/log/dovecot directory?
Does that particular log file exist?
That particular log file is written during `lda', therefore, I believe,
as the user for whom the Mail is (system user or virtual mail user).
Kind regards,
Edmund
> On 07 Dec 2025, at 09:40, Odhiambo Washington via dovecot
<[2]dovecot@dovecot.org> wrote:
>
> On Sat, Dec 6, 2025 at 11:32PM Christopher Curzio via dovecot
> <[1][3]dovecot@dovecot.org> wrote:
>
> Hello everyone.
> I'm in the process of migrating my mail server to Debian
running
> exim4 and
> dovecot. I was previously using exim4 and dovecot on Slackware
and I
> moved
> the configs over, however I can't get dovecot working with exim
on
> the new
> system.
> These configs worked fine previously. I did have to make some
minor
> changes, but overall everything is mostly the same as it was.
> dovecot config: [1][2][4]https://pastebin.com/Hrhj6xeb
> exim config: [2][3][5]https://pastebin.com/bAQ9mTJb
> No matter what I do, I'm getting this when mail is received:
> dovecot_delivery transport output: Can't open log file
> /var/log/dovecot/deliver-error.log: Permi
> ssion denied
> I've tried everything, even going as far as setting permissions
on
> /var/log/dovecot to a+rwx recursive (solely as a test) but I
still
> get the
> same message.
> Help getting this working would be greatly appreciated since
I've
> exhausted my own knowledge trying to wrench it into submission.
> Thanks.
>
> Who owns the /var/log/dovecot directory?
> Can you try this: chown -R mail: /var/log/dovecot ?
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> In an Internet failure case, the #1 suspect is a constant: DNS.
> "Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-)
> [How to ask smart
> questions: [4][6]http://www.catb.org/~esr/faqs/smart-questions.html]
>
> References
>
> Visible links
> 1. mailto:[7]dovecot@dovecot.org
> 2. [8]https://pastebin.com/Hrhj6xeb
> 3. [9]https://pastebin.com/bAQ9mTJb
> 4. [10]http://www.catb.org/~esr/faqs/smart-questions.html
> _______________________________________________
> dovecot mailing list -- [11]dovecot@dovecot.org
> To unsubscribe send an email to [12]dovecot-leave@dovecot.org
References
Visible links
- mailto:edmund@proteamail.com
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- https://pastebin.com/Hrhj6xeb
- https://pastebin.com/bAQ9mTJb
- http://www.catb.org/~esr/faqs/smart-questions.html
- mailto:dovecot@dovecot.org
- https://pastebin.com/Hrhj6xeb
- https://pastebin.com/bAQ9mTJb
- http://www.catb.org/~esr/faqs/smart-questions.html
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org