HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: MailToFax Gateway
At 08:59 23/07/99 +1000, Andrew Barnes <a.barnes@christo.kaldor.com.au> wrote:
>G'day,
>[snip]
>These are the lines I added into my sendmail.cf file for Hylafax:
>[snip]
>
I think you have been very careful and/or very lucky to manually edit
the sendmail.cf and end up with something that works. The recommended
approach is to add the line 'MAILER(fax)' to your m4 macro file and
regenerate the sendmail.cf. For sendmail versions from 8.8.7 you then
do not need the mailfax script. Please search the mailing list archives
with 'MAILER(fax)' for more info.
>HOWEVER!!!... if I use this convention when I send an email to
>"barnesa@264.FAX", and then use "faxstat -s", the queue tells me that user
>264 is sending a fax to fax number "barnesa"...[snip]
Try a mailfax script something like this :-
#!/bin/sh
#
# mailfax - email to fax gateway for sendmail
#
# This file should be installed as /usr/local/lib/fax/mailfax
#
/usr/local/bin/faxmail -v -n -p 11 \
-Ml=0.75in,t=2.00in -d "$1@$2" "$3" 2>>/var/log/faxlog
# -M left and top margins
# -v verbose output ( faxlog needs mode 666 permissions )
# -n no cover page
# -p point size of text font
# -d direct delivery in the form: test@123456.FAX pkw@elgro.co.uk
#
Hope this helps,
Phil Watkinson,
Boston, UK.