Section 3 : Running a Server

Q305: How do I change HylaFAX to use mailx instead of sendmail?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
How do I change HylaFAX to use mailx instead of sendmail?

I would like to request that the scripts that are hardcoded to use sendmail be made configurable. For example:

util/notify.sh: change last line from : ) | 2>&1 $SENDMAIL -t -ffax -oi ^^^^^ to : MAIL_CMD=mailx ) | 2>&1 $MAIL_CMD
A.
These won't do the same thing. The -t option to sendmail tells it to extract the address(es) from the header. If you use /bin/mail or mailx you'll have to put the address on the command line yourself.

To switch over to mailx you'll need to make more extensive modifications. If you get things all working, please send the appropriate patches so they can be shared with others.


 Back to FAQ Index FAQ Index  Next question in List Q306: No trace logging under Dell SVR4?
faq@hylafax.org. Last updated $Date: 2000/01/06 00:22:03 $.