HylaFAX The world's most advanced open source fax server

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

Please Help



Phil, for us DUMMIES, what are the file names?  I have no *.mc file on
RH 5.1 Sendmail 8.8.7-17.
You say mailfax.sh-sendmail is out of date.  I do not use that file?
If you have the time. could you be a little more detail?  Just what to
put where.

Thanks

Ted-
PS I got this from the FAQ page on vix.com



Q. Where to find mailfax.sh for sendmail?

A. Date: Tue, 29 Oct 1996 13:18:21 +0000
     From: Phil Watkinson <pkw@elgro.co.uk>
     Subject: Re: WHere to find mailfax.sh.sendmail

     At 22:43 28/10/96 -0300, Xavier Merino wrote:
     >
     >I read in online documentation about setting sendmail to work with

     >hylafax.
     >
     >I do not know where to find it, can someone help me with this,
     >

     Well, I found that the mailfax.sh.sendmail is now out of date.

     This is my mailfax script ( all of one day old ) which is working
     under test conditions on a Linux 1.2.13 box with Sendmail 8.8.0 :

     ----------------------------cut
here--------------------------------
     #! /bin/sh
     #
     #  mailfax - email to fax gateway for sendmail
     #
     #  This file should be installed as /usr/local/lib/fax/mailfax
     #  (the default path in the sendmail.cf file).
     #
     #  Edit your sendmail configuration to include MAILER(fax). This
adds:
     #
     #  Mfax,        P=/usr/local/lib/fax/mailfax, F=DFMhu, S=14, R=24,
     #               M=100000, T=X-Phone/X-FAX/X-Unix,
     #               A=mailfax $u $h $f
     #
     #  and the following address rewriting rule to rule set 0:
     #
     #  # resolve fake top level domains by forwarding to other hosts
     #  R$+< @ $+ .FAX. >            $#fax $@ $2 $: $1
user@host.FAX
     #
     #  Things to note re faxmail options
     #
     #  -v       verbose output ( faxlog needs mode 666 permissions )
     #  -n       no cover page
     #  -s a4    set a4 page size
     #  -d       direct delivery in the form: test@123456.FAX
pkw@elgro.co.uk
     #
     #
     /usr/local/bin/faxmail -v -n -s a4 -d "$1@$2" "$3"
2>/var/log/faxlog

     ---------------------------cut here--------------------------------

     As you see, for Sendmail versions 8.7 and 8.8 all you have to do is
add
     a MAILER(fax) line to the .mc configuration file and the macro will
do
     the rest. I'm not sure if this is how version 8.6 behaves.

     All the mailfax script does is to call the Hylafax program
'faxmail'.

     Please note that the $u (user) argument passed to mailfax is
important;
     without it sendFAX will hang.

     Good Luck!

     Cheers,
     Phil Watkinson,
     Boston, UK.




Project hosted by iFAX Solutions