I forgot to say, the FHS mandates /usr/sbin/sendmail so IMHO it's fine to hardcode that path, or make it a configurable variable.
Ian. -- Ian Campbell Make sure your code does nothing gracefully.
signature.asc
Description: This is a digitally signed message part