#define LOG_AXHEARD 1024 /* Do ax.25 heard logging on this interface */
#define LOG_IPHEARD 2048 /* Do IP heard logging on this interface */
In order to find the options, add the correct set of options to get
the number shown in the 'flags' field...
These options can be set with the following commands:
mode <iface> datagram|vc
netrom interface <iface> <qual> [n]
convers interface <iface>
ax25 bcport <iface>
mbox mport <iface>
mbox hideport <iface>
ax25 digipeat <iface>
As of 1.06, there are a few new one:
arp eaves <ifave> - toggle arp eaves dropping; this will build the
arp table will all arps heard on the interface given.
arp poll <iface> - toggle arp keep-alive polling when an arp entry
expires.
AX25 heard is now settable per interface !!!
ax hport <iface>
You can set the maximum size of the ax heard table with
ax hsize n
It defaults to 0, wich means no limit.
ip hport <iface> - do ip-heard logging on the interface named.
this shows with 'ip heard', or the mailbox IH
command.
The size of the ip-heard list can be set with
ip hsize n . 0 means no limit. Default is 16
CONFIGURING NOS.EXE AS A FULLSERVICE BBS.
-----------------------------------------
Given in the appendices are all the configuration files
as I use them for the Corvallis area bbs wg7j.or.usa.na. I simply
provide them as an example of a possible configuration. I leave it
up to the individual user 'to find there own little comfort zone'
These files are undergoing continuous evolution as new bbs's, new
bulletin types etc. show up...
In our area we do not use rspf, nntp, pop or any of the 'exotic'
stuff like that, so all that is not configured.
/AUTOEXEC.NOS
------------
My autoexec.nos is pretty straight forward,
and I leave it up to you figure most of it out. I'll elaborate on
a few things.
I use a SCC card, and the SCC driver. We have a 256 byte mtu/paclen,
so buffers of 400 bytes is enough (see elsewhere for more)
me ibufsize 400
me nibufs 20
I run with Watchdog on, just in case the system locks up. Sometime i like
to watch memory status for debugging purposes...
watchdog yes
mem debug on
Next, i setup some some global things: call, tcp hostname and ip address
ax25 mycall wg7j
hostname wg7j
ip address 44.26.1.20
The ax.25 setup is pretty straigt forward.
ax25 version 2
ax25 maxframe 1
ax25 retry 5
ax25 window 1024
ax25 irtt 4500
ax25 timer linear
ax25 t3 0
Give the a 10 minute timeout
ax25 t4 600
AX.25 beaconing; read FCC part 97,
and do as you think is according to the rules...
ax25 bci 600
ax25 bct "CRVBBS in Corvallis, run by Johan, WG7J. (TCP/IP -> 44.26.0.80)"
I have 2 interfaces, one scc card with one radio port (2m)
and a remote pc that talks over a serial port (sysop).
#com3 = kiss to home.wg7j
attach asy 0x3f8 4 ax25 sysop 1536 1024 9600
ifconfig sysop linkaddress bbs
ifconfig sysop descr "to remote sysop PC"
#attach an SCC card at IRQ 4
#init it first
attach scc 2 init 150 4 2 0 1 168 7 p4915200
attach scc 0 ax25 2m 256 d1200 350
I configure the 2m interface for a few small things, like our tcpip subnet
ifc 2m netm 0xffffff00
ifc 2m broad 44.26.1.0
ifc 2m descr "SCC port 1 on 144.92 MHz"
Now i have to activate beacons and mail beacons, and digipeat
ax25 bcport 2m
mbox mport 2m
ax25 digipeat 2m
If you had a tnc in kiss mode, you could set the txtail, etc... parameters
#KISS setup to TNC
#tx-delay (300 ms)
#param 2m 1 30
#persistence
#param 2m 2 63
#slot-time (10ms)
#param 2m 3 16
#tx-tail (50 ms)
#param 2m 4 5
#half duplex channel !
#param 2m 5 0
I forward to some bbs's via an AXIP Internet Wormhole.
I have some exotic digipeater routes to them:
#some routes for wormhole fowarding
ax25 route add k9iu-13 2m wg7j-13
ax25 route add ke7kd 2m wg7j-14 n8khn-2
Time to attach the NET/ROM stuff
#NET/ROM SETUP
#attach pseudo netrom interface
attach netrom
netrom alias crvbbs
Activate the interfaces for netrom, both are in 'verbose' mode
netrom interface 2m 192
netrom interface sysop 224
Setup some timing and retry maximums
netrom retries 5
netrom timer linear
Load the routes files saved at last exit
netrom load
Don't show users '#' nodes !
netrom hidden no
Time for a few IP and TCP related things, see the discussion elsewhere
for more information
ip ttl 25
tcp mss 432
tcp window 864
tcp timer linear
Now the IP routes. The local subnet is on the 2m port.
route add 44.26.1/24 2m
My remote sysop PC sits on the serial connection
route add 44.26.1.19 sysop
Default everything to the Internet gateway
#add the ip routes
route add default 2m 44.26.1.16
IP over netrom is fun to play with. Currently all Portland area
goes to Hank's system in Portland.
add a route to a gateway for all 44.116 traffic
#add w0lri as gateway over netrom
route add 44.116/16 netrom 44.116.0.70
Next adds the appropriate arp entry for that gateway.
arp add 44.116.0.70 netrom w0rli-3
A few things about domain
domain suffix ampr.org.
domain translate off
SMTP needs to be quite, and I use the internet gateway as my default route,
if my rewrite/alias files don't catch the message
smtp quiet yes
smtp mode route
smtp batch on
smtp gateway 44.26.1.16
Start the log
log \spool\net.log
Now start all servers
##ready to start all servers now start smtp
##turn on the bbs for ax25, netrom and telnet connects
start ax25
start netrom
start telnet
start ftp
start smtp
remote -s your-password-here
start remote
start finger
attend off
Setup the mailbox stuff
#we're not home !
mbox attend off
#forward every hour
mb timer 3600
#start forwarding at 10 minutes past the hour
at 10 "start forward"
#'mail for' beacon every half hour
mb mailfor 1800
#don't beacon for these private mailboxes.
mb mailfor exclude indy nevada w0rli n7dxt wa7shp sysop check north south nts
#notify users when new area mail is in
mb new on
#also ask for the 'okay to send'
mb sendquery on
#max 150 messages per group
mb max 150
#the message-of-the-day
mb motd "'?' or 'h command` for help; 'd commands.txt' for command cheat sheet...\nSend local messages to 'users' .Questions to sysop or wg7j...\nEnjoy."
#no jumpstart for these guys
mb jumpstart exclude k7uyx-1 wg7j-3 wg7j-1
mb jumpstart on
mb haddress or.usa.na
mb qth "Corvallis, OR"
mb zip 97330
#don't forward smtp headers over the bbs circuit
mb smtp no
#optimize forwarding by checking the R: lines
bulletin check yes
#use the bulletins origination date
bulletin date yes
#grab return address from R: lines
bulletin return yes
#hold forward loop messages after 2 loops
bulletin loophold 2
#set some timeout values
ftptdisc 600
mbox tdisc 600
netrom tdisc 600
#start some cycles at a certain time
# expire messages each night at 1pm (i'm using utc time)
at 0900 "expire 24"
#delete old bid's every night at 2pm, limit is 21 days
at 1000 "oldbid 24 21"
Finally tell the network we;re there, and poll other jnos1.05 or jnos40
nodes for their netrom routes
##finally tell the netrom network we're there !!
netrom bcnodes 2m
netrom bcpoll 2m
/FTPUSERS
--------
Appendix B, ftpusers, contains entries for the bbs's that
forward to me, as well as those users that have sysop priviledges.
All other regular users are taken care off with the univperm entry;
thus no long list of users is needed. Offcourse you can setup entries
for specific users that have special needs...
(one note: it is imperative that you have one space, and nothing else,
between fields on a line!!!)
The numbers in the file are those found in the MAILBOX USER PERMISSION
section.
/ALIAS
-----
Appendix C, alias, is a simple list of alias names the system
recognized. I like to be known as 'johan' as well as 'wg7j' but always
read mail as wg7j (line 1). Ron, wa7tas, receives his mail via smtp
on his 24hrs setup (line 2). Same for k7mkg.
/SPOOL/AREAS
------------
Appendix D, /spool/areas, simply list all the public
mail areas I let my users access. You should recognize such things
as 'allusa', 'amsat' etc...
/SPOOL/REWRITE
--------------
Appendix E, /spool/rewrite, is where the fun starts !
Before i get into my 'philosophy'; if you don't feel comfortable
with the rewrite mechanism, please refer to or read the 'mailbox.txt'
destributed with this document. That document, written by NQ0I and
SM0RGV, explains the bbs well. Credit goes to those gentlemen.
Again, the following is by no means the best or only way to configure
your system's rewrite mechanism. It is simply the way I run it, and is shown
as an example only. My systems tends to not take a lot of bulletins, to
keep the load down (most are old anyway), but you might decide to do things
different.
Now to the way I 'run mail'. First thing I want to do is catch
all Internet style (ie. SMTP targeted) mail, and make sure that those
messages go as is. Lines 1-4 take care of this by catching most of the
top-level Internet domain names.
*@*.edu $1@$2.edu
*@*.com $1@$2.com
*@*.gov $1@$2.gov
*@*.org $1@$2.org
Next is an example of catching some things you don't want; here
in Oregon some-one pumps in daily astronomical stuff. By the time it gets
to my system it's way old :-( By rewriting it to 'refuse', the bbs will
send a 'NO' as if it already has receive it. Same for some other things
the wormhole bbs's are trying to forward to me.
astro@* refuse
*@dist9 refuse
*@allin refuse
*@okipn refuse
*@allil* refuse
msys@* refuse
fbb@* refuse
mods@* refuse
*@ww refuse
I want users to be able to send mail to sysop on my system without
it being forwarded elsewhere. I take care of this by rewriting
it to the 'wg7j' area (ie. my private mail area)
sysop wg7j
sysop@wg7j* wg7j
Next I send everything else that comes in for sysops to the 'sysop'
area. That way I can participate in receiving and forwarding stuff like
'sb sysop@allor' etc...
sysop@* sysop
Next I place anything addresses to specific mail areas as setup
with the '/spool/areas' files into those mailboxes
tcpip@* tcpip
wanted@* wanted
want@* wanted
need@* wanted
sale@* sale
4sale@* sale
trade@* sale
dx@* dx
humor@* humor
jokes@* humor
happy@* humor
races@* races
fcc@* fcc
amsat@* amsat
arrl@* arrl
ares@* ares
swap@* sale
nasa@* nasa
Then the same thing for the @-distribution names:
*@nasa nasa
*@amsat amsat
*@ares* ares
*@arrl arrl
*@arl arrl
*@pnw pnw
*@allor* allor
*@allusw allusw
*@allus* allusa
NOTE: if you follow this style, it is important that the lines above
are kept in that order (Ie TO sorting FIRST, then AT sorting !!)
Otherwize something like 'amsat@allusa' will end up in the 'allusa' area
instead of the 'amsat' area where I prefer it.
Next I will catch anything destined for my bbs that hasn't been
already caught by a previous rule. At this point, this <should>
only be private mail.
*@wg7j* $1
Then I will catch any mail destined for the bbs's i forward to
and place it in their mailbox to be forwarded.
*@wa7tas* wa7tas
*@wa7shp* wa7shp
*@w0rli* w0rli
*@n7dxt* n7dxt
I place anything destined for a few in-state (ie OR) bbs's that are
north of me into the 'north' mailbox. They get forwarded north-ward
(see forward.bbs)
*@n7hae* north
*@n7vyn* north
*@n7koj* north
*@n7pwf* north
*@wa6gfp* north
*@n7jqk* north
*@ka7agh* north
*@kb7dbd* north
Then I take all local NTS traffic and places it in it's own area.
*@97321* ntslocal
*@9733* ntslocal
*@97370* ntslocal
*@97389* ntslocal
Other in-state NTS goes into the right direction.
*@98* north
*@970* north
*@971* north
*@972* north
*@9730* wa7shp
All out-of-state NTS traffic gets placed into the 'nts' area
for forwarding
*@ntswa* north
*@nts* nts
They idea is, that by rewriting every in-state bbs north of me into
the north area, everything in-state left has to go south !
(Luckily, N7DXT, who gets my south traffic, is forgiving and
will send my mistakes north anyway !)
*@*.or* south
A few other states that go south:
*@*.ca* south
*@*.az* south
*@*.tx* south
These states go to K9IU in Indiana via the wormhole:
*@*.in* indy
*@*.oh* indy
*@*.mi* indy
*@*.ky* indy
*@*.tn* indy
And lonesome KE7KD in Reno get the Nevada traffic:
*@*.nv* nevada
Send all remaining North American mail north (to w0rli, who
has an HF port...)
*@*.eu north
Catch 2 more continents:
*@*.oc south
*@*.as north
And finally, I will catch anything that is left at this point.
It puts it in the 'check' area. The idea here is that I can
manually check the 'check' area and adjust '/spool/rewrite' accordingly !
(and append that mail to the right mailbox file so it goes out!)
'check' is actually an alias, that sends copy of the message to both the
'check' area and my private mailbox, so that i will know right away when some
thing unknown has shown up...
*@* check
/SPOOL/FORWARD.BBS
------------------
As of v1.05, forwarding can now hand 'connect scripts' in the
forward.bbs file. The format of forward.bbs file is expanded:
w0rli <- still the bbs to forward to
ax25 ax0 w0rli <- still how to forward to
[ multiples of:
.send this text
+continue if this string is received
@wait_this_long for a reply ]
w0rli <- the areas to forward...
pnw
north
----------- <- end of this entry
Valid connect-script lines are:
'.' lines are like before. The text following will be sent over the
connection. This line doesn't need to contain text. In that case,
a <cr> only gets send.
NOTE: This will also reset the '+' reply search string to null!
'+' lines set a reply string to search for when a line is being received
with the @ command.
'@' lines set a timeout in seconds in wich to receive a line over the
connection. This is the maximum time the system will
wait for a reply. At this point, an attempt is made to receive a line
from the connection in the time specified.
If nothing is received after the timeout time, forwarding for this
entry is cancelled.
If something is received, and a search string set with the + command,
forwarding will be continued only if the search string appears
somewhere in the line received.
If the search string was not set, forwarding is continued.
NOTE: if the value after @ can not be converted to a number, the
default is 90 seconds.
NOTE: the search string is reset if forwarding continues after the
@ command.
You can have as many of these lines to establish a connection. They need
not be in any particular order.
CAVEAT:
Replies from the connection need to be full lines; ie they have to be
terminated by a proper end-of-line sequence. This means you can not wait
for the login prompt from a NOS system, since those are NOT terminated
with a end-of-line sequence. (see the examples)
You need to know the EXACT reply from systems you connect through.
Each @ command reads only one line of data from the connection (if
any, offcourse). This means that if a system replies multiple lines
after a connection is made, you need multiple @ commands. (see the
examples below). This makes it hard to connect via systems that can
have varying replies, like NOS systems that do not have your system
marked as a BBS, and thus will send welcome messages and varying
message-of-the-day etc...
Some examples:
1- a connection via a netrom neigbour:
w0rli
ax25 ax0 k7uyx-1 <- initial connection to netrom node
.c rlimb <- ask for a netrom connect from this node
+Connected <- if we don't get this, things went wrong
@60 <- maximum one minute wait !
w0rli <- forward these areas...
pnw
allor
---------
2- a connection via a JNOS system .
This assumes that you are marked as a BBS at the JNOS system, so that
you only get a '[JNOS...] and '>' prompt...
n7dxt
ax25 iposu <- initial connection to the JNOS system
+[JNOS <- wait for sign-on message from the JNOS box
@15 <- don't wait longer then 15 seconds
+> <- wait for the prompt
@15 <- wait 15 seconds at the most
.c ax0 n7dxt <- next, request a gateway connect
+Trying <- NOS replies it's trying...
@15 <- wait 15 secs max.
+Connected <- wait for 'IPOSU:WG7J-3} Connected to N7DXT'
@60 <- wait 60 secs max
n7dxt <- send these following areas
pnw
allor
----------
3- A connection to a JNOS system, and from there a telnet to a remote bbs
(again, assumes your system is marked as a bbs !)
wg7j
ax25 con iposu <- initial connection to JNOS
+[JNOS <- sign-on from JNOS
@15 <- shouldn't take too long
+> <- next is the prompt
@15 <- not too long either
.t wg7j.ampr.org. <- ask for a telnet connect
+Trying <- JNOS is trying
@15 <- should come pretty soon
+connected <- wait for '*** connected to xxx'
@45 <- might take a while
@30 <- wait for another (blank) line
+NOS <- now come the telnet sign-on message
@30 <- wait for this
@30 <- after this is a blank line, wait for it
.w0rli <- now we get 'login:' and "Password:" prompts,
.whomever <- but they have <cr>'s, so just send them
sysop <- we're there, forward these areas.
allor
wg7j
pnw
nos
------
Appendix F, /spool/forward.bbs, details the forwarding my system
will attempt. I don't care when forwarding occurs, so none of the first
line entries have time fields (lines 1,10 and 19). Lines 2,11 and 20
show how I attempt to connect to the remote bbs. All go over netrom
(my only way out :-( ), but for WA7SHP I need to downlink from a distant
node (salem) to his bbs (lines 21,22 and 23)
The areas I forward are mostly regional bulletins, nts traffic,
and personal mail (as shown earlier, the north and south entries)
I don't forward any of amsat,allusa,allusw because I don't want to
clutter an already loaded system; the surrounding area bbs's get these
things to each other just fine without my 'interference :-)'
/ONEXIT.NOS
-----------
Appendix G, /onexit.nos, simply is a set of valid NOS.EXE
commands to be executed before returning to DOS. In line 1,
I tell the netrom system one last time I am there (to try to keep
my route alive while I am gone). Next I save the netrom routes
to disk for later retrieval at startup via the netrom load command.
GATEWAYING BETWEEN SMTP AND AX.25 BBS STYLE MAIL
------------------------------------------------
If your system is serving both the 'regular' packet
community (ie. people with just tnc's) as well as the tcp/ip-ers
with mail forwarding, here are a few hints on how one could set things
up.
The following assumes that the host 'ka7ehk.ampr.org'
sends mail to 'w0rli@w0rli.or.usa.na', and uses 'wg7j.ampr.org' as the
mail gateway that talks to the bbs-network. wg7j's bbs style H-Address
is WG7J.OR.USA.NA . The rewrite file in appendix E is also used as an
example of how the gateway system handles mail.
NOS.EXE is fully capable of exchanging mail from SMTP world to
BBS world and vice versa. Thus it can act as the gateway between the two
different systems. The key to understanding how this works is to realize
that the smtp-server ALSO READS REWRITE when mail comes in that way !
(as a matter of fact, even mailbox mail goes through the smtp-server !)
You should also (again) check the diagram in mailbox.txt...
MAIL FROM SMTP --> AX.25.
--------------------------
When sending mail via smtp that eventually should end up in the bbs
network, the meaning of the previous is as follows:
When ka7ehk.ampr.org connects to wg7j.ampr.org and sends the
address of the mail, the smtp-server will deposit this in the 'w0rli.txt'
mailbox (rewrite line 24). Next time the forward timer ticks, forwarding
will be attempted, and you're in business !
How does one set this up on the user side ?
The easiest way to set this up for the user is to tell the user
to use your system as the mail gateway ! The 'smtp gateway' commands
sets a hostname that ALL UNKNOWN MAIL will be sent to. Unknown mail is
mail to addresses that cannot be found in /domain.txt (or from the domain
name server if configured). Since most bbs style addresses will not be in
there, this means that those mails will go to the gateway !
(remember: tcpip hostnames most often end in ampr.org, whereas bbs style
H-Address are something like WG7J.OR.USA.NA. The latter thus will not be found
in /domain.txt!)
Thus a simple
'smtp gateway yourhost'
where yourhost is the gateway's name (as in domain.txt) or ip-address,
suffices !
There is another way a user can send the above mail. However this a bit more
involved and is not as easy for users. It involves a little more of an
understanding of the ways smtp addressing works. It also requires an
additional line in rewrite ! It simply given for completeness.
User's can manually address mail to a gateway, with the to-address
format 'user%hostname@gateway'.
Eg. the above mail could be addressed as 'w0rli%w0rli.or.usa.na@wg7j.ampr.org'
In order to handle these sorts of mail address,es you should add a line similar
to '*%*@wg7j* $1@$2 r' to your rewrite file. Just replace wg7j with the
your system's name. This line will rewrite all %-addresses into a regular
address (ie. the above becomes 'w0rli@w0rli.or.usa.na'), and then rescan
with the new address to find more rewrite rules. Thus the mail ends up in
the 'w0rli.txt' mailbox again.
Then ka7ehk.ampr.org would again deliver the mail to wg7j.ampr.org,
and the process would be identical to described above.
MAIL FROM AX.25 --> SMTP
--------------------------
Let's use as an example a reply from w0rli to ka7ehk.
Since bbs's use the last R: header as the return system, a reply mail
will be sent to my system as 'S KA7EHK@WG7J.OR.USA.NA < W0RLI' ,
or as 'S KA7EHK < W0RLI' depending on the pbbs software.
In order to deal with the first case, rewrite line 22 is needed.
This rewrites the address into simply 'ka7ehk'
Next, you as sysop have 3 options for delivery of the message:
1 - ka7ehk has to login to your system in order to read his mail.
Simply do nothing !
2 - you want to forward mail to ka7ehk on his home system using smtp
You need to add an alias to handle this. The line
'ka7ehk ka7ehk@ka7ehk.ampr.org' will do the job.
This might cause lots of attempts for smtp if ka7ehk's system isn't
on the air a lots (ie. like most users!)
Better then is:
3 - Let ka7ehk automatically get his mail with POP each time he turns
his system on. The gateway sysop and the user both need to configure
this appropriately. See nos_1229.man for more details.
POP SERVICES IN NOS
-------------------
The following is also contributed by Doug Cromptom, WA3DSP:
How to use POP in NOS
---------------------
The HOST should establish a 'POPUSERS.' file in root with the following
format:
username:password:
username:password:
etc.
There should be an entry for each user of your POP system. We generally
use call letters for both entries. I.E. wa3dsp:wa3dsp:
The following applies to the old NOS POP2 server/client prior to WG7J
1.02
-------------
The HOST must also start the pop server 'start pop' which should go in
your NOS autoexec.
Each USER must add the following lines to there autoexec:
'pop mailbox CALL'
Where CALL is the name of the mailbox on the host
to retrieve mail from. The /spool/mail/CALL.txt file.
Usually the users call.
'pop mailhost hostname'
This specifies what host to pop from.
I.E. 'pop mailhost wa3dsp.ampr.org'
'pop userdata user password'
This data should match the data in the
hosts /popuser file.
I.E. 'pop userdata wa3dsp wa3dsp'
'pop timer 3600'
For stations that are on for extended periods
and receive there mail via pop from a mailhost
this timer must be set to interrogate the host
on a regular basis. Alternatively they could
do a 'pop kick' to check for mail. Time should
be set to probably no less than 1/2 hour on a
radio circuit.
'pop kick'
This should be entered at the end of your
autoexec to check for mail from your mailhost
at startup.
So the autoexec entries would look like this for USER w3iwi...
pop mailbox w3iwi
pop mailhost wa3dsp.ampr.org
pop userdata w3iwi w3iwi
pop timer 3600
pop kick
and HOST wa3dsp's autoexec...
start pop
HOST wa3dsp's popusers. in root....
w3iwi:w3iwi:
For NOS POP2/3 server client WG7J 1.02 and later.
------------
The method of entering client pop server information has been changed!!
All information is added on one line with the 'pop addserver' command.
It has the following syntax:
pop add <mailserver> <seconds|time> <protocol> <mailbox> <username> <password>
Using the above old version example it would be entered like this:
pop add wa3dsp.ampr.org 3600 pop2 w3iwi w3iwi w3iwi
This is assuming POP2 protocol. It is advisable to use POP3 and if your
server supported it the POP2 would be replaced with POP3. NOS can be
compiled to include any combination of POP2/3 server client. If one
protocol was not supported in your compile it would not be allowed in
the command. Refer to the old version above for a definition of the
fields.
Since multiple servers can be defined using the 'pop add' command the
'pop kick' command now takes the form 'pop kick <server>' or in the
above example:
pop kick wa3dsp
The 'pop add' and 'pop kick commands are the only ones needed in the
autoexec file to initialize pop. 'pop list' will show the current
defined servers.
The server must start pop. Since both pop2 and pop3 servers can now be
present the appropriate command are:
start pop2
start pop3
--------------------
A few other points...
If a pop users wants mail to be delivered to the host for them to pick
up via POP they should enter a 'reply to' field in BM.RC to direct
mail to the host and not back to them.
POP is a very good service for Amateur Radio. It is especially good
when a flood of messages are sent out to all users. This is a condition
that often causes crashes on memory marginal systems using SMTP. Also
alot of unnecessary traffic is sent out to stations that are not on the
air. With POP the user asks for and gets mail. This is naturally a random
operation. Lowering channel congestion and NOS memory usage.
Mail that is POP'ed from the host is deleted from the /spool/mail
directory upon successful transfer. The USER is notified that new
mail has arrived at the completion of the entire transfer.
One drawback that I notice with POP is that the messages (many could
build up) for a user are sent as a group. If the circuit fails with
a hard error halfway thru a POP xfer of a message group, no messages
are saved at the user end, even though some got thru. It is an all
or none with POP. This reminds me of the stupidity of BBS's in this
regard. Hopefully users will not let messages build up. I have some
users who let the mail build up to 30 or 40K over a few weeks.
EPILOGUE.
--------
I hope all this proves helpful for those interested in setting up
ax25 bct "CRVBBS in Corvallis, run by Johan, WG7J. (TCP/IP -> 44.26.0.80)"
#com3 = kiss to home.wg7j
attach asy 0x3f8 4 ax25 sysop 1536 1024 9600
ifconfig sysop linkaddress bbs
ifconfig sysop descr "to remote sysop PC"
#attach an SCC card at IRQ 4
#init it first
attach scc 2 init 150 4 2 0 1 168 7 p4915200
attach scc 0 ax25 2m 256 d1200 350
ifc 2m netm 0xffffff00
ifc 2m broad 44.26.1.0
ifc 2m descr "SCC port 1 on 144.92 MHz"
#active beacons and mail beacons
ax25 bcport 2m
mbox mport 2m
ax25 digipeat 2m
#KISS setup to TNC
#tx-delay (300 ms)
#param 2m 1 30
#persistence
#param 2m 2 63
#slot-time (10ms)
#param 2m 3 16
#tx-tail (50 ms)
#param 2m 4 5
#half duplex channel !
#param 2m 5 0
#some routes for wormhole fowarding
ax25 route add k9iu-13 2m wg7j-13
ax25 route add ke7kd 2m wg7j-14 n8khn-2
#NET/ROM SETUP
#attach pseudo netrom interface
attach netrom
netrom alias crvbbs
netrom interface 2m 192
netrom interface sysop 224
netrom retries 5
netrom timer linear
netrom load
netrom hidden no
ip ttl 25
tcp mss 432
tcp window 864
tcp timer linear
#add the ip routes
route add default 2m 44.26.1.16
#remote sysop pc
route add 44.26.1.19 sysop
#add w0lri over netrom
route add 44.116/16 netrom w0rli.ampr.org
arp add 44.116.0.70 netrom w0rli-3
domain suffix ampr.org.
domain translate off
smtp quiet yes
smtp mode route
smtp batch on
smtp gateway 44.26.1.16
log \spool\net.log
##ready to start all servers now start smtp
##turn on the bbs for ax25, netrom and telnet connects
start ax25
start netrom
start telnet
start ftp
start smtp
remote -s wg7jjj
start remote
start finger
attend off
mbox attend off
#forward every hour
mb timer 3600
at 10 "start forward"
#'mail for' beacon every half hour
mb mailfor exclude indy nevada w0rli n7dxt wa7shp sysop check north south nts
mb mailfor 1800
mb new on
mb sendquery on
#max 150 messages per group
mb max 150
mb motd "'?' or 'h command` for help; 'd commands.txt' for command cheat sheet...\nSend local messages to 'users' .Questions to sysop or wg7j...\nEnjoy."
mb jumpstart exclude kf7dq-1 wg7j-3 wg7j-1
mb jumpstart on
mb haddress or.usa.na
mb qth "Corvallis, OR"
mb zip 97330
mb smtp no
bulletin check yes
bulletin date yes
bulletin return yes
bulletin loophold 2
#set some timeout values
ftptdisc 600
mbox tdisc 600
netrom tdisc 600
#start some cycles at a certain time
# expire messages each night at 1pm (i'm using utc time)
at 0900 "expire 24"
#delete old bid's every night at 2pm, limit is 21 days