Automated installation on Ubuntu 16.04
1 2 3 4 5 6 7 |
apt-get update && apt-get -y upgrade apt-get install -y unzip cd /tmp wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master" tar zxvf installer.tgz cd *ispconfig* bash install.sh |
source: https://www.howtoforge.com/tutorial/ispconfig-automated-install-script
How to disable spamfilter- and antivirus functions in ISPConfig 3
If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are:
Edit postfix main.cf file
1 |
vi /etc/postfix/main.cf |
and comment out these lines by adding a “#” in front of them:
1 2 3 |
# smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re , permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re # content_filter = amavis:[127.0.0.1]:10024 # receive_override_options = no_address_mappings |
also fill:
1 |
myhostname = your.domain |
Then restart postfix:
1 |
/etc/init.d/postfix restart |
Now stop and disable the services. The following commands are for Debian and Ubuntu, the commands for other Linux distributions may vary
1 2 3 4 5 6 |
/etc/init.d/clamav-daemon stop /etc/init.d/clamav-freshclam stop /etc/init.d/amavis stop update-rc.d -f clamav-daemon remove update-rc.d -f clamav-freshclam remove update-rc.d -f amavis remove |
DNS records
Finally don’t forget to create these 3 DNS records:
- Reverse DNS (PTR)
- SPF (Sender Policy Framework)
- DKIM (DomainKeys Identified Mail)
Check here