• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue dovecot logging stopped

tkalfaoglu

Silver Pleskian
Server operating system version
AlmaLinux
Plesk version and microupdate number
Obsidian
Hi there. for some reason /var/log/maillog no longer contains any dovecot entries.

I believe rsyslog was used for this logging? Well, rsyslog is working, but still no logging..
I tried setting it to a file in dovecot.conf, that is, /var/log/maillog, but it complained about permission.
I didn't want to set this file to 777, so I thought I'd ask :)

Many thanks for any *pointers..
-turgut
 
btw,
# doveadm log find
Debug: /var/log/maillog
Info: /var/log/maillog
Warning: /var/log/maillog
Error: /var/log/maillog
Fatal: /var/log/maillog
 
On our Plesk servers, it's set to 640:

i.e.:
-rw-r----- 1 root root 513559 Nov 8 09:07 /var/log/maillog
 
On my personal CentOS 7 Plesk server I see:

# stat /var/log/messages
File: ‘/var/log/messages’
Size: 746656 Blocks: 1472 IO Block: 4096 regular file
Device: fc01h/64513d Inode: 12602887 Links: 1
Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
 
On my personal CentOS 7 Plesk server I see:

# stat /var/log/messages
File: ‘/var/log/messages’
Size: 746656 Blocks: 1472 IO Block: 4096 regular file
Device: fc01h/64513d Inode: 12602887 Links: 1
Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)

Hmm, I wonder why that is.

Some of our Plesk servers:

Centos 7:
# stat /var/log/maillog
File: ‘/var/log/maillog’
Size: 608006 Blocks: 1408 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 10675797 Links: 1
Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)

AlmaLinux 8.6
# stat /var/log/maillog
File: /var/log/maillog
Size: 1320842 Blocks: 2952 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 543820 Links: 1
Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:eek:bject_r:var_log_t:s0

AlmaLinux 8.6
# stat /var/log/maillog
File: /var/log/maillog
Size: 231044 Blocks: 456 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 539660 Links: 1
Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:eek:bject_r:var_log_t:s0

Plain AlamaLinux 8.6 server:
# stat /var/log/maillog
File: /var/log/maillog
Size: 110 Blocks: 8 IO Block: 4096 regular file
Device: fc02h/64514d Inode: 12677997 Links: 1
Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_ubject_r:var_log_t:s0
 
Hi there. for some reason /var/log/maillog no longer contains any dovecot entries.

I believe rsyslog was used for this logging? Well, rsyslog is working, but still no logging..
I tried setting it to a file in dovecot.conf, that is, /var/log/maillog, but it complained about permission.
I didn't want to set this file to 777, so I thought I'd ask :)

Many thanks for any *pointers..
-turgut

Just a few ideas that might help:

Have you tried to restart the rsyslog service?

Have you tried enabling the Dovecot debug mode?

 
Back
Top