On 2009-07-29 15:14:29 -0500, Larry Nedry wrote:
> The require_resolvable_fromhost plugin returns DENYSOFT when a host doesn't
> resolve.  This makes sense with a well behaved host.

I'm not so sure about that. The idea was that returning DENYSOFT gives
both the sender and the recipient a few days to notice that something is
wrong, so that either the sender can fix their DNS setup (preferred) or
the recipient can whitelist the sender. However, in practice neither the
sender nor the recipient notice that something is wrong until the
message finally bounces a week later. So I guess that should be
configurable.

> But I've noticed that some hosts that don't resolve will continuously
> retry and never seem to disconnect.

Haven't noticed that.

> Sometimes this goes on for days.  Is there a good reason that
> I shouldn't patch this plugin to return DENY_DISCONNECT,

Not unconditionally, but if the the return code is configurable, that's
one possible return code.

> perhaps after x number of failed retries?

The count_denies plugin already disconnects after a configurable number
of failures. I don't think it makes sense to build this into
require_resolvable_fromhost (or other plugins).

        hp

-- 
   _  | Peter J. Holzer    | Openmoko has already embedded
|_|_) | Sysadmin WSR       | voting system.
| |   | h...@hjp.at         | Named "If you want it -- write it"
__/   | http://www.hjp.at/ |  -- Ilja O. on commun...@lists.openmoko.org

Attachment: signature.asc
Description: Digital signature

Reply via email to