[nos-bbs] Minimal local mail forwarding setup?

Wm Lewis thunderft at hotmail.com
Wed Apr 13 12:36:21 EDT 2011


Yeah.... Um... 
 
I gotta say there is something wrong with that part of the REWRITE file and how JNOS performs with messages to local users.
 
First, all other aspects of my REWRITE file appear to work correctly, EXCEPT for local users sending messages to local users. That part of the rewrite file doesn't work correctly what-so-ever.
 
My JNOS station call is  kg6baj.
 
My line in my REWRITE file for local stations looks like this:
====================
*@kg6baj    $1
*@kg6baj.*  $1
====================
 
This just flat out doesn't work when one local user sends to another local user.
 
Please note: The VERY LAST line in my REWRITE file is "* hold" so that anything not caught by the other rules gets put into the HOLD area and I can review it for adding in more rules. 
 
With this, any local user sending a message to any other local user, those messages get caught in the HOLD area and not the intended local users mail area.
 
Here are some observations.
 
Observation #1
When a local user sends to another local user, they DO NOT add "... at KG6BAJ" to the end of their "SP" command. They address it like this:
"SP KC6QDK"          NOT like this --->      "SP KC6QDK at KG6BAJ"
 
Observation #2
IF THEY DID USE  "SP KC6QDK at KG6BAJ"  then IT DOES get dilivered correctly
 
 
Observation #3-a
JNOS does not appear to be APPENDING an HROUTE to mail sent from local users to local users.
If JNOS were to append an hroute, then a mail sent to "SP KC6QDK" would look like this  "SP KC6QDK at KG6BAJ.#NCA.CA.USA.NOAM"
(Noting here that the HROUTE would have to come from my USERS.DAT file when local users register at my station)
 
Observation #3-b
If an hroute were to be appended, the rewrite rule of   "*@kg6baj.*  $1"    should  kick in and local mail should  get delivered correctly.(Note "should")
 
Observation #4
When a local user sends to another local user, and does not specify an "... at KG6BAJ" to the end of it, I've looked at the VERBOSE contents of the mail delivered to the HOLD area and the "TO:" is always just the callsign with no  "... at KG6BAJ" added to the end. Thus the rewrite rules can't see it as something intended for local delivery.
 
I'm not sure why jnos does not seam to check the "users.dat" file and make a determination as to who is REGISTERED at my station and automatically append either an HROUTE or append an "@KG6BAJ" to the "SP xxxxx" part.
 
 
Observation #5
For that matter, now that I think about it...  I have REGISTERED users that visit my station, but have a HOME BBS somewhere else. "RK3KPK" is one of them.
I checked my "USERS.DAT" file and he did include his HROUTE (CX2SA.LAV.URY.SA) when he registered. But if I were to send a private message to him using "SP RK3KPK" that message also gets thrown into the HOLD mail area, instead of being routed out to my forwarding partner. A VERBOSE read of the message when it hits the HOLD area also shows that no HROUTE was added to the "TO:" and thus jnos rewrite rules for forwading don't kick in.  
 
So...  Any Ideas as to what's not working correctly here ???
 
I would be happy to post any configurations here if requested. 
 
Bill
KG6BAJ
 
GVCITY:KG6BAJ-2 node
 
KG6BAJ at KG6BAJ.#NCA.CA.USA.NOAM
 
 
 
 


Date: Wed, 13 Apr 2011 09:08:09 -0400
From: bobtenty at gmail.com
To: nos-bbs at tapr.org
Subject: Re: [nos-bbs] Minimal local mail forwarding setup?


The magic is in the rewrite file!

*@k1bbs    $1
*@k1bbs.*  $1

*@*.ampr.org   $1@$2.ampr.org

For internet mail entries like these are handy. (for top level domains)

*@*.net    $1@$2.net
*@*.com   $1@$2.com
*@*.ca      $1@$2.ca
*@*.us      $1@$2.us
*@*.edu   $1@$2.edu
*@*.mil    $1@$2.mil

   can be expanded with other top level domains.

And of course if you don't have an amprnet address put at least
yourself in the domain text.


73,

Bob VE3TOK

  


On 11-04-13 12:34 AM, Michael Curry wrote: 

Well, gee, the more I look into this, the more confused I get...
 
First of all, regarding the line I tried putting into domain.txt:
 
127.0.0.1 IN A k1bbs

The reason it didn't look right was that... it *wasn't* right. I had imitated the format that I found on page 87 of "Networking Without Wires: Radio Based TCP/IP" (ftp://ftp.tapr.org/projects/n8urbook/n8ur-dr1.pdf), which was wrong. 
 
But even after sorting that out, and fixing my domain.txt file to look like:
---------
localhost IN A 127.0.0.1
k1bbs IN A 127.0.0.1
---------
... still no joy.
 
Next, although N8UR strongly advocates putting "localhost" into domain.txt, other examples out there (such as the one at http://mysite.verizon.net/ka1fsb/domain.html) don't include it. (So was N8UR wrong about that, too?)
 
Now, since my machine that hosts JNOS does *not* have an address on the 44 net, and isn't part of the ampr.org domain (remember, I want to get it functioning as a simple, standalone mail drop accessible only via AX.25 and the local "bbs" command), I didn't see any point in setting the domain prefix or giving k1bbs a FQDN. 
 
But just to see what would happen, I changed the hostname to "k1bbs.ampr.org" and added "domain suffix ampr.org." to my autoexec.nos file, and changed my domain.txt file to:
----------
localhost IN A 127.0.0.1
k1bbs.ampr.org. IN A 127.0.0.1
----------
Again, no joy.
 
So in a final act of desperation I changed the domain.txt file to:
----------

localhost IN A 127.0.0.1
k1bbs.ampr.org. IN A 44.128.10.64----------
 
And now when I kick SMTP, I get:
---------
Trying Connection to 44.128.10.64
SMTP client Trying...
smtp sent: QUIT
---------- 
and no change in the contents of spool/mqueue or spool/mail. 
 
Now, obviously, I don't really expect this last configuration to work, since the IP address is bogus -- but at least I'm seeing some different behavior, leading me to (wishfully?) think I'm getting close to the right track.
 
But I'm just not seeing what I need to do to tell JNOS that k1bbs is localhost. 
 
Anyone? I'm dyin' here...
 
M
 
On Tue, Apr 12, 2011 at 6:54 PM, Michael Curry <dgspotman at gmail.com> wrote:


Hi all,
 
New JNOS user here (about 5 days in), trying to figure out the minimal configuration needed to get local mail (i.e., mail sent from one local user to another) to actually appear in the addressee's mailbox. 
<snip>
_______________________________________________
nos-bbs mailing list
nos-bbs at tapr.org
https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs


_______________________________________________ nos-bbs mailing list nos-bbs at tapr.org https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20110413/1f3299c6/attachment.html>


More information about the nos-bbs mailing list