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] Problem with Mail-to-fax gateway



I use postfix, not sendmail, but the principals should be the same.  

I suggest using postfix if your not already locked into sendmail for
some other reason.

It's fairly simple, define a fax transport agent, which calls faxmail.
The transport agent tells the MTA what to do with the message ( or how
to send it on).
The arguments are
/usr/bin/faxmail -d -n ${user}
I believe the content of the message is piped to the above command.

Then have any mail going to @fax.mydomain.com use the fax transport
agent.  

To get notifications sent properly I also created a mapping for
@fax.mydomain.com to @mydomain.com so the notifications can get to the
proper user.  (notifications were being sent to user@xxxxxxxxxxxxxxxx
which doesn't exist)

If you're going to use postfix I can be more specific if you want.

Cheers,
Geoff



-----Original Message-----
From: Williams, Chris
[mailto:chris.williams@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, 19 May 2004 1:17 PM
To: Geoff Tait
Subject: RE: [hylafax-users] Problem with Mail-to-fax gateway


Hi Geoff,

If you could send me your config it would be much appreciated as that
way would be good for me.  I just cant seem to get the other one going.

Cheers

Chris

-----Original Message-----
From: Geoff Tait [mailto:GTait@xxxxxxxxxxxxx] 
Sent: Wednesday, 19 May 2004 12:50 PM
To: Williams, Chris
Subject: RE: [hylafax-users] Problem with Mail-to-fax gateway

Sorry, my setup's a little different - phonenumber@xxxxxxxxxxxxxxxx

Do you want to have the name automatically inserted into a cover sheet?

I guess it depends on what you need the mail to fax for, but I don't use
a cover sheet at all, simply put the intended recipient's name at the
top of my email and send it the fax number, just like I would when
sending a normal email


-----Original Message-----
From: Williams, Chris
[mailto:chris.williams@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, 19 May 2004 12:44 PM
To: Geoff Tait
Cc: hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] Problem with Mail-to-fax gateway


Hi,

name@xxxxxxxxxxxx

cheers

chris

-----Original Message-----
From: Geoff Tait [mailto:GTait@xxxxxxxxxxxxx] 
Sent: Wednesday, 19 May 2004 12:28 PM
To: Williams, Chris
Cc: hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] Problem with Mail-to-fax gateway

What email address are you sending your fax to?

-----Original Message-----
From: Williams, Chris
[mailto:chris.williams@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, 19 May 2004 12:15 PM
To: 'George Bell'; Simon Perry; 'hylafax-users@xxxxxxxxxxx'
Subject: Re: [hylafax-users] Problem with Mail-to-fax gateway


Hi Guys,

Thanks for your sujestions.

But still no joy?

Regards

Chris

-----Original Message-----
From: George Bell [mailto:gbell5@xxxxxxx] 
Sent: Wednesday, 19 May 2004 12:00 AM
To: Simon Perry; Williams, Chris; 'hylafax-users@xxxxxxxxxxx'
Subject: Re: [hylafax-users] Problem with Mail-to-fax gateway

On Tuesday 18 May 2004 09:38, Simon Perry wrote:
> Williams, Chris wrote:
> > Hi,
> >
> >
> >
> > I have a problem with my mail-to-fax gatway.  I can send faxes from 
> > the command line no probs ut I can't get send mail to send mails to 
> > sendfax.
> >
> >
> >
> > I have tried the instructions in the mailfax.sh-sendmail file to no 
> > avail I have also tried the instructions here 
> > http://www.hylafax.org/archive/2000-08/msg00495.php still no good 
> > the mail server is just saying
> >
> >
> >
> > stat=Host unknown (Name server: 12345678.fax.: host not found)
> >
> >
> >
> > so it is obviously trying to dns look up 12345678.fax which it is 
> > not going to find?
>
> Chris,
>
> It sounds like your MTA is doing a DNS lookup before it encounters 
> your new fax rules. Make sure that your new fax rule is the first rule

> sendmail is checking.
>
I'd also make sure  the .fax pseudodomain is properly configured  in 
"sendmail.cf".  It is a line:
"CPFAX"

George

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

____________________ 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