Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
plu:test_verify [2014/01/20 12:24]
gunn [listen]
plu:test_verify [2017/12/04 10:19]
gunn [Common Problems]
Line 1: Line 1:
 ====== Test & Verify ====== ====== Test & Verify ======
 +===== Need More Data =====
 +  * If you have a problem & I ask you for more data go [[plu:​test_verify:​need_more_data | here]]
  
 ===== AX.25 to TNC connection ===== ===== AX.25 to TNC connection =====
Line 6: Line 8:
  
 ==== mheard ==== ==== mheard ====
 +  * //mheard// is found in the ax25-tools package or tar ball
   * Display information about most recently heard AX.25 calls   * Display information about most recently heard AX.25 calls
 <code bash> <code bash>
Line 13: Line 16:
  
 ==== listen ==== ==== listen ====
-  * //listen// is one of the programs ​found in ax25-apps+  * //listen// is found in the ax25-apps ​package or tar ball
   * Monitor network AX.25 traffic heard by the system.   * Monitor network AX.25 traffic heard by the system.
 <code bash> <code bash>
Line 22: Line 25:
 ===== E-mail client & MTA (postfix) config ===== ===== E-mail client & MTA (postfix) config =====
   * Compose an e-mail with your e-mail client & send e-mail   * Compose an e-mail with your e-mail client & send e-mail
 +    * [[plu:​email_client_config | set up an e-mail client]]
   * A file should appear in the paclink-unix outbox waiting for a pending transport operation via wl2ktelnet, wl2kax25 or wl2kserial   * A file should appear in the paclink-unix outbox waiting for a pending transport operation via wl2ktelnet, wl2kax25 or wl2kserial
 <code bash> <code bash>
Line 38: Line 42:
 <code bash> <code bash>
 groups groups
 +</​code>​
 +  * or
 +<code bash>
 +id
 </​code>​ </​code>​
 ===== Winlink connection test telnet/​ax.25 ===== ===== Winlink connection test telnet/​ax.25 =====
Line 66: Line 74:
 man wl2kax25 man wl2kax25
 </​code>​ </​code>​
 +
 +====== Common Problems ======
 +
 +== Make sure user is in group mail ==
 +  * Type:
 +<code bash>
 +groups
 +</​code>​
 +
 +== Check permissions on the outbox file==
 +  *  Note if you ever send mail as root you will screw up the permissions.
 +    * Check your permissions in your outbox directory like this:
 +<code bash>
 +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
 +</​code>​
 +<code bash>
 +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 ..
 +</​code>​
 +
 +== Check /​etc/​postfix/​transport file ==
 +  * Note hactar is the local machine & brox is a machine on my local net.
 +    * The last line is important
 +<​file>​
 +# cat transport
 +#
 +localhost ​     :
 +hactar ​      ​local:​
 +hactar.localnet ​ local:
 +brox smtp:​[brox.localnet]
 +brox.localnet smtp:​[brox.localnet]
 +#
 +*         ​wl2k:​localhost
 +</​file>​
 +
 +== Make sure you are addressing To: person with winlink.org ==
 +
 +== Make sure your /​etc/​postfix/​master.cf entry is correct especially user ==
 +  * Example:
 +<​file>​
 +wl2k      unix  -       ​n ​      ​n ​      ​- ​      ​1 ​     pipe
 +  flags=XFRhu user=gunn argv=/​usr/​local/​libexec/​mail.wl2k -m
 +</​file>​
 +
 +== Open 2 console windows for debugging ==
 +  * In one console window type:
 +<code bash>
 +tail -f /​var/​log/​mail.log
 +</​code>​
 +
 +  * In another console window type:
 +
 +<​code>​
 +echo "test mail from command line" | mutt -s "​Test12:​56"​ n7nix@winlink.org
 +</​code>​
 +  * or using the //mail// program
 +<code bash>
 +# 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
 +</​code>​
 +  *  [[plu:​email_client_config#​mutt_and_mail | Link to set up]] //mutt// or //mail//
 +  * Look for problems in the /​var/​log/​mail.log file
plu/test_verify.txt · Last modified: 2017/12/04 10:21 by gunn
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0