[nos-bbs] Help with JNOS forwarding.

Jimmy Capizzi k3chb at comcast.net
Tue Jan 7 15:32:25 EST 2020


So, I am not getting a reliable forward all of a sudden. I am getting: "New mail for fff from <(null)>" in the smtp logs. Any idea whats going on?

REWRITE and AUTOEXEC.NOS attached

Jimmy
K3CHB

-------------------------------------------
REWRITE
#############################################################
#                   --- K3CHB-5 ---                         #
#                       REWRITE                             #
#                   --- Jan '20 ---                         #
#############################################################
###          Special destinations: (a.k.a. "areas")       ###
#############################################################
### refuse => send NO (ax.25) or Bad host (smtp)          ###
### nts* => mailbox writable by all (i.e.,kill cmd works) ###
### help => never flag as already read, so L shows all    ###
#############################################################
# ----------------------
*%*@jnos.k3chb* $1@$2 r
*%*@k3chb* $1@$2 r
*%*@localhost* $1@$2 r
# Next, pass real FQDN's unchanged
*@*.edu $1@$2.edu
*@*.com $1@$2.com
*@*.gov $1@$2.gov
*@*.org $1@$2.org
*@*.net $1@$2.net
*@*.mil$1@$2.mil
#-----------------------
# Anything left for @k3chb
# is private mail to users
*@k3chb* $1
#-----------------------
*%*@localhost* $1@$2 r
*!* $2@$1 r
!*  $1 r
#----------------------
# Handle local sysop, and sysop bulls
sysop k3chb
sysop at k3chb* k3chb
sysop at allus usa
sysop@* sysop
*@sysop sysop
######################
### BULLETIN AREAS ###
######################
# Now pass specific bulletins on to our areas
all at ww      ww
all at usa     usa
# -------------
ww@*        ww
allbbs@*	ww
allus@*		usa
allusa@*	usa
# -------------
*@ww        ww
*@usbbs     usa
###############
### HRoutes ###
###############
# *.pa       $1.pa.usa.noam r
# *.us       $1.usa.noam r
# *.na       $1.noam r
# *.pa.*      route-pa
# *.usa.*     route-usa
# *.co.*     route-west
# *.can.*     route-canada
###########################
### FORWARDING PARTNERS ###
###########################
n3dwb@*     n3dwb
ka3bvj@*    ka3bvj
n3fix@*     n3fix
kd3oa@*     kd3oa
k3tar@*     k3tar
ke0gb@*     ke0gb
# ka3tkw@*    ka3tkw
ve1jot@*    ve1jot
#------------
*@n3dwb*    dwbnod
*@dwbnod    dwbnod
*@ka3bvj*   bvjnod
*@bvjnod    bvjnod
*@n3fix*    clybbs
*@clybbs    clybbs
*@k3tar*    k3tar
*@ke0gb*    cosco
*@cosco*    cosco
# *@ka3tkw    ka3tkw
*@ve1jot*   nsjnos
#************
*@ww        ww
*@nts*      nts
#************
*@*         check
*/*         check
*\*         check
*&*         check
*.*         check

-------------------------------------------
AUTOEXEC.NOS - LINUX

######################################
########  JNOS 2.0 | K3CHB-5  ########
######################################
remark "*** STARTING JNOS.K3CHB.AMPR.ORG ***"
index
#########################################
###  Global AX.25 & TCP/IP Parameters ###
#########################################
hostname jnos.k3chb.ampr.org
ip address 44.56.50.5
ax25 mycall K3CHB
ax25 ttycall K3CHB-2
ax25 bbscall K3CHB-5
ax25 alias JNOS5
ax25 bctext "JNOS5:K3CHB-5 --- TCP/IP - DNS - BBS - TALK"
ax25 hsize 20
ax25 maxframe 1
ax25 filter 0
ax25 t2 1000
ax25 paclen 160
ax25 timertype linear
tcp timertype linear
tcp maxwait 3000
tcp retries 2
tcp window 5840
tcp blimit 2
tcp mss 1460
tcp syndata off
######################################
##### ATTACHING DEVICES TO JNOS ######
######################################
#### NETROM
attach netrom
ifconfig netrom mtu 255
# ----------------------------------------------------
#### AGW (running on Windows across the LAN from JNOS)
# ----------------------------------------------------
### attach agwpe agw <ip_address_of_Windows_box_running_AGW> 8000
### attach agwpe hf 192.168.1.104 8001
pause 2
# ----------------------------------------------------
#### TNC-X on ttyUSB0 (1200 bps) [vhf] (/dev/ttyUSB0)
# ----------------------------------------------------
attach asy ttyUSB0 - ax25 vhf 4096 160 1200
# ----------------
#### TNC Commands
# ----------------
# comm <asy_iface> <"text_string">
#
# Sends "text_string", followed by a CR character, to the specified
# asynch interface.  Normally, this command is used to place a TNC
# into KISS mode when JNOS is started, but it may also be useful to
# send AT commands to attached phone modems.
#
# Example 1:  Ensure kiss mode is on
#    comm tnc "kiss on"
#    comm tnc "restart"
#    pause 4
#    param tnc txdelay 10
#
# comm vhf "\300\375\300"
# -----------------------
ifconfig vhf description "145.010 MHz via KA3TKW (1200 bps)"
param vhf up        #130 (129 = down)
param vhf 1  100    #1 Transmit delay
param vhf 2  128    #2 Persistance
param vhf 3   10    #3 Slot time
param vhf 4   10    #4
param vhf 5    0    #5 0=half 1=full duplex
param vhf 8    1    #8 dtr
param vhf 9    1    #9 rts
pause 1
########################################
######   IP Tunneling & Routing   ######
########################################
#  -----------------
## TUN0 (44.56.50.5)
#  -----------------
remark "*** SETTING UP THE AMPRNET... ***"
attach tun tun0 1500 0
ifconfig tun0 description "AMPRNet"
ifconfig tun0 ipaddress 44.56.50.5
ifconfig tun0 netmask 255.255.255.248
ifconfig tun0 mtu 1500
pause 1
shell ifconfig tun0 44.56.50.1 pointopoint 44.56.50.5 up
shell ip route add 44.56.50.5 dev tun0 table 1 src 44.56.50.1
pause 5
# ------------------
## SL0 (192.168.1.44)
# ------------------
remark "*** SETTING UP THE INTERNET... ***"
attach asy ptmx_slip - slip sl0 4096 256 38400
ifconfig sl0 ipaddress 192.168.1.44
ifconfig sl0 netmask 255.255.255.0
ifconfig sl0 mtu 1500
pause 1
shell ifconfig sl0 192.168.1.45 pointtopoint 192.168.1.44 up
shell ip route add 192.168.1.44 dev sl0 table 44 src 192.168.1.45
shell /usr/sbin/arp -i eno1 -Ds 192.168.1.44 eno1 pub
# ---------------
## Routing Tables
# ---------------
route add default sl0
route add 44/8 tun0
route add 44.56.50/29 vhf
domain add 192.168.1.1
domain add 44.88.0.1
domain suffix ampr.org.
domain cache clean on
domain cache size 200
domain cache wait 3600
domain dns on
domain maxwait 60
domain retries 5
domain trace off
domain translate off
domain update off
domain verbose off
####################################
####         ARP Settings      #####
####################################
remark "*** ARP LISTENING.. ***"
arp eaves tun0 on
arp poll tun0 on
arp eaves vhf on
arp poll vhf on
arp publish jnos.k3chb.ampr.org ax25 k3chb-5 vhf
arp publish 44.56.50.5 ax25 k3chb-5 tun0
arp add 44.56.50.5 ax25 qst-0 tun0
arp publish 44.56.50.5 ax25 k3chb-5 vhf
arp add 44.56.50.5 ax25 qst-0 vhf
arp sort on
####################################
###        SMTP & BBS Mail       ###
####################################
pause 1
start forward
start smtp
# smtp gateway 172.16.10.75
smtp mode route
smtp maxclients 8
smtp maxservers 8
smtp t4 900
smtp tdisc 900
smtp timer 303
smtp trace 2
smtp usemx on
smtp batch on
smtp
# source /jnos/mail.cfg
####################################
###       MAILBOX SETTINGS       ###
####################################
mbox qth "Mechanicsburg, PA"
mbox zipcode 17055
mbox haddress k3chb.#epa.pa.usa.noam
# mbox mport vhf on
third-party      on
prompt           on
mbox tmsg "\n K3CHB-5 AX25, NetROM/BPQ  & TCP/IP HamGate  \n Only Licensed Amateur Radio Operators Allowed\n For login [callsign] & your name for password.\n\n"
mbox tdisc       600
mbox timer       3600
mbox attend      on
mbox secure      off
mbox smtptoo     on
mbox header      on
mbox nrid        on
mbox mailfor 900
mbox mailfor watch check
#mbox mailfor exclude
mbox mailfor now
mbox register     on
mbox nobid        off
mbox fbb          2
mbox trace        on
##mbox blacklist    1800
expire           future yes
oldbid           24 90
mbox maxusers    0
mbox sendquery   on
mbox newmail     on
mbox trace       on
mbox fwd [JNOS-2.0m-B1FHIM$]
###########################################
###   Add ALIASES to the command line   ###
###########################################
mbox showalias yes
# ONLY enable the following line if you have an Internet connection
mbox alias RMS "telnet server.winlink.org 8772"
mbox alias BPQ "c ax0 chbnod"
mbox alias URO "telnet uronode.n1uro.ampr.org 3694"
mbox alias JOT "telnet linux.ve1jot.ampr.org 3694"
mbox alias CALLbook "telnet 144.167.99.66 2000"
mbox alias DX "telnet 44.88.0.9 9001"
mbox alias WX "telnet 38.102.137.140"
#####################
###   BULLETINS   ###
#####################
bulletin check    on
bulletin return   on
bulletin date     on
bulletin holdold  45
bulletin loop     2
############################
###    White Page (WP)   ###
############################
wp age            0
wp client         on
wp timer          120
wp server         on
wp support        on
########################
###   POP Services   ###
########################
##pop add 44.102.1.32 9425 00:00-23:59 pop3 ka8pog ka8pog phillip
##pop add 44.102.1.33 9200 00:00-23:59 pop3 ka8pog ka8pog phillip
##popmail addserver 44.135.92.14 28800 pop3 ve3cgr ve3cgr aurora
##popmail trace 1
##popmail quiet off
##popmail kick 44.135.92.14
remark "*** SMTP & BBS MAIL CONFIGURED ***"
pause 2
####################################
###       CONVerse Bridge        ###
####################################
mbox convers on
convers host Mechburg
convers mycall k3chb-12
convers interface vhf on
convers interface tun0 on
convers umaxq 0
convers hmaxq 0
convers maxwait 600
convers channel 56
convers setinfo yes
convers link 44.88.0.9 3600 Hartford
convers link 44.68.41.2 3600 Hub_NA
remark "*** CONVERSE CONFIGURED ***"
################################
###         NetROM           ###
################################
#  Place your CALLSIGN and ALIAS (NetROM Nodename) here:
#  *MUST* be set the SAME as the 'ax25 alias'
#  netrom route add <alias> <destination> <interface> <quality> <neighbor>
netrom alias JNOS5
netrom call K3CHB-5
mode netrom vc
netrom minqual 150
netrom g8bpq on
netrom derate on
netrom promiscuous off
netrom retries 10
netrom tdisc 600
netrom hidden off
netrom nodetimer 1787
netrom interface vhf 192 n
remark "*** NETROM CONFIGURED ***"
#################################
###      TRAFFIC SERVERS      ###
#################################
remark "*** START THE SERVERS ***"
start ax25
start convers
start finger
start remote
start telnet 3694
start telnet
start ttylink
start netrom
start httpvnc
start pop3
start ftp
strace on
trace vhf 0311
ip hport tun0 on
ip hport vhf on
#################
###    FTP    ###
#################
ftpmaxservers 4
ftptdisc 300
pause 1
#####################################
#### Digipeating, JHeard, Beacons ###
#####################################
remark "*** DIGIPEATING, JHEARD, BEACONS ***"
ax25 route add id vhf ka3tkw
ax25 bcport vhf on
ax25 digi vhf on
ax25 digi tun0 on
ax25 hport vhf on
ax25 hport tun0 on
ax25 bcinterval 570
######################################
###          DIREWOLF HF           ###
######################################
remark "*** STILL NEED TO ATTACH THE HF PORT.... ***"
# ----------------
## [hf] (DIREWOLF)
# ----------------
remark "*** DETACHING HF PORT IF ATTACHED ***"
detach hf
remark "*** ATTACHING TCP DEVICE ***"
pause 2
attach asy ptmx_direwolf - ax25 hf 4096 256 19200
ifconfig hf ax25 bctext "K3CHB-5::JNOS/BBS/CHAT/AMPRNet::PENNSYLVANIA"
ifconfig hf Description "Net40 - 7.109.5 MHz (300 bps)"
remark "*** SETTING UP DIREWOLF ON PORT 'HF' ***"
arp eaves hf on
arp poll hf on
arp add 44.56.50.5 ax25 qst-0 hf
arp publish 44.56.50.5 ax25 k3chb-5 hf
arp publish jnos.k3chb.ampr.org ax25 k3chb-5 hf
ax25 bcport hf on
ax25 digi hf on
ax25 hport hf on
ip hport hf on
pause 3
ax25 bc hf
trace hf 0311
mode hf vc
conv interface hf on
remark "*** DIREWOLF ATTACHED ***"
#####################################
###          AX/IP LINKS          ###
#####################################
remark "*** AX/IP WORMHOLES ***"
ax25 paclen 200
ax25 maxframe 1
ax25 bctext "K3CHB-5 : JNOS5 : MECHANICSBURG"
# ----------------
### JUNNOD:W9JUN-5
# ----------------
attach axip ax2 256 44.48.210.1 W9JUN
ifconfig ax2 description "W9JUN.AMPR.ORG"
netrom int ax2 203 n
ip hport ax2 off
ax25 hport ax2 off
mbox hideport ax2 on
# ----------------
### NS105:VE1JOT-7
# ----------------
# 44.135.32.201 | telnet linux.ve1jot.ampr.org 3694
attach axip ax1 256 44.135.32.201 VE1JOT
ifconfig ax1 description "LINUX.VE1JOT.AMPR.ORG"
netrom int ax1 203 n
ip hport ax1 off
ax25 hport ax1 off
mbox hideport ax1 on
# ----------------
### CHBNOD:K3CHB-7
# ----------------
attach axudp ax0 256 192.168.1.121 KC3HB-7 -1 10092
ifconfig ax0 description "K3CHB-7 : CHBNOD : MECHANICSBURG"
mode ax0 vc
netrom interface ax0 228 n
ax25 hport ax0 off
ip hport ax0 off
mbox hideport ax0 on
ax25 route add K3CHB-7 ax0
ax25 route mode K3CHB-7 ax0 vc
trace ax0 0311
##########################################
## Commands after NOS is up and running ##
##########################################
remark "*** POST COMMANDS  ***"
mbox hideport sl0 on
motd "\n  [K3CHB-5] AX25, NetROM/BPQ  & TCP/IP HamGate  \n                 Mechanicsburg, PA \n       Part of the Captain D Network!\n\n"
history 10
prompt off
ax25 bcinterval 570
#session 0 flowmode off
#session 0 split y
sessmgr default curses:bold,8bit
sessmgr options 0 bold,8bit
netrom bcpoll ax0
netrom bcpoll ax1
########################################
###         Scheduled Events         ###
########################################
remark "*** SCHEDULED EVENTS ""
at 0035     "expire 24"
at 0036     "expire now"
at 0040     "wp update 24"
at 0041     "wp update now"
at now+0010 "netrom bcpoll ax1+"
at now+0011 "netrom bcnodes ax1"
at now+0012 "netrom bcpoll ax0+"
at now+0013 "netrom bcnodes ax0"
at now+0014 "netrom bcpoll ax2+"
at now+0015 "netrom bcnodes ax2"
at now+0002 "ax25 bc vhf"
# expire messages each night at 1 a.m.
at 0100 "expire 24"
# delete old bid's every night at 2 a.m., limit is 31 days
at 0200 "oldbid 24 31"
# ----------------------------------------------
remark "      *********** Start the engines *********"
remark "      *         jnos.k3chb.ampr.org         *"
remark "      *     k3chb at k3chb.#epa.pa.usa.noam    *"
remark "      *         Linux    JNOS Power         *"
remark "      *  Debian 10 "Buster" i686 GNU/Linux  *"
remark "      *  POP/SMTP/FTP/CONV/BBS/AXIP/NETROM  *"
remark "      ***************************************"
# EOF



More information about the nos-bbs mailing list