==== 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 the elevated directory. You must run these as root user :
<blockquote>start.sh (execute stop.sh first):
{{Text|Text=/etc/init.d/courier-authlib start;
/etc/init.d/sendmail stop;
/etc/init.d/postfix start;
/etc/init.d/saslauthd start;
/etc/init.d/courier-authlib restart;
/etc/init.d/courier-imap start;
/usr/bin/freshclam;
/etc/init.d/amavisd start;
/etc/init.d/clamd.amavisd start;
/etc/init.d/postfix start;
spamassassin --lint;
/etc/init.d/amavisd restart;
sa-update --no-gpg;}}
stop.sh (run prior to start.sh):
{{Text|Text=/etc/init.d/courier-authlib stop;
/etc/init.d/sendmail stop;
/etc/init.d/postfix stop;
/etc/init.d/saslauthd stop;
/etc/init.d/courier-imap stop;
/etc/init.d/amavisd stop;
/etc/init.d/clamd.amavisd stop;
rm -f /var/spool/amavisd/clamd.sock;}}</blockquote>
* Ensure you set the permissions on both files:
{{Code|chown apache:users start.sh stop.sh
chmod 755 start.sh stop.sh}}
* You can change the Login Credentials for the integrated database manager/web-based installer by doing the following:
*# Open the Login,class.php file with your favorite editor
*# To enable port 587, edit /etc/postfix/master.cf and uncomment the line starting with "# submission"
*# Reload postfix -->
* The two scripts below need to be place in the elevated directory. You can run these as root user should your mail server hang up and stop working:
<blockquote>start.sh (execute stop.sh first):
{{Text|Text=/etc/init.d/courier-authlib start;
/etc/init.d/sendmail stop;
/etc/init.d/postfix start;
/etc/init.d/saslauthd start;
/etc/init.d/courier-authlib restart;
/etc/init.d/courier-imap start;
/usr/bin/freshclam;
/etc/init.d/amavisd start;
/etc/init.d/clamd.amavisd start;
/etc/init.d/postfix start;
spamassassin --lint;
/etc/init.d/amavisd restart;
sa-update --no-gpg;}}
stop.sh (run prior to start.sh):
{{Text|Text=/etc/init.d/courier-authlib stop;
/etc/init.d/sendmail stop;
/etc/init.d/postfix stop;
/etc/init.d/saslauthd stop;
/etc/init.d/courier-imap stop;
/etc/init.d/amavisd stop;
/etc/init.d/clamd.amavisd stop;
rm -f /var/spool/amavisd/clamd.sock;}}</blockquote>
* Ensure you set the permissions on both files:
{{Code|chown apache:users start.sh stop.sh
chmod 755 start.sh stop.sh}}
==== Conclusion ====