I don't know if anyone cares, but here's how I managed to use XMail with
Hylafax for mail notification (I don't use fax delivery). The main problem
is that the sendmail utility in XMail 0.71 doesn't understand the "-t"
option which forces sendmail (the "real" one) to get the recipient address
from the "To" field in the actual message's header instead of from the
command line.

1) In /var/spool/fax/bin/notify, modify the last line adding the following
as the last parameter to sendmail:
`cat $QFILE | $AWK --field-separator=: '$1 == "mailaddr" { print $2 }'`

2) In /var/spool/fax/bin/wedged, find the point where sendmail is called and
add your faxmaster's address as the last parameter to sendmail. This is
quite goofy, anyway it works.

Bye,

Marco

e-mail: [EMAIL PROTECTED] | [EMAIL PROTECTED]
www: http://www.marcotrecate.com
icq: 38102210


Reply via email to