| 1 |
axMail - an SMTP mailbox for the various linux node frontends. |
| 2 |
|
| 3 |
PREFACE: |
| 4 |
|
| 5 |
First off, sincere thanks to those who have written to tell me that |
| 6 |
they use axMail, like what I've done to axMail, and for the |
| 7 |
enthusiasm shown via words and/or code contributions for the program |
| 8 |
in hopes of keeping packet radio networks around the world alive! |
| 9 |
|
| 10 |
INTRO: |
| 11 |
|
| 12 |
Greetings and thanks for taking a look at the program. Below I've posted |
| 13 |
a kind of history of the program to the best of my knowledge taking text |
| 14 |
from existing files. Rather than trying to reinvent the wheel and after |
| 15 |
seeing this program before on Labrat's radio.linux.org.au site, I decided |
| 16 |
to try and give some life into it... partially with the assistance of Phil |
| 17 |
N1XTB nudging me pretty consistantly for many months in helping him get an |
| 18 |
SMTP agent in his linux based packet node server without having to install |
| 19 |
an xNOS overhead node ontop it. :) |
| 20 |
|
| 21 |
Please do take a moment and read the text based files included with this |
| 22 |
package so you're a bit familiar with what it does so that you don't get a |
| 23 |
false perception as to what it can and/or can not do. axMail just might |
| 24 |
not be what you're looking for or expecting for a node based plugin |
| 25 |
|
| 26 |
CHANGE HISTORY: |
| 27 |
axMail 2.13 |
| 28 |
Updated June 24, 2021 |
| 29 |
- Went through the code and fixed multiple compile warnings. Warnings do not |
| 30 |
affect the program/binary from compiling or funcitioning BUT rather gives |
| 31 |
the author(s) a warning that possible compile instructions may have changed |
| 32 |
or are changing. |
| 33 |
|
| 34 |
axMail 2.12.2 |
| 35 |
Updated January 18, 2021 |
| 36 |
- Fixed bug in mailcmd.c where sending acted funky on 64 bit systems. |
| 37 |
axMail would segfault out before properly returning the user back to |
| 38 |
the mailbox prompt. |
| 39 |
- While at it also fixed some compiler warnings in mailcmd.c |
| 40 |
- edited defines.h to fix old path from /var/ax25 to /var/lib/ax25 |
| 41 |
- edited defines.h to reflect this version. |
| 42 |
|
| 43 |
axMail 2.12.1 |
| 44 |
Updated January 17, 2021 |
| 45 |
- Maintenance release moving /var/ax25/axmail to /var/lib/ax25/axmail |
| 46 |
to honor linux file system rules. |
| 47 |
- Changed defines.h to reflect this version. |
| 48 |
axMail 2.12 |
| 49 |
Updated August 17, 2020 by Brian Rogers (N1URO) <[email protected]> |
| 50 |
- After fussing with an updated ClamSMTP system that appears to have some |
| 51 |
issues at least in regards to the Debian repositories I have come to |
| 52 |
learn that the MTA used (postfix) beginning with version 2.3 now may |
| 53 |
use milter (mail filter) systems. Details on how to configure the newer |
| 54 |
ClamAV-Milter system are at https://uronode.n1uro.com/linux/ under the |
| 55 |
ClamSMTP link at the bottom of the page. This is quite a major enhancement |
| 56 |
to axMail-Fax! |
| 57 |
|
| 58 |
Since now it will scan for either clamsmtp OR clamav-milter the outputs |
| 59 |
on mails show only that the mail has been scanned by ClamAV. |
| 60 |
axMail 2.11.1 |
| 61 |
Updated February 21, 2020 by Brian Rogers (N1URO) <[email protected]> |
| 62 |
- removed the #ifdef CLAMSMTP routine from config.h |
| 63 |
- fixed my routine for checking for /etc/clamsmtpd.conf so that it no longer |
| 64 |
needs to be previously defined in config.h and auto senses now in mailcmd.c. |
| 65 |
It dawned on me that the reason it was segfaulting if there was no .conf |
| 66 |
file that trying to fclose() a file that did not exist was the reason that |
| 67 |
it was causing axmail to segfault. |
| 68 |
- made this version 2.11.1 in defines.h. |
| 69 |
- updated INSTALL and README to reflect history and instructions. |
| 70 |
- updated Makefile so make upgrade does not replace config files since |
| 71 |
it's not required if you're simply upgrading from axmail-2.9 or greater. |
| 72 |
axmail 2.11 |
| 73 |
Updated February 18, 2020 by Brian Rogers (N1URO) <[email protected]> |
| 74 |
- Figured out how to add ClamSMTP to the mail system's MTA. Details |
| 75 |
are posted on https://uronode.n1uro.com/linux/axclamsmtp.shtml |
| 76 |
This will scan for viri both IN and OUT bound mails! Very handy! |
| 77 |
- Added a define routine in config.h now. You must #define or #undef |
| 78 |
CLAMSMTP based on whether or not you're running clamsmtp and have |
| 79 |
/etc/clamsmtpd.conf in existance. If it's elsewhere on your system |
| 80 |
create a symlink to it and you'll be fine. |
| 81 |
- added the fact when #defined where mails are tagged with the fact that |
| 82 |
your mail is being scanned by CLAMSMTP. This was done in mailcmd.c |
| 83 |
- upped the version to 2.11 in defines.h |
| 84 |
- added notes in INSTALL in regards to the new #define in config.h |
| 85 |
axmail 2.10 |
| 86 |
Updated April, 2019 by Brian Rogers (N1URO) <[email protected]> |
| 87 |
- added online help for the "Delivery Receipt" command. This keeps |
| 88 |
it in line with all the other online helps. |
| 89 |
- modified defines.h with this version number and also increased the |
| 90 |
year that I'm still working on modifications to the project. |
| 91 |
axmail 2.9 |
| 92 |
Updated March, 2018 by Brian Rogers (N1URO) <[email protected]> |
| 93 |
- Removed asking for password upon new user login, instead added a new |
| 94 |
field to axmail.conf for "SysopMail". Now the sysop has to put in their |
| 95 |
email address as to inform the end user to request their desired password |
| 96 |
into the system, especially if the sysop is running pop/imap features on |
| 97 |
their system. This will prevent users from entering in plain text passwords |
| 98 |
via unencrypted RF paths unlike other systems such as WL2K. I feel this is |
| 99 |
a major security fix for axMail-FAX. |
| 100 |
- added some line feeds in quit.c per suggestion of Tomasz SP2L so if |
| 101 |
another program changed the user's mail spool file the warning displays |
| 102 |
clearer. |
| 103 |
- changed version number to 2.9 in defines.h and changed the end year of |
| 104 |
maintenance from 2017 to 2018. |
| 105 |
|
| 106 |
axmail 2.8 |
| 107 |
Updated November, 2017 by Brian Rogers (N1URO) <[email protected]> |
| 108 |
Changes: |
| 109 |
- added SPers as a command per the suggestion of VE1JOT. This was done in |
| 110 |
command.c and was actually quite simple to impliment. The logic behind |
| 111 |
it is to match the mail send command sets with those of standard PBBS |
| 112 |
messaging commands. |
| 113 |
* Note: The station who mainly requested this feature via VE1JOT, KB9PVH |
| 114 |
urged that flags, cc, and bcc options be supressed to make it more user |
| 115 |
friendly on HF at 300 baud. While I'm really NOT a fanatic about this, I |
| 116 |
do have compassion for those on HF. Steve gave me a different idea than |
| 117 |
what I was going to do but I did impliment it into mailcmd.c, mailcmd.h |
| 118 |
and command.c. If one needs a read receipt or to send cc/bcc copies of |
| 119 |
their message then S still is an option. |
| 120 |
- added a "spers" .hlp file to the archive. |
| 121 |
- changed defines.h to reflect version 2.8. |
| 122 |
- updated welcome.txt to be more generic rather than be version specific. |
| 123 |
- modified mailcmd.c to now prompt for a "carbon copy" address when sending |
| 124 |
mail. This allows for a duplicate of the message to be sent to the second |
| 125 |
person one wishes to copy on the mail. |
| 126 |
- edited this file. |
| 127 |
- while I was at it, I decided to add a "blind carbon copy" feature. |
| 128 |
This will send a copy of a message to the user specified HOWEVER, |
| 129 |
they will NOT be listed in the recipient listings. For those using |
| 130 |
raw terminals, it's possible to NOT enter a 'cc' but still enter a |
| 131 |
'bcc' address. |
| 132 |
- edited help files: send.hlp and spersonal.hlp to help guide users |
| 133 |
on how to best send mail. |
| 134 |
- created a bypass method so that if users did not wish to use cc or bcc |
| 135 |
mail, they can bypass them instead of being prompted for them - suggested |
| 136 |
by VE1JOT. |
| 137 |
- added online help for send/sp|cc|bcc mail. |
| 138 |
- added a new signature file function to the system in both command.c and in |
| 139 |
mailcmd.c. If no signature file exists, it will instruct the user on this |
| 140 |
fact and also inform them how to make one using the new SIgnature command. |
| 141 |
Note: If no ~/.signature file exists mail will still be sent, just without |
| 142 |
a 1 line siguature (max: 79 characters). |
| 143 |
- bullet proofed both the autoforward and signature file routines in command.c |
| 144 |
by insuring that a null string not only halts execution of both but also |
| 145 |
removes both ~/.forward and ~/.signature files respectively. |
| 146 |
- cleaned up the send signature a bit and added my little spam ad even if |
| 147 |
there is no signature file present. This was done in mailcmd.c. |
| 148 |
- added a string in the signature prompt which informs users how to clear |
| 149 |
their signature if they desire such. This was done in utils.c |
| 150 |
- Added special critical instructions to INSTALL. I didn't know if I had |
| 151 |
these in there or not but SP2L informs me I did not. Thanks to Tomasz. |
| 152 |
- Fixed a bug that when the mailbox file(s) weren't found for the system |
| 153 |
MTA (aka: postfix) axMail would segfault. Now not only does it not |
| 154 |
segfault but also instructs the user to inform the sysop of this error. |
| 155 |
This bug existed since version 0.0.1. I've been wanting to do something |
| 156 |
about this for IONs but didn't get to it until now. This was done in quit.c |
| 157 |
- Fixed a couple of typos in README. I have a very difficult keyboard! |
| 158 |
- Per the suggestion of G4APL (who gives us many great ideas - and why do |
| 159 |
I refer to myself in plural? I need a DIET!) I did two things: |
| 160 |
1 - when listing mail there's no message date stamp within the listing. |
| 161 |
added in mailcmd.c |
| 162 |
2 - reordered the mail listing fields where I felt they'd make the most |
| 163 |
sense. Message subject, then message date, then message size are |
| 164 |
the last 3 fields listed. They should also be kept in a column |
| 165 |
justified manner of sorts. |
| 166 |
3 - added a (St)atus header so the user has a better definition of |
| 167 |
the status of a specific message. |
| 168 |
|
| 169 |
axmail 2.7 |
| 170 |
Updated 18 May, 2017 by Brian Rogers (N1URO) <[email protected]> |
| 171 |
Changes: |
| 172 |
- Thanks to Van W1WCG, a bug was spotted in the SR command where if |
| 173 |
the user entered a parameter such as a message number for example, |
| 174 |
it wouldn't properly function. This has been fixed. Thanks Van! |
| 175 |
- Forgot to take the "beta" tag out for 2.6. Oops. Fixed. |
| 176 |
- I know in the past I had a 'cc' command for sending mail, and it's |
| 177 |
been suck in my craw to readd it since. |
| 178 |
|
| 179 |
axmail 2.6 |
| 180 |
Updated 22 September, 2016 by Brian Rogers (N1URO) <[email protected]> |
| 181 |
Changes: |
| 182 |
- changed version number in defines.h |
| 183 |
- fixed error message when a pop client has deleted mail from the |
| 184 |
main mail spool file. |
| 185 |
- removed excessive receipt warning spotted by a gent who identifies |
| 186 |
himself as rigor. This was in mailcmd.c in do_readmsg() |
| 187 |
- while looking at the end of that routine, it just gave me an itch that |
| 188 |
said "if you can look for a warning about a requested receipt, then |
| 189 |
numbnutz you can offer the reader a chance to just generate a receipt |
| 190 |
without having to do "SR" as previously stated at the end of the mail. |
| 191 |
So, with that said and to get feeling back in my genitals, I wrote a |
| 192 |
routine that asks the reader if they wish to send a receipt, and it |
| 193 |
also echos where it's destined and confirmation it was sent. |
| 194 |
- added an "--- end of message #* ---" tag at the end of mail when it |
| 195 |
as finished displaying. This was done in mailcmd.c |
| 196 |
- fixed an existing bug in the message routines where for each message |
| 197 |
it wasn't resetting the receipt pointer! This bug existed since I |
| 198 |
introduced the receipt "finder" in the messages. I'm shocked that |
| 199 |
it wasn't reported to me by someone earlier. Now *only* if a message |
| 200 |
has requested a receipt will it show that a receipt has been asked |
| 201 |
for... whew! |
| 202 |
- So many missing online help files! Again I'm surprised no one brought |
| 203 |
this to my attention. How did we get along with them? "Oh my!" - Sulu |
| 204 |
- Updated this README file. |
| 205 |
|
| 206 |
axmail v2.5.1 |
| 207 |
Updated 28 September, 2015 by Brian Rogers (N1URO) <[email protected]> |
| 208 |
Changes: |
| 209 |
- added axmail.8 man page as per spec of Debian downstream. |
| 210 |
- modified Makefile to include axmail.8 manpage installation for both |
| 211 |
new and upgrade options. |
| 212 |
- modified defines.h and this document to reflect maintenance release. |
| 213 |
|
| 214 |
axmail v2.5 |
| 215 |
Updated 30 May, 2015 by Brian Rogers (N1URO) <[email protected]> |
| 216 |
Changes: |
| 217 |
- added new delivery receipt function to the send routine. This |
| 218 |
compliments the read receipt function in the event of high |
| 219 |
priority mail. Typically the read receipt is an option generated |
| 220 |
by the recipient who may not decide to generate one. At least this |
| 221 |
modification ensures with an ESMTP delivery that the sender using |
| 222 |
axMail will get a reciept from "MAILER-DAEMON" which will verify |
| 223 |
the status of delivered mail. This change was done in mailcmd.c |
| 224 |
and is designed with the sendmail binary included with postfix. |
| 225 |
- updated this README file. |
| 226 |
- updated version number in defines.h |
| 227 |
|
| 228 |
axmail v2.4 |
| 229 |
Updated 25 April, 2015 by Brian Rogers (N1URO) <[email protected]> |
| 230 |
Changes: |
| 231 |
- cleaned up mbox.c where I had originally placed the receipt checker |
| 232 |
routine in. This caused loops within the buffer that displayed the |
| 233 |
message. The true routine lives in mailcmd.c |
| 234 |
- added patch to Makefile provided by Jaroslav at Red Hat for distribution |
| 235 |
downstream compiles to make packages. |
| 236 |
- changed version in defines.h |
| 237 |
- major change in command.c, added a new Autofwd command to allow users to |
| 238 |
auto-forward mail from a remote system to their "home" axMail-FAX base |
| 239 |
system. Could also be used to forward mail to their internet accounts. |
| 240 |
- added autofwd.hlp file. |
| 241 |
- alphabetized the commandset listing, removed redundantly spelled commands. |
| 242 |
- reworked Makefile and added an "upgrade" option so new files ONLY are |
| 243 |
deployed after make. Execute using: "make upgrade" |
| 244 |
- updated this file. |
| 245 |
|
| 246 |
axmail v2.3.1 |
| 247 |
Updated 5 February, 2015 by Brian Rogers (N1URO) <[email protected]> |
| 248 |
Changes: |
| 249 |
- added a flag in mailcmd.c where if the request for a receipt exists in a mail |
| 250 |
message, a bell and a warning sign is generated after the message has been |
| 251 |
read by the user with instructions to use SR to generate a receipt. This |
| 252 |
was a difficult routine for me to think of considering the various race |
| 253 |
conditions that can be expected and met. |
| 254 |
- updated welcome.txt with version upgrade and new feature list. |
| 255 |
- updated README. |
| 256 |
|
| 257 |
axmail v2.3 |
| 258 |
Updated 5 February, 2015 by Brian Rogers (N1URO) <[email protected]> |
| 259 |
Changes: |
| 260 |
- Added a new "Receipt" request flag in mailcmd.c by request of Mitch AB4MW. |
| 261 |
This defaults to NO but when flagged to YES, a request will be sent to the |
| 262 |
remote client's agent. If the agent supports such, they will be prompted |
| 263 |
whether or not to honor your receipt request. This is history as NO AGENT |
| 264 |
FOR PACKET TERMINALS SUPPORTS THIS! The function of a generated read |
| 265 |
receipt is similar to how HylaFax generates confirmation of transmission |
| 266 |
receipt mails to your mailbox. Currently mail read in axMail will NOT |
| 267 |
generate a receipt back. I may work on this later, but for now it doesn't |
| 268 |
exist. |
| 269 |
* My thoughts of the receipt function is negative. The fact that I may be |
| 270 |
sending notification that I'm in my email client to a remote destination |
| 271 |
IMHO is such that a webcam may as well be turned on and watch me do email, |
| 272 |
and send the stream to "Big Brother" and I don't mean the television show. |
| 273 |
</rant> |
| 274 |
- Updated defines.h with the new version number. |
| 275 |
- Updated welcome.txt so the new version number is displayed. |
| 276 |
|
| 277 |
axmail v2.2 |
| 278 |
Updated 25 December, 2014 by Brian Rogers (N1URO) <[email protected]> |
| 279 |
Changes: |
| 280 |
- Made some maintenance changes, but forgot to log them in here. |
| 281 |
axmail v2.1.1 |
| 282 |
Updated 30 October, 2014 by Brian Rogers (N1URO) <[email protected]> |
| 283 |
Changes: |
| 284 |
- Makefile |
| 285 |
Code provided by Bob Tenty VE3TOK to make it more compatable |
| 286 |
with newer GCC compiler requirements. |
| 287 |
- utils.c |
| 288 |
Code provided by Bob Tenty VE3TOK to fix a warning produced when |
| 289 |
compiling. |
| 290 |
- defines.h |
| 291 |
Changed version number to reflect the changes incorporated by |
| 292 |
Bob Tenty VE3TOK and committed to the subversion repository. |
| 293 |
|
| 294 |
axmail v2.1 |
| 295 |
Updated 31 July, 2014 by Brian Rogers (N1URO) <[email protected]> |
| 296 |
Changes: |
| 297 |
- axmail.c |
| 298 |
Code provided by Jaroslov OK2JRQ fixes a potential security hole in |
| 299 |
the system privilege matching. |
| 300 |
- global |
| 301 |
axMail is now under review for considerations as standard packaging in |
| 302 |
RedHat's fedora project. It appears it's going to be added as a package. |
| 303 |
|
| 304 |
axmail v2.0 |
| 305 |
Updated 8 July, 2013 by Brian Rogers (N1URO) <[email protected]> |
| 306 |
Changes: |
| 307 |
- defines.h |
| 308 |
Updated version number to reflect version release 2.0. Version 1.0.5 |
| 309 |
was simply a maintenance test package to try and reincorporate what |
| 310 |
I had done up to version 1.0.6 which I believe was one of my last |
| 311 |
releases up to 2009. Since I've done all that I can recall at this |
| 312 |
point and time, I decided to match URONode's release numerics with |
| 313 |
a 2.0 release version. |
| 314 |
|
| 315 |
axmail v1.0.5 |
| 316 |
Updated 5 July, 2013 by Brian Rogers (N1URO) <[email protected]> |
| 317 |
Changes: |
| 318 |
- defines.h |
| 319 |
Updated email listings to reflect the most current ones I could find |
| 320 |
including my own. Also added 2013 to the years worked on axMail by |
| 321 |
me. |
| 322 |
- quit.c |
| 323 |
Forced ALL mail, read or otherwise when user quits to save to the |
| 324 |
user's system mailbox. This is for reverse compatability with those |
| 325 |
who may also run a web-based email service on the internet such as |
| 326 |
NeoMail, EMUMail, etc. Prior, the system was supposed to separate |
| 327 |
any read mail (and all accompanying mail in that session) to the |
| 328 |
axmail ~/mbox file. We don't want this for the specific reason of |
| 329 |
"reverse email client" compatability. |
| 330 |
|
| 331 |
axmail v1.0.4 |
| 332 |
Updated 23 May, 2008 by Brian Rogers (N1URO) <[email protected]> |
| 333 |
Changes: |
| 334 |
- setpwnam.c |
| 335 |
Changed the way SIGPIPE was handled. Instead of being ignored, it will |
| 336 |
now read a SIGQUIT properly if a QUIT is signaled to axmail either via |
| 337 |
a shell prompt, or a node frontend. I've been noticing especially on |
| 338 |
some timeouts that temp files don't flush as they should and the |
| 339 |
user's directory can start to fill up. |
| 340 |
|
| 341 |
axMail v1.0.3 |
| 342 |
Updated 2 December, 2007 by Brian Rogers (N1URO) <[email protected]> |
| 343 |
Changes: |
| 344 |
- mailcmd.c |
| 345 |
Reset the way I wanted to handle the user input routine for sending faxes. |
| 346 |
Commented out some more unneeded/unused code in the do_fax routine... will |
| 347 |
clean it up in next release or so. |
| 348 |
- mailcmd.c |
| 349 |
cleaned up a bug I introduced in the never released 1.0.2 where the |
| 350 |
X-Mailer was duping itself after each line of the body of a message. |
| 351 |
- sfax.hlp |
| 352 |
Reworded the SFax help file to help show some examples of how to format |
| 353 |
the header. |
| 354 |
|
| 355 |
axMail v1.0.2 |
| 356 |
Updated 24 November, 2007 by Brian Rogers (N1URO) <[email protected]> |
| 357 |
Changes: |
| 358 |
- mailcmd.c |
| 359 |
Cleaned up some of the code in SFax. Also made some cosmetic changes. |
| 360 |
|
| 361 |
axMail v1.0.1 |
| 362 |
Updated 31 October, 2007 by Brian Rogers (N1URO) <[email protected]> |
| 363 |
Changes: |
| 364 |
- mailcmd.c |
| 365 |
Added a new routine to allow users to send faxes. This is defined by the |
| 366 |
command "SF" for Send Fax. The routine was taken from the "S"end function |
| 367 |
however since it's a one-way transmission, there is no reply available |
| 368 |
nor is there an option for users to fax to any fax service as some I know |
| 369 |
are pay services. |
| 370 |
- config.h |
| 371 |
added definitions for faxgate in axmail.conf |
| 372 |
- config.c |
| 373 |
added routine to allow for faxgate as a variable and be called from |
| 374 |
mailcmd.c |
| 375 |
- defines.h |
| 376 |
version upgraded from v1.0.0 (unreleased - test version) to |
| 377 |
v1.0.1 |
| 378 |
- etc/axmail.conf |
| 379 |
Added new line called "FaxGate" with an example of how to properly |
| 380 |
configure this line. |
| 381 |
- etc/help/sfax.hlp |
| 382 |
Added new file "sfax.hlp" which is an online help file for the SFax |
| 383 |
command. |
| 384 |
|
| 385 |
axMail v0.0.9 |
| 386 |
Updated 26 September, 2006 by Brian Rogers (N1URO) <[email protected]> |
| 387 |
Changes: |
| 388 |
- mailcmd.c |
| 389 |
Added a new routine that prompts the sender whether or not the message |
| 390 |
is of an emergency/high priority mail message. If it's emergency message |
| 391 |
then the headers are appended with an X-code flagged in such a manner |
| 392 |
that Eudora and Outlook will display the received mail with a red flag |
| 393 |
of sorts. The idea of such came to me in thinking of "what can I do |
| 394 |
to help improve means of emergency communications using TCP/IP, Linux, |
| 395 |
and packet radio?" Having the ability to "red flag" an SMTP message |
| 396 |
I don't believe has yet to be available in any packet messaging |
| 397 |
system... axMail I hope is the first. |
| 398 |
|
| 399 |
If a user just hits enter, or selects "no" then the mail message |
| 400 |
is sent under normal send routines. |
| 401 |
|
| 402 |
found a minor bug in my routine where if an end user answered |
| 403 |
"yes" in wanting to send an emergency/high priority message the system |
| 404 |
ignored the request and sent it as 'normal' delivery. Made a minor |
| 405 |
change to bullet-proof the responce. |
| 406 |
|
| 407 |
Added online help text if user is unsure about sending a message |
| 408 |
flagged urgent or normal. This text is available when the user is |
| 409 |
prompted for priority selection by hitting "?" at the prompt. |
| 410 |
- defines.h |
| 411 |
Version updated from v0.0.8 to v0.0.9 |
| 412 |
|
| 413 |
axMail v0.0.8 |
| 414 |
Updated 2006 by Brian Rogers (N1URO) <[email protected]> |
| 415 |
|
| 416 |
Changes: |
| 417 |
- mailcmd.c |
| 418 |
Rewrote and incorporated code provided by IW3IJQ how axMail inserts |
| 419 |
it's version number in the X-Mailer: string. |
| 420 |
- mailcmd.c |
| 421 |
Added an X-Origin: string to show those peeking at mail headers |
| 422 |
just how the message was possibly sent... by AMATEUR RADIO! |
| 423 |
- axmail.conf |
| 424 |
Added config option in "AllowMail" for axhome, a rewrite of code |
| 425 |
submitted by Stefano IW3IJQ. While I stripped out home directory |
| 426 |
structures similar to that of qmail or axspawn, Stefano convinced |
| 427 |
me that it may be easier to manage home directories for axMail users |
| 428 |
who don't have shell access to branch out within a preset directory. |
| 429 |
- defines.h |
| 430 |
Updated version number from 0.0.7 to 0.0.8 |
| 431 |
- axmail.c and config.c |
| 432 |
Rewrote and incorporated code to allow for the routines to use |
| 433 |
what Stefano IW3IJQ originally labled "newuhome" to use "axhome". |
| 434 |
While I was at it, I rewrote and shortened the error text pushed |
| 435 |
to a user who doesn't have permission to use such a directory. |
| 436 |
* Note: When I write error texts and menus, I try to write them for |
| 437 |
users on a multi-hop 1200 baud path thus the shorter the better as |
| 438 |
long as context isn't lost and for long distance hops where full |
| 439 |
paclen may cause retries (worse yet timeouts!) |
| 440 |
|
| 441 |
axMail v0.0.7 |
| 442 |
|
| 443 |
Updated 2005 by Brian Rogers (N1URO) <[email protected]> |
| 444 |
|
| 445 |
Changes: |
| 446 |
- cosmetics |
| 447 |
My usual "I like seeing this this way" type cosmetics... too many |
| 448 |
to mention! |
| 449 |
- adduser.c |
| 450 |
changed the hard coding of user 'home' directories so that instead |
| 451 |
of them going into a period delimited sort, just dump em all into |
| 452 |
/home/<user> which seems to be "the norm" on most systems I've had |
| 453 |
to assist with. |
| 454 |
- adduser.c |
| 455 |
fixed a bug where creating a user was actually causing the program to |
| 456 |
segfault upon exit the first time a user went into the mailbox! The |
| 457 |
node frontends hid this segfault as the program still flushed itself |
| 458 |
from ram but I spotted it when running it at a command prompt. The |
| 459 |
segfault came when axMail attempted to write mail back to the user's |
| 460 |
system mailbox and it didn't exist. How I fixed this is listed next. |
| 461 |
This may just be a new bug that appeared with the upgrading of libs, |
| 462 |
this I'm unsure of and since I have no desire to go backwards I have |
| 463 |
decided to actually make a minor routine... |
| 464 |
- welcome.txt |
| 465 |
New users are now sent a "welcome" message that the sysop can easily |
| 466 |
customize to their desires. It's located at /etc/ax25/welcome.txt. |
| 467 |
I figured that since axMail was segfaulting because such a file did |
| 468 |
not exist, I might as well make use of this need by having the program |
| 469 |
send the user a greeting. |
| 470 |
- defines.h |
| 471 |
Changed paths to be more in line with the more modern type configs |
| 472 |
as a default. Paths can still be defined by the sysop prior to |
| 473 |
compiling axMail. |
| 474 |
- Makefile |
| 475 |
I changed the default of make install to include all of the subroutines |
| 476 |
within the Makefile yet leaving such things as "make installbin" |
| 477 |
available as runtime options if just a binary refresh creation is |
| 478 |
desired. |
| 479 |
- other |
| 480 |
I'm sure I missed a note or two *shrug* |
| 481 |
|
| 482 |
axMail v0.0.6 |
| 483 |
|
| 484 |
Tweeks made by Marius Petrescu (?) I know there was a ver 0.0.6 which |
| 485 |
I at one time had but lost and can't seem to find it. My (n1uro) |
| 486 |
changes may have alread been incorporated. |
| 487 |
|
| 488 |
axMail v0.0.5 |
| 489 |
|
| 490 |
True mailbox functionalities created by Marius Petrescu. |
| 491 |
Added Mailbox save routines (compatible with the command line |
| 492 |
mail agent, including ~/mbox file) |
| 493 |
|
| 494 |
axMail v0.0.4 |
| 495 |
|
| 496 |
Copyright (c) 1996 Heikki Hannikainen (OH7LZB) <[email protected]> |
| 497 |
|
| 498 |
This program is free software; you can redistribute it and/or modify |
| 499 |
it under the terms of the GNU General Public License as published by |
| 500 |
the Free Software Foundation; either version 2 of the License, or |
| 501 |
(at your option) any later version. |
| 502 |
|
| 503 |
This program is distributed in the hope that it will be useful, |
| 504 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 505 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 506 |
GNU General Public License for more details. |
| 507 |
|
| 508 |
You should have received a copy of the GNU General Public License |
| 509 |
along with this program; if not, write to the Free Software |
| 510 |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 511 |
|
| 512 |
|
| 513 |
Don't give this one to anyone yet... it is NOT ready for distribution! |
| 514 |
|
| 515 |
This is a simple mail user agent intended to provide the |
| 516 |
mail functions in xNOS in a Linux ax.25 environment. If required, |
| 517 |
it creates a normal user account for each new user (code mostly taken |
| 518 |
from axspawn by Joerg Reuter (DL1BKE)), so that they can receive mail |
| 519 |
on the system. axMail uses sendmail (or similar) to deliver mail, and |
| 520 |
reads mail from each user's system mailbox (/var/spool/mail/username). |
| 521 |
It does not provide any means of transferring mail between hosts. |
| 522 |
|
| 523 |
axMail provides a simple, low-overhead user interface, much similar |
| 524 |
to /bin/mail, xNOS and the packet BBS systems. It's useful for providing |
| 525 |
good SMTP mail services for "dumb" ax.25 users over slow radio channels. |
| 526 |
|
| 527 |
axMail is intended to be called from node. It takes one command |
| 528 |
line argument of the user's callsign (with or without SSID). It must |
| 529 |
be run as root, but it setuid()'s itself to the respective user's |
| 530 |
privileges as soon as possible. It might run from ax25d as well. |
| 531 |
It can also be executed from a shell with user privileges. |
| 532 |
|
| 533 |
Some code (command parser, configuration file stuff) and the internal |
| 534 |
architecture was taken from the LinuxNode frontend by Tomi Manninen |
| 535 |
(OH2BNS). Thanks! |
| 536 |
|
| 537 |
INSTALLATION: |
| 538 |
|
| 539 |
See the file: INSTALL |
| 540 |
|
| 541 |
TODO: |
| 542 |
Suggestions? |
| 543 |
|
| 544 |
-- |
| 545 |
Brian Rogers <[email protected]> [n1uro@n1uro.#cct.ct.usa.noam] |
| 546 |
ftp://ftp.n1uro.net/pub/hamradio/packet |