On 11/26/2018 1:53 PM, John Fawcett wrote: > Hi > > I was recently trying to whitelist a client hostname that frequently > changes ip. > > From the documentation check_client_access restriction for use with > smtpd allows to specify access table lookups which contains hostnames. > > postscreen_access_list does not seem to allow hostnames in lookup tables. > > Is my understanding correct? Is there a reason why hostnames should not > be supported in postscreen_access_list lookup tables? > > thanks > > John >
Yes, postscreen by design deals only with IP addresses. This is because of the intended use as a lightweight and high speed front-end for postfix. You didn't mention why this client changes IP frequently, or what problem you're trying to solve. You might get better suggestions if you explain the problem you're having in detail. -- Noel Jones