Postfix cleanup daemon access control

Posted by Flimzy on Server Fault See other posts from Server Fault or by Flimzy
Published on 2012-06-01T21:10:03Z Indexed on 2012/06/01 22:42 UTC
Read the original article Hit count: 201

Filed under:
|

Is there any way to control which hosts are permitted to connect to the cleanup daemon over TCP?

Our 'master.cf' contains:

2526      inet  n       -       -       -       0       cleanup

This is necessary because we have a cluster of SMTP servers running custom code, and they can all inject mail to the centralized postfix server via the cleanup daemon.

However, we want to allow only our authorized servers to connect to the cleanup daemon. The current configuration allows any host to connect to port 2526.

Clearly we can use iptables to restrict access, but is there a way to do this within postfix itself?

© Server Fault or respective owner

Related posts about postfix

Related posts about access-control