Postfix Fails After Reboot

Home » CentOS » Postfix Fails After Reboot
CentOS 1 Comment

I am running CentOS 7 as an outbound gateway using Postfix, OpenDKIM, and SASLAuthd.  The trouble is Postfix fails if OpenDKIM and SASLAuthd aren’t already running and I have to manually restart these services in order.  My question is, should I modify my After line in the “[Unit]” section of my postfix.service file to read “After=syslog.target network.target opendkim.service saslauthd.service” or is there a better way to accomplish this?


Chad Cordero Information Technology Consultant

Enterprise & Cloud Services

Information Technology Services

California State University, San Bernardino
5500 University Pkwy San Bernardino, CA 92407-2393
Main Line: 909/537-7677

Direct Line: 909/537-7281

Fax: 909/537-7141

http://support.csusb.edu/

Disclaimer: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

One thought on - Postfix Fails After Reboot

  • Use “systemctl edit postfix.service” to create a new drop-in snippet, and make that change there.

LEAVE A COMMENT