OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Helo command rejected: unknown host reg....

From: /dev/rob0 (rob0gmx.co.uk)
Date: Fri May 02 2008 - 12:31:20 CDT


The top-posting made this thread hard to follow. Please don't do that.

On Fri May 2 2008 01:33:42 Anant S Athavale wrote:
> Whenever REJECT happens, it logs the helo hostname in the logs. But,
> when the sender is informed of this and he corrects the problem, we
> start receiving the mails. But, I want to log the new helo hostname
> which he would have set to solve the problem. How do I achieve it.
> This is not be a permanent requirement.

1. You reject using reject_unknown_helo_hostname
2. A miracle happens, and the rejected postmaster fixes the HELO
3. Same client reconnects and message is delivered.

You want #3 to be noted in your logs. This is not possible natively in
Postfix. You would have to write a policy service which would maintain
a database of unresolvable HELO hostnames, and check new connections
against that database.

Regarding #2 above, it doesn't seem likely to happen in my part of the
Internet. In fact I don't consider reject_unknown_helo_hostname safe.
If you have a lot of leverage over your correspondents, maybe.
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header