Test & Verify
Need More Data
If you have a problem & I ask you for more data go
here
AX.25 to TNC connection
mheard
listen
E-mail client & MTA (postfix) config
Compose an e-mail with your e-mail client & send e-mail
A file should appear in the paclink-unix outbox waiting for a pending transport operation via wl2ktelnet, wl2kax25 or wl2kserial
ls -salt /usr/local/var/wl2k/outbox
Directory of /usr/local/var/wl2k
drwxrwsr-x 3 gunn mail 4096 Nov 2 2013 ./
drwxr-sr-x 4 root staff 4096 Nov 2 2013 ../
drwxrwsr-x 2 gunn mail 4096 Dec 7 2013 outbox/
-rw------- 1 gunn mail 12288 Jan 5 14:55 mid.db
groups
id
Winlink connection test telnet/ax.25
wl2ktelnet test
wl2ktelnet will test your mail & paclink-unix config and does not touch your TNC or radio.
You must have an internet connection to make this work as it uses the
telnet internet protocol
Compose a message addressed to your callsign, verify that a file appears in the outbox and send with telnet.
wl2ktelnet
man wl2ktelnet
wl2kax25 test
Repeat the above test but use the wl2kax25 program instead of wl2ktelnet.
-
<someRMSGateway> will be a valid ham callsign with usually but not always having a sid of 10
<someDigitpeater> will be any alphanumberic restricted to 8 characters in length
wl2kax25 -c <someRMSGateway>
# or
wl2kax25 -c <someRMSGateway> <someDigipeater>
man wl2kax25
Common Problems
Make sure user is in group mail
Check permissions on the outbox file
ls -salt /usr/local/var/wl2k/outbox/
total 16
4 drwxrwsr-x 2 gunn mail 4096 Sep 21 16:48 .
4 -rw------- 1 gunn mail 214 Sep 21 16:48 V1IRQZ_N7NIX
4 drwxrwsr-x 3 gunn mail 4096 Sep 21 15:55 ..
4 -rw------- 1 gunn mail 196 Sep 21 15:55 H51W38_N7NIX
ls -salt /usr/local/var/wl2k/
total 20
4 drwxrwsr-x 2 gunn mail 4096 Sep 21 16:48 outbox
4 drwxrwsr-x 3 gunn mail 4096 Sep 21 15:55 .
8 -rw------- 1 gunn mail 12288 Sep 21 15:55 mid.db
4 drwxr-sr-x 4 root staff 4096 Jul 7 12:49 ..
Check /etc/postfix/transport file
# cat transport
#
localhost :
hactar local:
hactar.localnet local:
brox smtp:[brox.localnet]
brox.localnet smtp:[brox.localnet]
#
* wl2k:localhost
Make sure you are addressing To: person with winlink.org
Make sure your /etc/postfix/master.cf entry is correct especially user
wl2k unix - n n - 1 pipe
flags=XFRhu user=gunn argv=/usr/local/libexec/mail.wl2k -m
Open 2 console windows for debugging
tail -f /var/log/mail.log
echo "test mail from command line" | mutt -s "Test12:56" n7nix@winlink.org
# from command line or script
echo “This will go into the body of the mail” | mail -s '//WL2K cmd line test' -a "From: yourcallsign@winlink.org" -a "Reply-To: yourcallsign@winlink.org" some_regular_email_address
tail -f /var/log/mail.log