Hylafax Mailing List Archives

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

Re: [hylafax-users] [hylafax-users][soleil]Disparities between HylaFAX on FreeBSD and Linux



* Giulio Orsero <giulioo@pobox.com> [20010716 13:17]: writing on the subject 'Re: [hylafax-users] Disparities between HylaFAX on FreeBSD and Linux'
Giulio> On Mon, 16 Jul 2001 12:24:25 +0300, you wrote:
Giulio> 
Giulio> >configure HylaFAX on FreeBSD and Linux. For example there is no hyla.conf
Giulio> >in FreeBSD but there is one in Linux. Is this a design issue or something
Giulio> >that can be attributed to the guy who made the port on FreeBSD? I cannot
Giulio> By default, no hyla.conf is created by a source installations on any os.
Giulio> Linux has hyla.conf because the packager adds it when building the rpm. So you
Giulio> get hyla.conf on linux only when using rpm installation.
Giulio> However, the hyla.conf is not created because it's necessary, but just as a way
Giulio> to help users, since manual pages aften talks about it.

Hi Giulio,

Thanks abundantly for taking your time to respond to my distress.

That hyla.conf is created only as a convenience now confuses me further,
because everyone mentions this in their setup. Am I right in assuming that 
I can safely forget about this file? If so then my candidate would be
hosts.hfaxd, yes?

Giulio> >say I've managed to grab the tarball and compile it in FreeBSD. It has
Giulio> >always failed so I've stuck to building it from the ports tree.
Giulio> >I am only saddened that there is not much support for HylaFAX on FreeBSD
Giulio> Try filing a bug in bugs.hylafax.org

Well, probably the bug is me, because I've failed to understand quite a
number of things. Everyone else says their setups work like a champ! I'd
be naive to try to discredit that ;-) 

Giulio> >IMHO, the namings should not matter, if the source is the same. So what is
Giulio> >the equivalent of hyla.conf in FreeBSD?? I want to limit those who can
Giulio> The equivalent is a file named the same way, hyla.conf, the path is dependent on
Giulio> how HylaFAX is configured. By default should be in the same dir where 
Giulio> hfaxd.conf is located.

Unless whoever packaged the port for FreeBSD.....


From hylafax man page:

CONFIGURATION FILES
       HylaFAX  client applications can be tailored on a per-user
       and per-site basis through configuration files.   Per-site
       controls       are       placed      in      the      file
       /usr/local/lib/fax/hyla.conf, while per-user  controls  go
       in  ~/.hylarc.   In addition a few programs that have many
       parameters that are specific to their operation support an
       additional  configuration file; these files are identified
       in their manual pages.

And the location of hosts.hfaxd:

everest# locate hosts.hfaxd
/usr/local/man/cat5/hosts.hfaxd.5f.gz
/usr/local/man/man5/hosts.hfaxd.5f.gz
/var/spool/fax/etc/hosts.hfaxd
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So they are not gonna be in the same location!! More confusion.

BTW, could someone kindly share with me their hyla.conf and ./hylarc for
reference purposes?

Giulio> >1. where do I tell HylaFAX (tm) that the users listed in fileX are the
Giulio> >only ones allowed to access the service? I mean in FreeBSD??
Giulio> This seems like an issue with FAXSPOOLDIR/etc/hosts.hfaxd, more than hyla.conf.
Giulio> man hosts.hfaxd man faxadduser/faxdeluser

Seemingly. But in my case, where an MTA passes the fax data to HylaFAX???
Yes, the data also contains the submitter's e-mail address but I am
wondering at what level the HylaFAX server would check that against
hosts.hfaxd. I am saying this because I have had a few colleagues of mine
send faxes even though they are not listed in hosts.hfaxd. It would
therefore mean that the file isn't being consulted at all, yes?? And that
brings me back to my question of which config file/param is used to tell
HylaFAX to consult that file.

Giulio> >2. How do a tell HylaFAX that I want it to send success notifications to
Giulio> >the people who submitted faxes? I use faxmail to pass the messages to the
Giulio> >server in this way:
Giulio> >command ="/usr/local/bin/faxmail -d $local_part ${sender_address} $h_subject"
Giulio> 
Giulio> When someone sends a email-to-fax, and you look at sendq/qXX, what email address
Giulio> do you see inside?

This would be the most interesting part. I am attaching a file that
appeared there after a test. At some point I installed some awk script
that cleans that directory after getting the stats mailed to
faxmaster. That is definately a bad idea because I may wanna take a look
at the files at some point.

Here is the file and I've seen some interesting thing saying 'notify:none'

Where are these params read from, especially the notify??

TIA

###/var/spool/fax/doneq/q24

tts:995296427
killtime:995307085
retrytime:0
state:7
npages:2
totpages:2
ntries:0
ndials:0
totdials:1
maxdials:12
tottries:1
maxtries:3
pagewidth:215
resolution:98
pagelength:279
priority:127
schedpri:127
minsp:0
desiredbr:5
desiredst:0
desiredec:1
desireddf:3
desiredtl:0
useccover:1
external:334435
number:334435
mailaddr:sysadmin@wananchi.com
jobid:24
jobtag:
pagehandling:
modem:any
receiver:fax-334435
company:
location:
cover:
client:localhost.wananchi.com
owner:uucp
groupid:24
signalrate:9600 bit/s
dataformat:2-D MR
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:00000024
status:
notify:none
pagechop:default
chopthreshold:3
!postscript:0::docq/doc24.cover
!postscript:0::docq/doc51.ps
#################################


-Wash

--
Odhiambo Washington
Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.

82.8% of all statistics are made up on the spot. 
(contributed by Chris Johnston) 


____________________ 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