Subj : Re: NNTP(S) via Thunderbi
To : Accession
From : Gamgee
Date : Fri Nov 07 2025 09:15 pm
-=> Accession wrote to Gamgee <=-
> I am now seeing the value of this method...
> Would you mind sharing the scripts? (don't need the MultiMail one).
Ac> Sure thing. As long as your on a personal computer, and don't share it
Ac> with others:
Ac> getpkt:
Ac> #!/bin/bash
Ac> cd /home/user/mmail/down
Ac> wget --ftp-user=<username> --ftp-password=<password>
Ac> ftp://<yourBBSaddress>/<BBSID>.qwk
Ac> cd /home/user/mmail
Ac> putpkt:
Ac> #!/bin/bash
Ac> cd /home/user/mmail/up
Ac> ftp -nv <<EOF
Ac> open <yourBBSaddress>
Ac> user <username> <password>
Ac> bin
Ac> put <BBSID>.rep
Ac> quit
Ac> EOF
Ac> rm <BBSID>.rep
Ac> cd /home/user/mmail
Ac> Technically you could use the FTP method for both transfers (using
Ac> 'get' instead of put), but I did the script with 'wget' first, and soon
Ac> after realized 'wput' was a thing at some point, but isn't maintained
Ac> anymore and isn't in my distro's repositories.
Ack.
Ac> Change your paths to match your system, fill in your authentication
Ac> information, make them executable, and you're off to the races!
Yes, understood. The "put" direction makes good sense to me. I have a
question about the "get" side though - What causes the BBS to know to
pack up all the new messages into a QWK packet though? Does just the
act of requesting <BBSID>.qwk cause that to happen? I was thinking I'd
have to somehow "tell" the BBS to create the new QWK packet, and *then*
grab it with wget/ftp.
Ac> FYI, I don't remove the QWK packet, because I can do that in Multimail
Ac> once I'm done reading/replying. But I do remove the .REP packet after I
Ac> send it, otherwise the next time I run that script it'll send it again,
Ac> probably causing dupes. Unless there's some fancy numbering of .REP
Ac> packets Multimail does that I don't yet know about (I didn't read the
Ac> docs, I just figured MM out by mashing buttons, lol).
Understood, and I use MM that way too, just deleting the QWK packet as
I"m exiting MM after reading/replying.
Ac> Regards,
Ac> Nick
Appreciate you taking the time to send/explain this! Thanks.