![]() |
I've read in the mailing list about this topic from years ago, but I've not seen something about my problem.
HylaFAX: 4.3.2 Box: RHEL 3 AS
1 I send a fax via email2fax with exim. The user exim has a /bin/false shell, which means has not the capability to login into a shell so I can't 'su' from root nor login like exim user. I've set "faxadduser -a abcd -p abcd root" In the hosts.hfaxd: ^root@::tg7.gHr.L3sKQ:5GHfSf812wXaY
2 I send a fax with outlook to HylaFAX via exim to: xxx@xxxxxxxxxxxxx Exim log: 2007-06-13 12:30:34 1HyQ7W-0001ul-9K => user <user@xxxxxxxxxxxxx> R=fax T=hylafax 2007-06-13 12:30:34 1HyQ7W-0001ul-9K Completed
3 faxstat -s HylaFAX scheduler on HylaFAX: Running Modem ttyx1 (6405008): Waiting for modem to come ready Modem ttyx0 (6403764): Running and idle
JID Pri S Owner Number Pages Dials TTS Status 2864 125 S exim XXXXXX 0:2 2:3 10:37 Busy signal detected
4 Then I try, logged as root…
faxrm -a -v 2864 Trying localhost (127.0.0.1) at port 4559... Connected to HylaFAX. 220 HylaFAX server (HylaFAX (tm) Version 4.3.2) ready. -> USER root 230 User root logged in. Password: -> ADMIN XXXX 530 Password incorrect. Admin failed: 530 Password incorrect. (When I write abcd or the root password of the system)
5 Well, let see with a telnet… 220 HylaFAX server (HylaFAX (tm) Version 4.3.2) ready. user root 230 User root logged in. jkill 2864 504 Cannot kill job: Operation not permitted. pass abcd 503 Already logged in as USER root. admin abcd 530 Password incorrect. jkill 2864 504 Cannot kill job: Operation not permitted.
6 I've even tried to set the user of the exim as root (the one who sent the faxes via exim), but the exim philosophy set the user root in the never_users list, so I can sent faxes via exim: ... 2007-06-13 12:13:28 1HyPqx-0001tx-W2 User 0 set for hylafax transport is on the never_users list 2007-06-13 12:13:28 1HyPqx-0001tx-W2 == user@xxxxxxxxxxxxx R=fax T=hylafax defer (-29): User 0 set for hylafax transport is on the never_users list
It is true that I can change the shell to the exim user, to define another user for fax2email with a useful shell, but this is not the way. I think that the question is, why the password in the hosts.hfaxd doesn't work for me? Or maybe ¿how does it work? I couldn't understand this behaviour.
-- FAP
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*