Qmail: rhost-check

I have add "rhost-check" to qmail-smtpd
affter read Chis Hardie to prevent spammer.

 

Download: rhost-check.c
Compile: gcc -O -o rhost-check rhost-check.c
Usage

cp rhost-check /usr/local/bin/
vi /service/qmail-smtpd/run
add
tcpserver -R -h -p 0 smtp rhost-check rblsmtpd qmail-smtpd 2>&1

Resule @40000000473d58371051835c rblsmtpd: [some.ip] pid 12392: 451 bad reverse DNS

 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Copy the characters (respecting upper/lower case) from the image.