• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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