| 1 |
axMail - an SMTP mailbox for the various linux node frontends. |
| 2 |
|
| 3 |
axMail appears to work with most linux based MTAs (Mail Transport Agent) |
| 4 |
but not all, and I haven't had a chance to test it with them all either, |
| 5 |
nor do I honestly care to install every MTA available for linux to do such |
| 6 |
so if you do run an MTA *not listed* below, please feel free to email me |
| 7 |
at: <[email protected]> and I'll add your report to this list. Consider this |
| 8 |
file a 'work in progress' as with the software itself. How to test is |
| 9 |
listed at the bottom. |
| 10 |
|
| 11 |
PostFix - tested fine |
| 12 |
Exim - tested fine |
| 13 |
Smail** - failed tests, and also causes a total loss of end user mail! |
| 14 |
Sendmail* - <unknown> |
| 15 |
Qmail*** - <unknown> |
| 16 |
|
| 17 |
* - In theory, the sendmail MTA should be ok since both exim and postfix |
| 18 |
have sendmail compatable binaries/symlinks/etc. |
| 19 |
|
| 20 |
** - I don't know what it is with the smail MTA, but for some reason *all* |
| 21 |
mail gets lost during the internal transfers from the system mailbox |
| 22 |
and back to the system mailbox. Since smail has basically been |
| 23 |
abandoned in favor of exim, I don't personally foresee this as an |
| 24 |
issue. |
| 25 |
|
| 26 |
***- I've never installed a qmail system before and honestly don't feel |
| 27 |
like doing that now hi!.. so if you run qmail and it works ok, please |
| 28 |
let me know and I'll change it's status |
| 29 |
|
| 30 |
If there's an MTA that I have missed and you've tested it and it works |
| 31 |
please inform me and I'll add your results here. |
| 32 |
|
| 33 |
|
| 34 |
How to test axmail: |
| 35 |
|
| 36 |
You can run axmail at a command prompt!.. all it requires is that you put |
| 37 |
your callsign after it. BEFORE you run this via a commandline however I |
| 38 |
strongly suggest you make a backup of your system mail spool file by |
| 39 |
typing: cp /var/spool/mail/call /var/spool/mail/call.bak this way here if |
| 40 |
there is an issue and you have mail waiting, you won't lose any mail. |
| 41 |
|
| 42 |
I'll assume your account on your box is your callsign, so in my case I would |
| 43 |
execute: |
| 44 |
n1uro@nat-client0:~$ /usr/sbin/axmail n1uro |
| 45 |
and the standard greetings should appear along with the prompt and any |
| 46 |
mail waiting should appear listed. |
| 47 |
|
| 48 |
Pending the above test worked ok and unread/undeleted mail was saved back |
| 49 |
into the system mailbox, try it from the node as a user who doesn't have |
| 50 |
an account on the box. Hopefully when you exit, it'll tell you that you |
| 51 |
have new mail waiting! Go back in and you should see the welcome.txt file |
| 52 |
from /etc/ax25 listed as a greeting email message. |
| 53 |
|
| 54 |
Other quick FAQs: |
| 55 |
|
| 56 |
axMail works by comparing the user's system mail spool file, and as well |
| 57 |
as any existing axMail saved mail and merges them together 'offline' for |
| 58 |
lack of a better word to use. It then takes this mail and allows the user |
| 59 |
to read/reply/delete/save/etc. |
| 60 |
|
| 61 |
axMail has *always* supported file attachments, after all a file attachment |
| 62 |
is just an encoded file appended to the body of the email message... its just |
| 63 |
that most every client now-a-day automatically encodes/decodes them for you |
| 64 |
and you assume that a file attachment is a seperate entity. All you need to |
| 65 |
do to send and receive attachments via a packet terminal is the following |
| 66 |
(examples taken from a linux terminal); |
| 67 |
|
| 68 |
Sending: First encode the file by using uuencode. To do this run |
| 69 |
uuencode filename filename |
| 70 |
or if you want to make a file of it run: uuencode file file > file1 |
| 71 |
then copy and paste that encoded text in it's full into the body of |
| 72 |
the mail message and send it. |
| 73 |
|
| 74 |
Receiving: copy and paste the output of your message into a temporary |
| 75 |
file and then run "uudecode -o filename tempfile". You will now have |
| 76 |
a pdf/doc/text/jpg file sent to you by someone. |
| 77 |
|
| 78 |
axMail now supports sending of fax transmissions! To configure axMail to |
| 79 |
be able to do such, configure an account with an online fax service such |
| 80 |
as eFax where you can email faxes and put the email address you'd use to |
| 81 |
send faxes to in a _new line_ called "FaxGate" inside /etc/ax25/axmail.conf. |
| 82 |
When users attempt to send a fax, your account will be hidden from them and |
| 83 |
all they'll see is that they're sending to "a" fax gateway system. |
| 84 |
|
| 85 |
People have asked about why new incoming mail isn't seen until after the |
| 86 |
user logs out of axMail. If axMail read directly off of the system |
| 87 |
mailspool file, then it'd lock out any new incoming mail from being posted |
| 88 |
to the user's mailbox as it'd have a lock on the spool file, and the |
| 89 |
message numbers could also possibly change while the user goes to select a |
| 90 |
message number to read. This would be very confusing to the end user. |
| 91 |
|
| 92 |
If you wish to allow users to use the internet or packet TCP/IP to pop3 |
| 93 |
their mail from your system, they may do so... however keep in mind, any |
| 94 |
mail they read or list manually within axMail will have it's status |
| 95 |
changed from "new". As we all know about the pop3 protocol, mail not |
| 96 |
flagged as "new" isn't popped but it's considered as if the client is |
| 97 |
using a software package such as eudora or outlook (to name a couple... |
| 98 |
notice which I listed first? hi!) and they have their options set to leave |
| 99 |
a copy of their mail on the server. The user will have to log into your |
| 100 |
node and retrieve their mail from there. After all, isn't part of running |
| 101 |
packet node services is to encourage hams to actually use their radios to |
| 102 |
get to such things? :) All you as sysop/root on the box need to do is |
| 103 |
ensure that a pop3 daemon is installed and running, and that you configure |
| 104 |
axMail.conf to give the end user proper permissions in their shell to be |
| 105 |
able to use your pop3 daemon. |
| 106 |
|
| 107 |
I've gone to many days worth of studying how most boxes are configured |
| 108 |
I've taken it upon myself to try and get axMail as 'bullet proof' and as |
| 109 |
simple a process as it can possibly be. Unfortunately the program can not |
| 110 |
read your mind so you'll have to do *some* config work to it... but |
| 111 |
otherwise it should be a nice low-ram low-resource system for you and your |
| 112 |
users to enjoy. |
| 113 |
|
| 114 |
Comments and questions are always welcomed! |
| 115 |
|
| 116 |
73 de Brian N1URO |