HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Authentication problem



Hi Aidan,

On Wednesday 07 February 2007 16:20, Aidan Van Dyk wrote:
> > How do I get hylafax to log submissions? My /var/log/hylafax directory is
> > empty (no files at all) I'm using debian etch.
>
> In hosts.hfaxd:
> 	ServerTracing: 0xFFFFFF

Ah. Now I get this in daemon.log
Feb  7 18:51:54 itbox HylaFAX[21482]: HylaFAX INET connection from localhost.localdomain [127.0.0.1]
Feb  7 18:51:54 itbox HylaFAX[21482]: command: USER <local username>
Feb  7 18:51:54 itbox HylaFAX[21482]: USER <local username>
Feb  7 18:51:54 itbox HylaFAX[21482]: <--- 331 Password required for <local username>.
Feb  7 18:51:54 itbox HylaFAX[21482]: command: PASS From mark@xxxxxxxxxxx Wed Feb 07 18:51:54 2007
Feb  7 18:51:54 itbox HylaFAX[21482]: <--- 500 'PASS From mark@xxxxxxxxxxx Wed Feb 07 18:51:54 2007': Syntax error, expecting <CRLF>.

> Also - are you changing hosts.hfaxd in /etc/hylafax or
> /var/spool/hylafax/etc?

/etc/hylafax
The debian init.d script handles the "twinning" like so:

# /etc/init.d/hylafax restart
Stopping HylaFAX: faxq hfaxd faxgetty.
+ /bin/cp -p "/etc/hylafax/hosts.hfaxd" "/var/spool/hylafax/etc/hosts.hfaxd"
Starting HylaFAX: faxq hfaxd faxgetty.

Which all seems fine.

# cat /var/spool/hylafax/etc/hosts.hfaxd
# hosts.hfaxd
# This file contains permissions and password for every user in
# the system.
#
# For more information on this biject, please see its man page
# and the commands faxadduser and faxdeluser.
localhost.localdomain

Putting localhost.localdomain in hosts.hfaxd did the trick.

Thanks for the help.

Cheers,
-- 
Mark Ter Morshuizen
mark@xxxxxxxxxxx
www.itbox.co.za
082 542 6484
2U Rackmount Casings: http://www.rackmount.co.za

____________________ 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*




Project hosted by iFAX Solutions