HylaFAX The world's most advanced open source fax server

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

Re: Is there an easier way to email faxes than modifyingsendmail?



I wrote a perl script that is called from sendmail, via /etc/aliases, and
it pulls out the phone number(s) from the subject line, and any other
formatting options, landscape mode, etc. and then delivers the fax to one
or all of the numbers.

Let me know if you'd like a copy of it.

Randy
At 10:03 AM -0700 4/8/99, David A. Bergstedt wrote:
>I was wondering if there would be an easier way than modifying sendmail
>for allowing users to send faxes via email.
>
>If the user would send email to say, sendfax@fax.foo (fax.foo the
>hylafax server),
>and fax.foo has a mail alias of
>
>sendfax: "|/usr/local/fax/bin/faxmail -d ???"
>
>where ??? could get the X-FAX-Dialstring info that is translated from
>the message's subject header info, via a mapping in lib/faxmail.conf? I
>don't know what you would put in the faxmail.conf (maybe
>X-FAX-Dialstring: "Subject" ?) and I don't know how you would pass that
>off on the command line to faxmail (the ??? above).
>
>Is this possible or is this a stupid question?
>
>Thanks in advance...
>
>Dave
>--
>David A. Bergstedt
>USGS BRD UMESC
>Systems and Network Administrator
>Email: dbergstedt@umesc.er.usgs.gov
>Voice: 608.783.7550 X23  Office Fax: 608.783.8058 Efax: 413.332.7933
>Pager: 1.888.960.2861 (Sorry, No Pay Phone Calls)
>Web: http://www.umesc.usgs.gov/staff/bios/dab0.php




Project hosted by iFAX Solutions