| 1 |
axMail - an SMTP mailbox for the various linux node frontends |
| 2 |
and outbound FAX engine. |
| 3 |
|
| 4 |
Current author: Brian Rogers (N1URO) <[email protected]> |
| 5 |
Past author: Marius Petrescu (YO2LOJ) <[email protected]> |
| 6 |
Creator: Heikki Hannikainen (OH7LZB) <[email protected]> |
| 7 |
|
| 8 |
Additional Submissions: Stefano (IW3IJQ) <[email protected]> |
| 9 |
|
| 10 |
As with any of the softwares I tweek n geek, *use at your own risk*! |
| 11 |
With that said, and the fact that this is GPL software if you find |
| 12 |
something that's borked... don't just submit a bug report. Fix it if |
| 13 |
you can. Rerelease it under your own callsign if you wish, or feel free |
| 14 |
to send me your code and I'll import it in. |
| 15 |
|
| 16 |
This is probably one of the simplest packages to install and configure! |
| 17 |
After you run tar zxvf axmail-###.tgz cd axmail-#### (which is where |
| 18 |
you should be now if you're reading this :) ) and run: |
| 19 |
|
| 20 |
make; make install |
| 21 |
Note: If you have clamsmtp and your clamsmtpd.conf is in /usr/local/etc, |
| 22 |
symlink it to /etc. |
| 23 |
|
| 24 |
(on newer gcc/libs I do know that there's a warning after it makes but |
| 25 |
it doesn't prevent the binary from compiling and so far it seems to test |
| 26 |
ok. I'll fix that if and when I get the chance but don't hold your breath |
| 27 |
on it hi!) |
| 28 |
|
| 29 |
cd /usr/local/etc/ax25 and using your favorite editor (vi, joe, pico, etc) and |
| 30 |
edit axmail.conf. In here you can specify how you wish the mailbox |
| 31 |
to handle accounting for end users. On *most* linux systems, the default |
| 32 |
should be "ok" but if you wish to have users contact you first, or if |
| 33 |
you wish to have the system auto-create a standard shell login, or popmail |
| 34 |
account for the users, etc... you may do so in the file. Double check your |
| 35 |
settings (it *is* possible you can configure axmail.conf so that everyone |
| 36 |
has root-group access... but why would you wish to do that? You've been |
| 37 |
*warned* so double check your config settings for auto-creation of |
| 38 |
accounts before saving!) The file is well commented to assist you. When |
| 39 |
you're finished and have become an expert, if you wish to you can delete |
| 40 |
the comment lines. |
| 41 |
|
| 42 |
You may also customize the file "welcome.txt" in /usr/local/etc/ax25/ if you |
| 43 |
wish to also. I suggest leaving the first line as-is as this is the so called |
| 44 |
"new user" welcome greeting email. I've supplied a basic and short |
| 45 |
greeting email message that users will get once they've created their |
| 46 |
mailbox. If you would rather new users email your mail account directly |
| 47 |
instead of root, you may wish to change that line. |
| 48 |
|
| 49 |
For the software itself... believe it or not, you're *DONE*! That's all! |
| 50 |
However... now we need to get it hooked into which ever node frontend you |
| 51 |
run so that users have a way of accessing it. axMail runs as an external |
| 52 |
process (ExtCmd) to the node. I've tested it with URONode (obviously) and |
| 53 |
with LinuxNode by Tomi. To do this cd /usr/local/etc/ax25 and using your |
| 54 |
favorite editor open node.conf and add the following line to your ExtCmds: |
| 55 |
|
| 56 |
ExtCmd MAil 1 root /usr/local/sbin/axmail axmail %u |
| 57 |
(note: MA in the word MAil is in CAPS) |
| 58 |
|
| 59 |
Save uronode.conf and telnet in to test! It should work just fine. Since you |
| 60 |
would have an existing account on your server, it's unlikely that you'll |
| 61 |
get the welcome message, but since you can edit it, you'll know what it |
| 62 |
says :) |
| 63 |
|
| 64 |
**ERROR 1** |
| 65 |
*** Note: |
| 66 |
If you're installing axMail-FAX via source, but your MTA (aka: postfix) |
| 67 |
was installed from repository packaging, you may need to create a symlink |
| 68 |
to your users mail file directory... typically: |
| 69 |
/var/spool/mail/ -> /usr/local/var/spool/mail/ |
| 70 |
If you don't do this, users will NOT see their incoming mail. |
| 71 |
*** |
| 72 |
|
| 73 |
Happy mailing! |
| 74 |
|