Andreas Metzler wrote: > I kind of doubt that it is feasible writing an init-script that works > for all MTAs. Take a look at the init-scripts for sendmail and exim4. I think the key element is that the ?dm init-scripts check whether or not they are the default and base the decision if they start anything or not on that. Assuming that the daemons all provide /usr/sbin/sendmail, one could use the alternative for /usr/bin/sendmail to check. Cheers T.
Attachment:
pgpZsG2JUbQpD.pgp
Description: PGP signature