Qmail: relay only from selected servers based on rDNS

Posted by Frank on Server Fault See other posts from Server Fault or by Frank
Published on 2010-06-11T13:57:03Z Indexed on 2010/06/11 14:03 UTC
Read the original article Hit count: 400

Filed under:
|
|
|

I'm looking for a way to disable Qmail relaying for everyone, but allow one certain group of hosts to do so. These hosts all use the same identifying rDNS entry.

In Exchange 2003, Postfix, Exim and cPanel this can be achieved pretty easily. However, the only to do this with Qmail is to do this based on IP's.

The IP's however tend to change. These changes can occur at any time, and it is impossible to keep all the servers up-to-date to the new IP's.

Running a script that resolves the hostname and whitelists them accordingly is my last-resort option, but this is not fool-proof.

Does anyone know whether this is possible and if so, how?

Thanks!

© Server Fault or respective owner

Related posts about qmail

Related posts about relay