Hylafax Mailing List Archives

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

Re: [hylafax-users] email to fax gateway with sendmail doesnt work



Hello,

"John Stolz" <linux@gabo.de> writes:

> hi,
> 
>  
> 
> hylafax works well. sending from winnt client with whfc works fine BUT,,
> 
>  
> 
> want to send fax via email. i followed the instructions in the
> /faxmail/mailfax.sh-sendmail.
> 
> suse 6.1, hylafax v4.0pl2
> 
>  
> 
> 1. first made a directory on /usr/local/lib named fax and copied the file
> mailfax.sh-sendmail to /usr/local/lib/fax
> 
> 2.. i renamed it to mailfax
> 
> 3. edited sendmail.cf
> 
> 4. put the line on mailer definition > Mfax, P=/usr/local/lib/fax/mailfax, F=
> DFMShu, M=100000, A=mailfax $u $h $f
> 
> 5. put the line on the rewriting ruleset 0 : R$+<@$+.FAX>     $#fax $@ $2 $:
> $1    user@host.FAX
> 
> 6. put the line CPFAX
> 
> 7. change the line of mailfax from default /usr/local/bin/faxmail -n -d "$1"
> "$2" to /usr/bin/faxmail -n -d "$1" "$2"
> 
>  
> 
> ok that was it.
> 
>  
> 
> then i send an email: mail -v root@123456.FAX
> 
> and this error comes: root@123456.FAX .... Host unknown (name server
> 123456.fax: host not found)
> 
>  
> 
> Could you give me an advice how to solve this problem??


Did you restart sendmail ? 
Are the clients allowed to relay ?

I tried this shell-script on SuSE-5.3 and it didn't work either.  I
therefore just used the faxmail binary and altered the file
/etc/mail/linux.mc as described yesterday, that is:
define(`FAX_MAILER_PATH',`/usr/bin/faxmail')
define(`FAX_MAILER_ARGS',`faxmail -d -n $u@$h $f')
MAILER(`fax')
 ran m4 on this file, and that was ist. 

That worked fine for me on SuSE, 5.3, 6.1 and now 6.3

Regards
Dieter

-- 
Dieter Kluenter
mailto: dkluenter@gmx.de
http: http://www.l4b.de


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services