![]() |
* Giulio Orsero <giulioo@pobox.com> [20010716 21:21]: writing on the subject 'Re: [hylafax-users] [hylafax-users][soleil]Disparities between HylaFAX on FreeBSD and Linux' Giulio> On Mon, 16 Jul 2001 18:20:41 +0300, you wrote: Giulio> Giulio> >That hyla.conf is created only as a convenience now confuses me further, Giulio> >because everyone mentions this in their setup. Am I right in assuming that Giulio> >I can safely forget about this file? If so then my candidate would be Giulio> >hosts.hfaxd, yes? Giulio> If you want to "control who can do what" then you can forget about hyla.conf. Giulio> hyla.conf is the system-wide client-side config file. Giulio> ie: Giulio> instead of using Giulio> sendfax ... -k "now + 24 hours" Giulio> you can put Giulio> KillTime: "now + 24 hours" in hyla.conf Giulio> and so on. Okay. I see the light now. My users will only send faxes via e-mails. Giulio> >So they are not gonna be in the same location!! More confusion. Giulio> I said hyla.conf is in the same dir of hfaxd.conf, not in the same dir of Giulio> hosts.hfaxd. Well, I _must_ have looked at things hastily. Pardon me for that. Giulio> >Seemingly. But in my case, where an MTA passes the fax data to HylaFAX??? Giulio> /usr/local/bin/faxmail Giulio> Giulio> >Yes, the data also contains the submitter's e-mail address but I am Giulio> >wondering at what level the HylaFAX server would check that against Giulio> >hosts.hfaxd. Giulio> AFAIK the fax is submitted with the userid the MTA use (or you set it to use), Giulio> the "from" address is another thing. Giulio> hosts.hfaxd has only effect for the uid which submits the fax. Giulio> ie: Giulio> I may have all email-to-fax submitted as user email2fax, with "from" addresses Giulio> all different. Giulio> hosts.faxd makes check on uid (email2fax) and originating hosts. In my case then it seems I need a way to let the MTA extract the user to use from the e-mail address submitting the fax??? Giulio> > I am saying this because I have had a few colleagues of mine Giulio> >send faxes even though they are not listed in hosts.hfaxd. It would Giulio> >therefore mean that the file isn't being consulted at all, yes?? And that Giulio> >brings me back to my question of which config file/param is used to tell Giulio> >HylaFAX to consult that file. Giulio> Either you block them at the MTA level, or try the patch: Giulio> http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=129 Giulio> which adds the capability to alter the uid under which a fax is submitted, but I Giulio> don't know if it would work the way you want: it seems you want to allow/deny Giulio> based on email address and you want to use "normal" email addresses in Giulio> hosts.hfaxd, I don't know if this is supported. I will look at that option and see whether it can work for me. Giulio> >This would be the most interesting part. I am attaching a file that Giulio> >appeared there after a test. At some point I installed some awk script Giulio> >that cleans that directory after getting the stats mailed to Giulio> >faxmaster. That is definately a bad idea because I may wanna take a look Giulio> >at the files at some point. Giulio> Uninstall that script! :-) Giulio> Giulio> >Here is the file and I've seen some interesting thing saying 'notify:none' Giulio> >Where are these params read from, especially the notify?? Giulio> They are all the default params modified by what you specify on command line and Giulio> in config files like hyla.conf. Giulio> If you use Giulio> sendfax .... -D ... Giulio> you'll see Giulio> notify:when done Okay. Does it seem practical from the transport I use to substitute sendfax for faxmail?? Giulio> Giulio> >###/var/spool/fax/doneq/q24 Giulio> >mailaddr:sysadmin@wananchi.com Giulio> Is this right? Was the fax submitted from sysadmin@wananchi.com? Yes, it is right. While the fax transport runs as uid=fax , gid=uucp, still in the qXX it has the correct address of the submitter. MTIA -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. The significant problems we face cannot be solved at the same level of thinking we were at when we created them. -Albert Einstein ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null