![]() |
Quoting Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>:You do mean to put these in sendmail.mc? And tabs before the $1 in the 2nd line and user in the 3rd line?
Mail is now going to faxmail, but the parameters are wrong....
/etc/mail/Mailertable is:
.fax.foo.com fax:
The sendmail.mc entries:
define(`FAX_MAILER_PATH',`/usr/bin/faxmail')dnl define(`FAX_MAILER_ARGS',`faxmail -d -n -p 12pt $u@$h $f')dnl MAILER(`fax')dnl
Removing the mailertable entry and adding the following lines after the MAILER(`fax')dnl line should do the trick:
LOCAL_RULE_0
R$+<@$+.fax.foo.com.> $1<@$2.FAX.>
R$+ < @ $+ .FAX. > $#fax $@ $2 $: $1 user@xxxxxxxx
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*