I am installing ISPConfig3 inside internal network and only service sites with sub-domain. And there are other servers on the network which manage email and dns. So I would to use ISPConfig3 only for Web (Apache-PHP), mysql and FTP. And I would like to disable other services like dovecot (pop3/imapd), postfix, amavis, clamav, freshclam, spamassassin, bind BUT I still want php script able send email using sendmail Can you tell me the correct way to do it? Or these steps below enough? ps: I am following this tutorial: http://howtoforge.com/perfect-server-centos-5.5-x86_64-ispconfig-3 Code: chkconfig dovecot off service dovecot stop chkconfig postfix off service postfix stop chkconfig amavisd off service amavisd stop chkconfig clamav off service clamav stop mv /etc/cron.daily/freshclam /root chkconfig spamassassin off service spamassassin start chkconfig bind off service bind stop chkconfig sendmail on service sendmail start
thanks for quick response Till, but the server already installed on configured for one LIVE php web application. I may not be able to uninstall-install again. I will try expert install on next server installation.
i would also like to know how to turn those off on a server that is already running with those extra services installed. Thanks.
hi Abubin, these method is works, I just disabled and everything seems to normal. I have to wait for 1 day or until end-user scream at me Code: chkconfig dovecot off service dovecot stop chkconfig postfix off service postfix stop chkconfig amavisd off service amavisd stop chkconfig clamd off service clamd stop mv /etc/cron.daily/freshclam /root chkconfig spamassassin off service spamassassin stop chkconfig named off service named stop chkconfig fail2ban off service fail2ban stop chkconfig sendmail on service sendmail start and on ISPConfig3 panel I go to System > server services > klik the server > and disable mail, dns, vserver > Save after doing this now my ispconfig3 only server web with php, ftp,mysql and sendmail to send email from php script below is the result of running daemon which opening connection Code: # netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2465/mysqld tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2549/pure-ftpd (SER tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2510/sendmail: acce tcp 0 0 :::80 :::* LISTEN 2534/httpd tcp 0 0 :::81 :::* LISTEN 2534/httpd tcp 0 0 :::8081 :::* LISTEN 2534/httpd tcp 0 0 :::21 :::* LISTEN 2549/pure-ftpd (SER tcp 0 0 :::22 :::* LISTEN 2362/sshd tcp 0 0 :::443 :::* LISTEN 2534/httpd
For Debian v6 to disable clamav and amavis you have to run: chkconfig amavis off service amavis stop chkconfig clamav-daemon off service clamav-daemon stop chkconfig clamav-freshclam off service clamav-freshclam stop