Changes

From Amahi Wiki
Jump to: navigation, search
853 bytes added ,  21:11, 24 August 2011
*# 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 diretory. You can run these as root user should your mail server hang up and stop working:
*# 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;}}
==== Conclusion ====
12,424

edits