OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
reject_unknown_client exept if HELO hostname matches client

From: Bastiaan Welmers (bastiaan-postfix-userswelmers.net)
Date: Sat Aug 02 2003 - 10:25:09 CDT


Hi,

I want to make a Postfix server fight spam because now we're exceeding our
data limit because of it.

One of the methods I want to use is
smtpd_client_restricions = reject_unknown_client

But there still seems to be several (poor maintained) servers without
reverse-lookup we want to hold contact to.
Al these servers have a HELO hostname corresponding to the IP number they use.

Is there a way to configure Postfix so it will

- Check if the client has a hostname
- If not, check if the HELO hostname corresponds with the client, and if,
don't reject
- If both not, reject

Thanks,

Bastiaan Welmers