Le 04/10/2010 17:49, martin f krafft a écrit :
also sprach Noel Jones<njo...@megan.vbhcs.org>  [2010.10.04.0507 +0200]:
Lots easier to just use
      /^myhostname(\.mydomain)?$/  REJECT don't use my hostname
Thanks to everyone who responded. I am now going the suggested way.

However, it occurs to me that this is something postfix could be
trivially doing itself, e.g.

   smtpd_helo_restrictions =
     […]
     reject_my_hostname
     reject_my_ipaddress

since it has those data available. Is this something worth pursuing?

not really, except in your apparently simple environment. I have a lot more IPs that I would include in the check, that postfix has no idea where they come from. and besides, I didn't see that check catch anything that isn't caught by other more effective checks. so I removed the call to the map.

Reply via email to