postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: rejecting clients greeting me with my own nam

Re: rejecting clients greeting me with my own name

From: mouss <mouss_at_nospam>
Date: Mon Oct 04 2010 - 20:53:29 GMT
To: postfix-users@postfix.org

  Le 04/10/2010 17:49, martin f krafft a écrit :
> also sprach Noel Jones<njones@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.