Subj : Re: qwkmail.out created after importing QWK mail?
To   : g00r00

Date : Sat Dec 11 2021 11:33 am

Hello g00r00!


BW>  g0> QwkPoll is not supposed to be creating any semaphore, so that is
BW>  g0> absolutely a bug if its happening.  I'll take a look and see if I can
BW>  g0> get it fixed up in the next build.

Just wanted to check -- did you find any references in the source code to qwkpoll creating the qwkmail.out semaphore on QWK mail imports?

I tried running strings on the qwkpoll binary and it seems that there is some kind of reference there:

bbs@glimmer:~/mystic$ strings qwkpoll | grep qwkmail
qwkmail.out

This shows up in my qwkpoll.log as:

Dec 11 11:03:05 QWKPOLL Startup (v1.12 A47 Linux/64 Compiled 2021/12/10 13:40:27)
Dec 11 11:03:05 Exchanging Mail for DOVE-Net
Dec 11 11:03:06 Exported @VERT.rep -> 0 msgs
Dec 11 11:03:06 Connecting via FTP to dove.synchro.net
Dec 11 11:03:11 R:220-Vertrauen (vert.synchro.net)
Dec 11 11:03:11 Connected
Dec 11 11:03:11 Local IP is 188.149.138.116
Dec 11 11:03:11 S:USER SCBBS
Dec 11 11:03:11 R:331 User name okay, need password.
Dec 11 11:03:11 S:PASS <not shown>
Dec 11 11:03:12 R:230-Welcome!
Dec 11 11:03:12 S:TYPE I
Dec 11 11:03:12 R:200 All files sent in BINARY mode.
Dec 11 11:03:12 S:MODE S
Dec 11 11:03:12 R:200 STREAM mode.
Dec 11 11:03:12 Logged in as SCBBS
Dec 11 11:03:12 Downloading QWK packet
Dec 11 11:03:12 S:PASV
Dec 11 11:03:12 R:227 Entering Passive Mode (71,95,196,34,7,208)
Dec 11 11:03:13 S:RETR VERT.qwk
Dec 11 11:03:23 R:150 Opening BINARY mode data connection for file transfer.
Dec 11 11:03:23 R:226 Download complete (13580 cps).
Dec 11 11:03:23 OK: VERT.qwk (6,790 bytes)
Dec 11 11:03:23 Importing QWK packet:
Dec 11 11:03:23 Imported 4 messages (0 failed)

...immediately followed by:

Dec 11 11:03:25 QWKPOLL Startup (v1.12 A47 Linux/64 Compiled 2021/12/10 13:40:27)
Dec 11 11:03:25 Exchanging Mail for DOVE-Net
Dec 11 11:03:25 Exported @VERT.rep -> 0 msgs
Dec 11 11:03:25 Connecting via FTP to dove.synchro.net
Dec 11 11:03:26 R:220-Vertrauen (cvs.synchro.net)
Dec 11 11:03:26 Connected
Dec 11 11:03:26 Local IP is 188.149.138.116
Dec 11 11:03:26 S:USER SCBBS
Dec 11 11:03:26 R:331 User name okay, need password.
Dec 11 11:03:26 S:PASS <not shown>
Dec 11 11:03:26 R:230-Welcome!
Dec 11 11:03:26 S:TYPE I
Dec 11 11:03:26 R:200 All files sent in BINARY mode.
Dec 11 11:03:26 S:MODE S
Dec 11 11:03:27 R:200 STREAM mode.
Dec 11 11:03:27 Logged in as SCBBS
Dec 11 11:03:27 Downloading QWK packet
Dec 11 11:03:27 S:PASV
Dec 11 11:03:27 R:227 Entering Passive Mode (71,95,196,36,4,1)
Dec 11 11:03:27 S:RETR VERT.qwk
Dec 11 11:03:31 R:550 No QWK packet created (no new messages)
Dec 11 11:03:31 Packet does not exist on remote: VERT.qwk
Dec 11 11:03:31 Response: 550 No QWK packet created (no new messages)

The first qwkpoll run is performed by a semaphore event looking for a qwkpoll.now semaphore (created manually by me to trigger a poll).

The second qwkpoll run is performed by a semaphore event looking for a qwkmail.out semaphore (which appears to be created by the previous qwkpoll run).

Many thanks in advance!

Best regards


--- Mystic BBS v1.12 A47 2021/12/10 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)