Koozali.org: home of the SME Server

hylafax user rights on esmith

aniston

hylafax user rights on esmith
« on: March 28, 2001, 11:28:09 AM »
We too are trying the hylafax program on the esmith server, after having all the packages satisfied and got the hylafax rpm setup, we tried receving some faxes and they got recevied well. then as required we tried to view them thru the email to fax gateway of hylafax but going to recv the fax at ftp://server:4559/recvq/fax00015.tif gives me an error of page not available...
 
I guess there are some user access settings that have to be set, if anyone has any idea please let us know.

cheers,
aniston

Stephan Goeldi

Re: hylafax user rights on esmith
« Reply #1 on: March 28, 2001, 04:14:18 PM »
Is there a list of the required RPMs and the order of installation to get HylaFax to work?

aniston

Re: hylafax user rights on esmith
« Reply #2 on: March 28, 2001, 04:35:19 PM »
yes we downloaded all the RPM's required since it would not install without all dependencies being satisfied, after installation set up the hylafax server deamon sets up in /var/spool/fax/ as its main directory and we feel that this is what is not allowing the owner of the fax to see his fax as he does recv the message from hylafax server saying that there is a fax recd. for him but the link provided does not give him enough rights to view the fax.tiff (basically netscape just gives a login error message)

is there any way to modify the hylafax set configuration to move the main directory to some public ibay and indicate the change to hylafax??

regarda ,
aniston.

Michael Doerner

Re: hylafax user rights on esmith
« Reply #3 on: March 29, 2001, 03:37:53 PM »
Hi Aniston,

you could change the permissions for /var/spool/fax/recvq to something like "xx6" to give everybody access to that folder (the recieved faxes queue).

I started that way as far as I remember but then I went a step further and replaced Hylafax's standard "faxrcvd" script with another version that actually sends the recieved fax as a an attached tiff file to an email. I like that much more than using ftp to access the received tiff file and I am very happy with that solution here.

The alternative "faxrcvd" script (plus a "faxrcvd-mail" script I found somewhere at the Hylafax web site).

Give this a try, I think it's worth wile.
Regards,
Michael Doerner

aniston

Re: hylafax user rights on esmith
« Reply #4 on: March 30, 2001, 07:06:48 PM »
hello Micheal,

I'm still abegineer in linux and cannot seem to find the faxrcd-mail script on the hylafax.org website do you still have it around to email it to me?

also I do not know how to set the dir mode for all files in the dir /var/spool/fax/recdq/. do you have a couple of minutes to spare to type me the correct form of the dir change mode for the recd faxes? Also changing the dir mode would it allow for a security hole if an exceutable script was kept in there?

thanks again
aniston.

Michael Doerner

Re: hylafax user rights on esmith
« Reply #5 on: March 31, 2001, 02:15:00 AM »
Hi Aniston,

you will find the scripts and instructions about the proper permissions for the scripts on that site:

http://www.hylafax.org/howto/delivery.html

As for the permissions on the recvq directory, there are different ways to change that. You will have to read about permissions in general and the "chmod" command.

You might want to try chmod o+r /var/spool/fax/recvq

This will add read permissions for everybody ("o" = Others) to that directory which might fix the existing problem.

Kind Regards,
Michael Doerner

aniston

Re: hylafax user rights on esmith
« Reply #6 on: March 31, 2001, 06:41:02 PM »
hello Michael,

i tried the process of using other clients with the hylafax server like the 3 clients for faxrcvd for attaching the fax in an email...

after trying all of them I found that the faxes do come attached to me but it has a file size of 0KB ?

So I cannot open or save them ! i guess it still has something to do woth user rights on the esmith box. I did try chown o+r /var/spool/fax/recvq but it still does not solve the problem. Also for the other faxrcvd clients i tried the various chown processes after reading the chmod and chown man pages, but still no success.

Any other ideas are alwalys welcome...

have a nice weekend,

regards,
aniston

Michael Doerner

Re: hylafax user rights on esmith
« Reply #7 on: April 01, 2001, 12:01:48 AM »
>after trying all of them I found that the faxes do come attached to me but it has a >file size of 0KB ?

Ups, that might be my fault ... ? (non complete instructions?)

The 2nd of these new scripts, the "faxrcvd-mail" uses "mimencode" for the mail attachment. To get mimencode, I installed the "metamail" rpm.

Please try this and let me know. Sorry for that, I had forgotten about it.

Regards,
Michael Doerner

aniston

Re: hylafax user rights on esmith
« Reply #8 on: April 03, 2001, 10:37:17 PM »
Thanks michael, that did it  IT WORKS  ...   the last of the required RPM 'metamail' got me working in the first shot. So now we can very cooly recv. faxes into the e-mail program as attachments in pdf (we choose pdf format as it was very easy to be read later).

I guess sending should not be a problem, even though i have not tried it ! Do you forsee any problems with the sending thru email part?

Since you are well versed eith the subject why don't you try to put together an rpm that can accomodate all the required dependencies  and needed scripts to have the faxes recd. in an email box.

On the subject of receving is it possible to have both the link and the fax in the email? i guess it would be like putting the two scripts together!! but thats only a guess...

I dont know if I can help you out in putting together the all in one rpm but i sure can be your beta tester :)

Thanks again for the help, hope to hear form you again.

kind regards,
aniston.

aniston

Re: hylafax user rights on esmith
« Reply #9 on: April 04, 2001, 09:47:28 PM »
UH oh ... I need help again Michael....

Ok the recv fax works fine and well. Now I'm trying the send FAX from a outlook express client which is receving normal local and external mail form my e-smith server (so I know that it's working fine). But I have to admit that I have no idea on how to send a fax thru O.E. email !!

I think the format should be user@faxnumber.fax but what should the user be? a real of the user on e-smith i guess but that didnt work when i tried it. My simple tries were like realuser@realfaxnumber.fax and it didnt work ...just came back with a user not found notification.

If you have passed this phase too and have some info or suggestions ... they are all welcome.

cheers,
aniston

Michael Doerner

Re: hylafax user rights on esmith
« Reply #10 on: April 05, 2001, 06:55:49 AM »
Aniston,

unfortunately I can't help you with the mail/fax gateway functionality.. :-(

So far, I am only using "Whfc" (Windows Hylafax client) for sending faxes.

I am interested in your problem as well, so if anyone else can help out with that please?

Regards,
Michael

tehn yit chin

Re: hylafax user rights on esmith
« Reply #11 on: January 21, 2002, 05:24:49 AM »
I have similar problem to aniston. I have modified the bin/faxrcvd script so that when a fax is received, it copies the received fax to an ibay. However, the copies fails because of permission problems.

I have created the ibay with the permission of write=group read=group

The hylafax/recvq directory has the permission of drwr-xr-x

I added uucp (the fax daemon) as a member of the shared group via usermod.

any ideas?

thanks,
Tehn Yit