HylaFAX The world's most advanced open source fax server

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

Re: Q: sendmail-> fax gateway problem



At 16:50 1997.05.07 -0300, you wrote:
>
>Hope this helps. It should work if you are writing the mail on the fax
>server without DNS being set up. The fax host is fax.dha.unon.org and the
>mailer definition calls dirk's faxmailer but could equally call a basic
>shell script.
>
>Ben
>
>
>
># These are the extracts from my sendmail.cf file relevant to faxing:
>
>##################
>#   local info   #
>##################
>
>Cwlocalhost fax.dha.unon.org 
>
>###   Ruleset 0 -- Parse Address   ###
>######################################
>
>S0
>
># Added by BP for Fax Gateway
>R$+ <@ FAX.DHA.UNON.ORG.>			$#fax2$@fax2$:$1  	user@host.FAX
>
>
>#####
>#####			MAILER DEFINITIONS
>#####
>######################################################################
>
># Fax mailer definition added by BP
>Mfax,		P=/usr/local/sbin/faxmailer, F=SmsDFMuL, S=16, R=26, E=\r\n, 
>		A=faxmailer $h $u
>
>
>On Wed, 7 May 1997, Peter Bolmehag wrote:
>

>> I get DNS error, sendmail tries to lookup the fax domain and it fails.
I'm going to register fax.mycompany.se in the DNS, but as I understand
sendmail will still try to lookup the phonenumber as a domain in the DNS.
How do I solve this?
>> 
>> 

I have running Hylafax on AIX-3.2.5 and I had probably same problem.
Sendmail recognize *.fax as a domain not as a mailer, below is my sendmail
configuration for fax mailer.
.
.
.
R$+ < @ $+ .FAX. >      $#fax $@ $2 $: $1               user@host.FAX
.
.
.
####################################
###   FAX Mailer specification   ###
####################################

#####  @(#)fax.m4       8.5 (Berkeley) 5/10/96  #####

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 mailfax script is:

#! /bin/sh
#
# mailfax - email to fax gateway for sendmail
#
# This file should be installed as /usr/local/lib/fax/mailfax
# (or whatever is specified in the sendmail.cf file).
#
/usr/local/bin/faxmail -d "$1" "$2"


Good luck!

Mario Misic
SYSADM
http://www.laus.hr/
~




Project hosted by iFAX Solutions