![]() |
On Mon, 16 Jul 2001 18:20:41 +0300, you wrote: >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? If you want to "control who can do what" then you can forget about hyla.conf. hyla.conf is the system-wide client-side config file. ie: instead of using sendfax ... -k "now + 24 hours" you can put KillTime: "now + 24 hours" in hyla.conf and so on. >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..... >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. I said hyla.conf is in the same dir of hfaxd.conf, not in the same dir of hosts.hfaxd. >Seemingly. But in my case, where an MTA passes the fax data to HylaFAX??? /usr/local/bin/faxmail >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. AFAIK the fax is submitted with the userid the MTA use (or you set it to use), the "from" address is another thing. hosts.hfaxd has only effect for the uid which submits the fax. ie: I may have all email-to-fax submitted as user email2fax, with "from" addresses all different. hosts.faxd makes check on uid (email2fax) and originating hosts. > 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. Either you block them at the MTA level, or try the patch: http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=129 which adds the capability to alter the uid under which a fax is submitted, but I don't know if it would work the way you want: it seems you want to allow/deny based on email address and you want to use "normal" email addresses in hosts.hfaxd, I don't know if this is supported. >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. Uninstall that script! :-) >Here is the file and I've seen some interesting thing saying 'notify:none' >Where are these params read from, especially the notify?? They are all the default params modified by what you specify on command line and in config files like hyla.conf. If you use sendfax .... -D ... you'll see notify:when done >###/var/spool/fax/doneq/q24 >mailaddr:sysadmin@wananchi.com Is this right? Was the fax submitted from sysadmin@wananchi.com? -- giulioo@pobox.com ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null