HylaFAX The world's most advanced open source fax server |
If you installed hylafax on the email server, you could indeed use faxsend to submit the faxes to the hylafax server. You would have to modify the script to specify that the hylafax server was on a different host.
However, it is usually cleaner to do as Chris recommends below, to use a subdomain like fax.domain.tld and forward all emails for that domain to a mail server on the hylafax host. An email sent to the fax gateway would look something like - 5555551212@xxxxxxxxxxxxxxx If you didnt have that fax subdomain, the email address would need to be more complicated and your script and routing would need to be more discriminating to decide which emails were faxes etc.
-Siri Vias
-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx on behalf of Chris Weiss
Sent: Tue 2/10/2009 5:48 AM
To: rolf.ackermann@xxxxxxx
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] EMail to fax with a separate mail server
On Tue, Feb 10, 2009 at 3:28 AM, Rolf Ackermann <rolf.ackermann@xxxxxxx> wrote:
> Hi James
>
> JL> What I do is I use a custom python script to send the email using SMTP
> JL> and not sendmail. I have a python script that accepts the same arguments
> JL> that get passed to sendmail and then I set the SENDMAIL environment
> JL> variable in FaxDispatch to that script:
> Thanks for your answer, but I've probably described the problem the wrong
> way.
>
> On my network I have an email server on one machine and the HylaFax server on
> the other machine. My goal is to send an email to my mail server and the
> mail server
> transfers the incoming "fax email" to the HylaFax server to send it to a fax.
>
> I've seen the description how to setup an email-to-fax solution but this
> description (even if it works for all other users) doesn't work for my
> environment (circular reference because I'm using a smart host
> configuration).
possibly you could install the client pieces of hylafax on the email server...
however, it's fairly easy to install exim or postfix on the hylafax
server, you are going to want a subdomain for the faxes anyway unless
you want to write a complicated mail receive script.
____________________ 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*