HylaFAX The world's most advanced open source fax server

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

Re: sendpage+hfaxd, SNPP DATA broken? (4.0pl1 Sol2.5binary)



> Matthias.Apitz@SOFTCON.de wrote:
>
> Mike Frohme wrote:
>
>     Hello,
>
>         Just picked up HylaFax 4.0pl1 (Solaris 2.5, binary dist
>         from SGI) and have installed.  Fax features work great,
>         but I'm having minor problems w/Alpha paging:
>
>         sendpage works great when you specify the message in the
>         command line.  Specifying the message via STDIN fails - the
>         read never completes.
>
>         It appears that the MESS command is AOK, but the DATA command
>         hangs in this distribution.
>
>     telnet localhost 444
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
>     220 palantir.memphis.edu SNPP server (HylaFAX (tm) Version 4.0pl1)
>     ready.
>     login XX
>     230 User XX logged in.
>     page frohme
>     250 Pager ID accepted; provider: 9,XXXXXXX pin: XXXXXXX jobid: 35.
>     DATA
>     354 Begin message input; end with <CRLF>'.'<CRLF>.
>     Test message
>     Line #2
> [perhaps here was a line containing only a dot "." and the MTA
>  cuts your mail here because the dot terminates SMTP also]
>
        Yes, I manually entered a '.', but it doesn't work.  It *is*
        reading data on the port, because the server issues a
        550 Error, message too long; max 128 characters,  if I go
        over the limit.

        Its like a CRLF semantics problem or something, and the
        server isn't seeing it quite right.  Its obviously still
        reading, just not seeing a *strict* <CRLF>.<CRLF>

        I've tried the telnet from a PC, and programmed keys to send
        LF, CR, LFCR, CRLF, etc...  No combination of those seems
        able to get the DATA read to finish successfully.

> Please enable the serverTracing for hfaxd(1M) to see the
> SNPP client/server protocol for this session, e.g. set
>
> LogFacility:            local0          # syslog facility (want this 1st))
> ServerTracing:          0x003           # server-op + c/s-prot
>
> in lib/hfaxd.conf and re-run this test.
>
        Here's the log file for... sendpage -v -p frohme < textfile

Nov  9 17:31:03 palantir HylaFAX[18567]: LOGI frohme
Nov  9 17:31:03 palantir HylaFAX[18567]: SITE HELP NOTIFY
Nov  9 17:31:03 palantir HylaFAX[18567]: LEVE 1
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? Mike Frohme
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? 12
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? 3
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? frohme@palantir.memphis.edu
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? none
Nov  9 17:31:03 palantir HylaFAX[18567]: ??? NO
Nov  9 17:31:03 palantir HylaFAX[18567]: PAGE frohme
Nov  9 17:31:03 palantir HylaFAX[18567]: Filesystem has SysV-style file creation
semantics.
Nov  9 17:31:03 palantir HylaFAX[18567]: DATA

        That's it.

-- 
Mike Frohme                                     frohme@memphis.edu
Information Systems - The University of Memphis       901/678-8820




Project hosted by iFAX Solutions