Plesk Firewall

psa-firewall To start the service through the command line: /etc/init.d/psa-firewall start To stop the service through the command line: /etc/init.d/psa-firewall stop To restart the service through the command line: /etc/init.d/psa-firewall restart Configuration files are accessible at: /usr/local/psa/var/modules/firewall/firewall-active.sh /usr/local/psa/var/modules/firewall/firewall-emergency.sh /usr/local/psa/var/modules/firewall/firewall-new.sh psa-firewall (IP forwarding) To start the service through the command line: /etc/init.d/psa-firewall-forward start To stop the…

Qmail Wrapper

Use this method to track down any PHP scripts that might be sending email. http://kb.parallels.com/en/1711 1) Create a /var/qmail/bin/sendmail-wrapper script with the following content: #!/bin/sh (echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/var/qmail/bin/sendmail-qmail "$@" Note, it should be two lines including ‘#!/bin/sh’. 2) Create a log file /var/tmp/mail.send and grant it “a+rw” rights; make the…