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] where to run hylafax
* John Darrington <john@cellform.com.au> [030110 19:27]:
> I was intending on only running things like iptables, spam assain, and
> hylafax on it. After reading the documentation and realizing that i
> need an mta running on the machine, i'm a little more skeptical about my
> decision. Is there any way to specify a remote MTA, i run a postfix
> server in the dmz? Also, if the aforementioned answer is no, do i need
> to have any ports open to the outside?
>
> I'm sure there would be a way to use a remove MTA, but I've never had
> to do it, so I can't comment. I can't see any reason why hylafax
> needs you to open ports to the outside (unless of course you want to
> be able to retrieve faxes remotely).
Remember, none of HylaFAX "core" needs an MTA. Only noticeses need an
MTA. In fact, then don't need an MTA, but then need a program which
takes input on STDIN and mails it, a la sendmail.
$SPOOL/bin/faxrcvd
$SPOOL/bin/pollrcvd
$SPOOL/bin/wedged
$SPOOL/bin/notify
These for programs "notify" users/adminitrators of events, and currently
use "$SENDMAIL -ffax -oi -t $TOADDR < $CONTENTS" to send e-mail
notifications.
Basically, make $SENDMAIL point to something else in
$SPOOL/etc/setup.cache that can do the job, and you don't a full blown
MTA.
Take a look at:
http://www.cs.hmc.edu/~me/smtppush/
It does what you want. No MTA running, only a commandline sendmail
replacement, that pushes the mail to a spefided MTA on another host.
If you wanted a more radical approache, you could make the notifications
something other than e-mail very easily (replace sendmail in
etc/setup.cache with a script that does something like, say, post to
some website, or FTP the notifacatin somewhere, copy it to a samba
share, run some X -display $REMOTE, or anything really. It's very
flexible)
a.
--
Aidan Van Dyk Create like a god,
aidan@highrise.ca command like a king,
http://www.highrise.ca/ work like a slave.
PGP signature