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.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/04/05/disable-reverse-lookups-with-qmail-in-plesk/ .
© Major Hayden 2010.

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.

  • 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 , TrackBack URI

Leave a Reply