Changes

From Amahi Wiki
Jump to: navigation, search
42 bytes added ,  00:56, 5 September 2011
==== Tips ====
* To permanently change your hostname from '''localhost.localdomain''', see this [http://www.labtestproject.com/using_linux/permanently_change_hostname_on_fedora article].
* 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/courier-authlib start;
chmod 755 start.sh stop.sh}}</blockquote>
* You can change the Login Credentials for the integrated database manager/web-based installer by doing the following:
*# Open the Login-class.php file in the '''''/var/hda/web-apps/ams/html''''' directory
*# On lines 29 and 32, change to whatever works for you
*# Save and now you can log in using the new credentials
*#* ''quota'': do NOT edit this field (unless you know what you are doing)
*# In the '''forwardings''' table, insert a new record for each forwarded email addresses to <u>user@foo.com</u>
*# Run the command line below to set up the '''''/home/vmail/foo.com/user ''''' mail files:
{{Code|mailx -s Welcome user@foo.com < /var/hda/web-apps/ams/html/config/welcome.txt}}
* Add an additional mail domain (does not include any DNS MX records). Modify the ''mail'' database and substitute your information accordingly:
*#* ''user'': add <u>me@bar.com</u>
*#* ''forward'': add <u>postmaster@bar.com</u>, and <u>abuse@bar.com</u> to <u>me@bar.com</u>
*# Run the command line below to set up the '''''/home/vmail/bar.com/me ''''' mail files:
{{Code|mailx -s Welcome me@bar.com < /var/hda/web-apps/ams/html/config/welcome.txt}}
* For every domain supported, the following either need to be added as users or forwarded. Without them a site MAY end up on various spam block lists:
abuse@foo.com}}
<!--* Some ISPs block port 25 for mail. Thus a remote user would be able to retrieve mail, but not send mail. To accommodate this, port 587 is used by email clients for sending mail.
*# To enable port 587, edit '''''/etc/postfix/master.cf c'''''f and uncomment the line starting with "# submission"
*# Reload postfix -->
12,424

edits