LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Require PTR lookups for postfix (https://www.linuxquestions.org/questions/linux-networking-3/require-ptr-lookups-for-postfix-249839/)

paintcheck200 11-01-2004 10:33 AM

Require PTR lookups for postfix
 
how do I setup postfix to require reverse DNS lookups to prevent some spam.? I did some googling, but couldn't find it.

scowles 11-01-2004 03:01 PM

Check the postfix man pages: man 5 postconf

In particular:

reject_unknown_client
Reject the request when the client IP address has no PTR (address to name) record in the DNS, or when the PTR record does not have a matching A (name to address) record.

The unknown_client_reject_code parameter specifies the response code for rejected requests (default: 450). The reply is always 450 in case the hostname lookup failed due to a temporary problem.


All times are GMT -5. The time now is 08:18 PM.