Disable reverse lookups with qmail in Plesk

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.

Printed from: http://rackerhacker.com/2007/04/05/disable-reverse-lookups-with-qmail-in-plesk/ .
© Major Hayden 2012.

3 Comments   »

  • Mike C. says:

    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).

  • major says:

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

  • Ruben Ortiz says:

    Hi

    and which advantage we will get disabling reverse lookups? I thought that the reverse lookups is something mandatory on a MTA.

    Thanks

RSS feed for comments on this post

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this