Install paclink-unix
- Configure a single MTA
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plu:test_verify [2016/09/27 15:53] gunn [Common Problems] |
plu:test_verify [2017/12/04 10:21] gunn [Common Problems] |
||
---|---|---|---|
Line 25: | 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 75: | Line 76: | ||
====== Common Problems ====== | ====== Common Problems ====== | ||
- | == Check permissions on the outbox file== | + | |
- | * Make sure user is in group mail. | + | == Make sure user is in group mail == |
- | * Note if you ever send mail as root you will screw up the permissions. Type: | + | * Type: |
<code bash> | <code bash> | ||
groups | groups | ||
</code> | </code> | ||
- | * Expected results | + | == Check permissions on the outbox file== |
- | <code> | + | * 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/ | ls -salt /usr/local/var/wl2k/outbox/ | ||
total 16 | total 16 | ||
Line 91: | Line 94: | ||
4 -rw------- 1 gunn mail 196 Sep 21 15:55 H51W38_N7NIX | 4 -rw------- 1 gunn mail 196 Sep 21 15:55 H51W38_N7NIX | ||
</code> | </code> | ||
- | </code> | + | <code bash> |
ls -salt /usr/local/var/wl2k/ | ls -salt /usr/local/var/wl2k/ | ||
total 20 | total 20 | ||
Line 101: | Line 104: | ||
== Check /etc/postfix/transport file == | == Check /etc/postfix/transport file == | ||
- | * Note hactar & brox are machines on my net. | + | * Note hactar is the local machine & brox is a machine on my local net. |
* The last line is important | * The last line is important | ||
<file> | <file> | ||
Line 135: | Line 138: | ||
echo "test mail from command line" | mutt -s "Test12:56" n7nix@winlink.org | echo "test mail from command line" | mutt -s "Test12:56" n7nix@winlink.org | ||
</code> | </code> | ||
- | * Look for problems in the mail.log file | + | * 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 | ||
+ | * Open up another console window and do this: | ||
+ | <code bash> | ||
+ | tail -f /var/log/mail.log | ||
+ | </code> |