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

Date : Sat Aug 28 2021 07:45 pm

Hello g00r00!

One thing that I have noticed for some time now, but forgot to ask about earlier, is that qwkpoll appears to create a qwkmail.out semaphore after *importing* QWK mail.

Here's an example flow from my system (combined/interleaved excerpts from mis.log and qwkpoll.log):

+ 2021.08.28 15:43:28  EVENT Running event: CUSTOM: Poll QWK networks
+ 2021.08.28 15:43:28  EVENT Cmd: touch /home/bbs/mystic/semaphore/qwkpoll.now
+ 2021.08.28 15:43:28  EVENT Res: 0

+ 2021.08.28 15:43:38  EVENT Removing: /home/bbs/mystic/semaphore/qwkpoll.now
+ 2021.08.28 15:43:38  EVENT Removing: /home/bbs/mystic/semaphore/qwkpoll.finished
+ 2021.08.28 15:43:38  EVENT Running event: CUSTOM: Poll QWK networks
+ 2021.08.28 15:43:38  EVENT Cmd: timeout -k 300 --preserve-status -v 300 ./qwkpoll all

Aug 28 15:43:38 QWKPOLL Startup (v1.12 A47 Linux/64 Compiled 2021/08/22 07:33:20)
Aug 28 15:43:38 Exchanging Mail for DOVE-Net
Aug 28 15:43:39 Exported @VERT.rep -> 0 msgs
Aug 28 15:43:39 Connecting via FTP to dove.synchro.net
Aug 28 15:43:39 R:220-Vertrauen (cvs.synchro.net)
Aug 28 15:43:39 Connected
Aug 28 15:43:39 Local IP is 188.149.138.116
Aug 28 15:43:39 S:USER SCBBS
Aug 28 15:43:39 R:331 User name okay, need password.
Aug 28 15:43:39 S:PASS <not shown>
Aug 28 15:43:40 R:230-Welcome!
Aug 28 15:43:40 S:TYPE I
Aug 28 15:43:40 R:200 All files sent in BINARY mode.
Aug 28 15:43:40 S:MODE S
Aug 28 15:43:40 R:200 STREAM mode.
Aug 28 15:43:40 Logged in as SCBBS
Aug 28 15:43:40 Downloading QWK packet
Aug 28 15:43:40 S:PASV
Aug 28 15:43:40 R:227 Entering Passive Mode (71,95,196,36,4,5)
Aug 28 15:43:40 S:RETR VERT.qwk
Aug 28 15:43:45 R:150 Opening BINARY mode data connection for file transfer.
Aug 28 15:43:45 R:226 Download complete (14828 cps).
Aug 28 15:43:45 OK: VERT.qwk (7,414 bytes)
Aug 28 15:43:45 Importing QWK packet:
Aug 28 15:43:45 Imported 6 messages (0 failed)

+ 2021.08.28 15:43:45  EVENT Res: 0
+ 2021.08.28 15:43:45  EVENT Cmd: touch /home/bbs/mystic/semaphore/qwkpoll.finished
+ 2021.08.28 15:43:45  EVENT Res: 0

+ 2021.08.28 15:43:48  EVENT Removing: /home/bbs/mystic/semaphore/qwkmail.out
+ 2021.08.28 15:43:48  EVENT Removing: /home/bbs/mystic/semaphore/qwkmail.finished
+ 2021.08.28 15:43:48  EVENT Running event: CUSTOM: Send QWK network mail
+ 2021.08.28 15:43:48  EVENT Cmd: timeout -k 300 --preserve-status -v 300 ./qwkpoll all

Aug 28 15:43:48 QWKPOLL Startup (v1.12 A47 Linux/64 Compiled 2021/08/22 07:33:20)
Aug 28 15:43:48 Exchanging Mail for DOVE-Net
Aug 28 15:43:49 Exported @VERT.rep -> 0 msgs
Aug 28 15:43:49 Connecting via FTP to dove.synchro.net
Aug 28 15:43:49 R:220-Vertrauen (vert.synchro.net)
Aug 28 15:43:49 Connected
Aug 28 15:43:49 Local IP is 188.149.138.116
Aug 28 15:43:49 S:USER SCBBS
Aug 28 15:43:50 R:331 User name okay, need password.
Aug 28 15:43:50 S:PASS <not shown>
Aug 28 15:43:50 R:230-Welcome!
Aug 28 15:43:50 S:TYPE I
Aug 28 15:43:50 R:200 All files sent in BINARY mode.
Aug 28 15:43:50 S:MODE S
Aug 28 15:43:50 R:200 STREAM mode.
Aug 28 15:43:50 Logged in as SCBBS
Aug 28 15:43:50 Downloading QWK packet
Aug 28 15:43:50 S:PASV
Aug 28 15:43:51 R:227 Entering Passive Mode (71,95,196,34,7,208)
Aug 28 15:43:51 S:RETR VERT.qwk
Aug 28 15:44:01 R:550 No QWK packet created (no new messages)
Aug 28 15:44:01 Packet does not exist on remote: VERT.qwk
Aug 28 15:44:01 Response: 550 No QWK packet created (no new messages)

+ 2021.08.28 15:44:01  EVENT Res: 0
+ 2021.08.28 15:44:01  EVENT Cmd: touch /home/bbs/mystic/semaphore/qwkmail.finished
+ 2021.08.28 15:44:01  EVENT Res: 0

This appears to cause an extraneous (unnecessary) poll to the QWK server.
Is this expected (perhaps I am missing something)?

Many thanks in advance!

Best regards


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