I think you've done it!
Adding
Code:
After = spamassassin.service spamass-milter.service
to /lib/systemd/system/sendmail.service
still generated the same errors in /var/log/messages after a reboot but spamassassin works without having to be restarted!
I am still seeing the following in the messages log:
Code:
systemd[1]: PID file /var/run/akmodsd.pid not readable (yet?) after start.
systemd[1]: Unit akmods.service entered failed state.
systemd[1]: PID file /run/nmbd.pid not readable (yet?) after start.
systemd[1]: PID file /run/smbd.pid not readable (yet?) after start.
systemd[1]: PID file /var/run/httpd/httpd.pid not readable (yet?) after start.
despite the fact that all these processes (except akmods) run without issue.
I can live with the extra log entries and the akmods failure I can deal with later.
Thank you!