Q68: 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.


Note: Some of the hyperlinks (e.g. for the man pages) can only work, if the HylaFAX software and the full documentation are installed on your system.

Matthias Apitz / guru@softcon.de ; (07:34:58 AM 01/27/97)