[Unit] Description=Sendmail Mail Transport Client After=syslog.target network.target sendmail.service Wants=sendmail.service [Service] Type=forking PIDFile=/run/sm-client.pid EnvironmentFile=-/etc/sysconfig/sendmail ExecStartPre=/bin/touch /run/sm-client.pid ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid ExecStartPre=-/sbin/restorecon /run/sm-client.pid ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $QUEUE $SENDMAIL_OPTARG [Install] WantedBy=multi-user.target