I recently noticed that no mail was arriving. Mail lost shows dovecot failing to deliver messages.
This issue is mentioned in update#11
"On Ubuntu 16.04 x64 servers with Dovecot installed, mail could not be delivered if apparmor was enabled on the server. (PPP-26959)"
Server is fully up to date but this issue appears to still be present.
Plesk Version
systemctl restart dovecot
aa-status
Things I have tried thus far that have not fixed the issue.
plesk repair mail
plesk repair install
change to courier and back to dovecot.
revert to backup from 12/10 and reinstall all missing updates
I understand that Plesk 17 supports apparmor and that it is required for docker.
Any other recommendations would be helpful.
This issue is mentioned in update#11
"On Ubuntu 16.04 x64 servers with Dovecot installed, mail could not be delivered if apparmor was enabled on the server. (PPP-26959)"
Server is fully up to date but this issue appears to still be present.
Plesk Version
Code:
Product version: Plesk Onyx 17.0.17 Update #11
Update date: 2016/12/16 11:17
Build date: 2016/11/17 16:00
OS version: Ubuntu 16.04
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2
systemctl restart dovecot
Code:
Dec 16 13:15:03 plesk systemd[1]: Stopped Dovecot IMAP/POP3 email server.
Dec 16 13:15:03 plesk systemd[1]: Starting Dovecot IMAP/POP3 email server...
Dec 16 13:15:04 plesk kernel: [ 7966.716984] audit: type=1400 audit(1481922904.005:268): apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/dovecot" name="run/systemd/journal/dev-log" pid=18742 comm="dovecot" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
Dec 16 13:15:04 plesk systemd[1]: dovecot.service: PID file /var/run/dovecot/master.pid not readable (yet?) after start: No such file or directory
Dec 16 13:15:04 plesk kernel: [ 7966.722493] audit: type=1400 audit(1481922904.009:269): apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/dovecot" name="run/systemd/journal/dev-log" pid=18746 comm="dovecot" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
Dec 16 13:15:04 plesk systemd[1]: Started Dovecot IMAP/POP3 email server.
Dec 16 13:15:04 plesk kernel: [ 7966.781501] audit: type=1400 audit(1481922904.069:270): apparmor="ALLOWED" operation="file_inherit" profile="/usr/lib/dovecot/anvil" pid=18747 comm="anvil" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none peer="/usr/sbin/dovecot"
Dec 16 13:15:04 plesk kernel: [ 7966.781523] audit: type=1400 audit(1481922904.069:271): apparmor="ALLOWED" operation="file_inherit" profile="/usr/sbin/dovecot" pid=18747 comm="anvil" family="unix" sock_type="stream" protocol=0 requested_mask="send receive" denied_mask="send receive" addr=none peer_addr=none peer="/usr/lib/dovecot/anvil"
Dec 16 13:15:04 plesk kernel: [ 7966.786721] audit: type=1400 audit(1481922904.073:272): apparmor="ALLOWED" operation="sendmsg" info="Failed name lookup - disconnected path" error=-13 profile="/usr/lib/dovecot/log" name="run/systemd/journal/dev-log" pid=18748 comm="log" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
aa-status
Code:
apparmor module is loaded.
56 profiles are loaded.
19 profiles are in enforce mode.
/sbin/dhclient
/usr/bin/lxc-start
/usr/lib/NetworkManager/nm-dhcp-client.action
/usr/lib/NetworkManager/nm-dhcp-helper
/usr/lib/chromium-browser/chromium-browser//browser_java
/usr/lib/chromium-browser/chromium-browser//browser_openjdk
/usr/lib/chromium-browser/chromium-browser//sanitized_helper
/usr/lib/connman/scripts/dhclient-script
/usr/lib/lxd/lxd-bridge-proxy
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/usr/sbin/mysqld
/usr/sbin/named
/usr/sbin/tcpdump
docker-default
lxc-container-default
lxc-container-default-cgns
lxc-container-default-with-mounting
lxc-container-default-with-nesting
37 profiles are in complain mode.
/usr/lib/chromium-browser/chromium-browser
/usr/lib/chromium-browser/chromium-browser//chromium_browser_sandbox
/usr/lib/chromium-browser/chromium-browser//lsb_release
/usr/lib/chromium-browser/chromium-browser//xdgsettings
/usr/lib/dovecot/anvil
/usr/lib/dovecot/auth
/usr/lib/dovecot/config
/usr/lib/dovecot/deliver
/usr/lib/dovecot/dict
/usr/lib/dovecot/dovecot-auth
/usr/lib/dovecot/dovecot-lda
/usr/lib/dovecot/dovecot-lda///usr/sbin/sendmail
/usr/lib/dovecot/imap
/usr/lib/dovecot/imap-login
/usr/lib/dovecot/lmtp
/usr/lib/dovecot/log
/usr/lib/dovecot/managesieve
/usr/lib/dovecot/managesieve-login
/usr/lib/dovecot/pop3
/usr/lib/dovecot/pop3-login
/usr/lib/dovecot/ssl-params
/usr/sbin/avahi-daemon
/usr/sbin/dnsmasq
/usr/sbin/dnsmasq//libvirt_leaseshelper
/usr/sbin/dovecot
/usr/sbin/identd
/usr/sbin/mdnsd
/usr/sbin/nmbd
/usr/sbin/nscd
/usr/sbin/smbd
/usr/sbin/smbldap-useradd
/usr/sbin/smbldap-useradd///etc/init.d/nscd
/usr/{sbin/traceroute,bin/traceroute.db}
/{usr/,}bin/ping
klogd
syslog-ng
syslogd
7 processes have profiles defined.
2 processes are in enforce mode.
/usr/sbin/mysqld (7612)
/usr/sbin/named (1344)
5 processes are in complain mode.
/usr/lib/dovecot/anvil (17902)
/usr/lib/dovecot/auth (18604)
/usr/lib/dovecot/log (17903)
/usr/lib/dovecot/ssl-params (18605)
/usr/sbin/dovecot (17901)
0 processes are unconfined but have a profile defined.
Things I have tried thus far that have not fixed the issue.
plesk repair mail
plesk repair install
change to courier and back to dovecot.
revert to backup from 12/10 and reinstall all missing updates
I understand that Plesk 17 supports apparmor and that it is required for docker.
Any other recommendations would be helpful.