Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] FYI: Murphy's law of autowhitelist

2006-11-10 by Phil Randal

Oliver Fromme wrote:
> 
> 
> 
> AIDA Shinra wrote:
>  > Look at the default configuration:
>  >
>  > greylist 30m
>  > autowhite 1d
> 
> Uh, only 1d is the default for autowhite?
> That's pretty low.
> 
>  > Consider the following scenario:
>  > [...]
>  > If above scenario were repeated, the first email M1 whould not
>  > delivered and finally bounces to the sender. Lesson: autowhitelist
>  > should have enough long lifetime, for example 5 days.
> 
> That's true. The problem you described can happen if the
> "autowhite" value is shorter than the "timeout" value.
> I've set both to 5d and didn't have any problems.
> 
> The documentation should mention that the "autowhite"
> setting should be at least as long as the "timeout"
> setting (or longer, of course), and the default values
> should obey that.
> 
> Best regards
> Oliver

Computers are cleverer than mere mortals, so let milter-greylist do that 
consistency checking for us.

Milter-greylist should use max(specified_autowhite,timeout) as the 
autowhite value, put a warning message into the log, and continue.

Add documentation which states that that's how it will be, and it's 
goof-proof (well, at least consistent in a way which won't unnecessarily 
loose mails).

Phil

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.