Changes

From Amahi Wiki
Jump to: navigation, search
1,183 bytes removed ,  19:32, 23 November 2013
no edit summary
heading =WARNING|
message = This should only be attempted by advanced users.<br>It is still under development.}}
<b>DISCLAIMER:</b> This is for Fedora 14 19 64-bit <u>ONLY</u>! Although tested, use at your own risk. I cannot guarantee that it will work for your system or not cause any serious problems.<br />
<br />
==== Current Version ====
1.8.8 0 (Fedora 1419) released update on May 18November 23, 20112013
==== Known Issues ====
* Quota information present in the database needs to be removed or hidden.
* 32-bit binaries need to be built.
==== Change Log ====
* Upgraded to Fedora 14* Command line installation replaced with a Web-based installer* Removed custom built Postfix (with Quota support) and Maildrop packages* Included Fedora Postfix and Maildrop packages* Removed DCC due to instability on install* Packaged [http://www.amahi.org/apps/squirrelmail SquirrelMail] client separately, removing it from the core* Store system settings (host, user, and certificate information) in MySQL database* New logo and screen shot for application* Added Instructions to explain initial setup and Virtual User Management* Refined input form to detect HDA hostname and first user* Fixed Log display to not redirect when install finishes* Added initial Login Credentials to install log* Updated missing Postfix configuration entries* Changed Welcome/SPAM Test mail to be sent by postmaster* Included configuration information in install log* Added database front-end for virtual user management* Created separate install and help guidance* Enabled port 587 for sending mail* Added user authentication to secure integrated database manager* Minor code updates to secure install* Streamlined forms and minor code updates* Mailbox now created when new users added* Deleting users removes appropriate mailbox* Changed URL from http://mail to http://ams* Minor bug fix with integrated database manager edit of domain19
==== Future Enhancements ====
* Incorporate a mail backup mechanism
* Streamline code and validate form fields
* Enable port 587 for sending mail
==== How to Install/Uninstall (Automated) ====
# Create a web app in Amahi named '''ams'''.
# Open a terminal window, become '''root''', and navigate to '''''/var/hda/web-apps/ams''''' directory.
# Download [httphttps://dl.getdropboxdropboxusercontent.com/u/1380867/mail-server-1.80.8.tar.gz zip mail-server-1.8.8.tar0.gzzip] (sha1sum 950bd51ecedf1c86d12c4830320f458502917a126a2cb6aa290644c9faba1fe89bf13dd9e185ef21) to this directory and extract it into '''''html''''' directory of '''''ams''''' (archive [http://dl.getdropbox.com/u/1380867/FilesList.html content]).
# Ensure you recursively change ownership of the files to apache:users.
# Need to make a directory called '''''elevated''''' in '''''ams'''''. Copy mail-setup.sh and del-maildir.sh to that location.
{{Code|su -
cd /var/hda/web-apps/ams
wget httphttps://dl.getdropboxdropboxusercontent.com/u/1380867/mail-server-1.80.8.tar.gzzip
mkdir elevated
cd html
tar -xzpf unzip ../mail-server-1.8.8.tar0.gzzip
cp mail-setup.sh ../elevated
cp del-maildir.sh ../elevated
* Download the latest [http://fetchyahoo.twizzler.org/ FetchYahoo]
* Install instructions included
 
==== Tips ====
* Should your mail server hang up and stop working, you can most likely fix it with the following two scripts. Place them in '''''/var/hda/web-apps/ams/elevated''''' directory. You must run these as root user :
<blockquote>'''''start.sh''''' (execute stop.sh first):
{{Text|Text=/etc/init.d/systemctl start courier-authlib start.service;/etc/initsystemctl stop sendmail.d/sendmail stopservice;/etc/initsystemctl start postfix.d/postfix startservice;/etc/initsystemctl start saslauthd.d/saslauthd startservice;/etc/init.d/systemctl restart courier-authlib restart.service;/etc/init.d/systemctl start courier-imap start.service;
/usr/bin/freshclam;
/etc/initsystemctl start amavisd.d/amavisd startservice;/etc/init.d/systemctl start clamd.amavisd start.service;/etc/initsystemctl start postfix.d/postfix startservice;
spamassassin --lint;
/etc/initsystemctl start amavisd.d/amavisd restartservice;
sa-update --no-gpg;}}
'''''stop.sh''''' (run prior to start.sh):
{{Text|Text=/etc/init.d/systemctl stop courier-authlib stop.service;/etc/initsystemctl stop sendmail.d/sendmail stopservice;/etc/initsystemctl stop postfix.d/postfix stopservice;/etc/initsystemctl stop saslauthd.d/saslauthd stopservice;/etc/init.d/systemctl stop courier-imap stop.service;/etc/initsystemctl stop amavisd.d/amavisd stopservice;/etc/init.d/systemctl stop clamd.amavisd stop.service;rm -f /var/spool/amavisd/clamd.sock;}}
Ensure you set the permissions on both files:
{{Code|chown apache:users start.sh stop.sh
<b>NOTE:</b> These scripts were adapted from the [http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-fedora-1418-x86_64 Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 14 18 x86_64)] tutorial written by [http://twitter.com/falko Falko Timme].
[[Category:Apps]]
12,424

edits