Hello everybody! My "Qmail to Postfix transition project" has been on ice for couple of months due to other priorities, but now I need to finish it. One of the things I'm working on is to see if I could limit an interface to specific domains and to accept unauthenticated connections only from specific set of IPs. The latter part is easy, I think. I have the following in my main.cf:
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated check_client_access hash:$config_directory/tables/client_access_maps reject This should allow the local IPs (mynetworks), authenticated connections (to relay mail), and unauthenticated connections from a limited set of IPs (which are the relaying IPs of an external spam filtering service). Everything else is rejected at that interface. However, not all domains on the server are filtered externally. For this reason I would like to have another interface (IP) open for inbound smtp that would accept emails for those other domains but not for the ones that are filtered and that arrive through the restricted interface (as described above). So the question is: how do I limit an interface to one set of domains while another interface accepts emails for another set of domains? This may well be trivial.. I'm fairly new to Postfix. If it is, pardon my cluelessness but please englighten me anyway :-). Ville