HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Getting closer to a mail/fax gateway



Patrice Fournier wrote:
Quoting Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>:

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
You do mean to put these in sendmail.mc? And tabs before the $1 in the 2nd line and user in the 3rd line?

Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 1003: Inappropriate use of $0-$9 on LHS
554 5.0.0 /etc/mail/sendmail.cf: line 1003: Inappropriate use of $: on LHS
554 5.0.0 /etc/mail/sendmail.cf: line 1003: Inappropriate use of $0-$9 on LHS


nope?



____________________ 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*




Project hosted by iFAX Solutions