Have you tried MySQLTuner yet? It's free and it makes optimizing your MySQL server easier than ever!

To disable reverse lookups in qmail with Plesk, simply add -Rt0 to the server_args line in /etc/xinetd.d/smtp_psa


service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /usr/sbin/rblsmtpd -r sbl-xbl.spamhaus.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

Once that’s been saved, simply restart xinetd:

# /etc/init.d/xinetd restart

WATCH OUT! This change will be overwritten if you change certain mail settings in Plesk, like MAPS protection.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis
2 Responses to “Disable reverse lookups with qmail in Plesk”
  1. I know that you know, but the world may not know. This edit will be lost if there are any mail server setting changes via Plesk (ex. MAPS).

  2. That’s right! Sorry, I forgot to include it. I’ll add it to the main post now.

Leave a Reply

You must be logged in to post a comment. Login »