bley icon indicating copy to clipboard operation
bley copied to clipboard

document the status values in the sql tables.

Open jacksnodgrass opened this issue 9 years ago • 1 comments

Trying to verify that bley is working like I expect. The bley_status.status value is not easily explained. 1 seems to be that a valid SPF record was found and no extra delay was added. 2 seems to indicate that a 450 message was sent saying try again later but the client never did. not sure what 0 is exactly. I see it for things that did not get a 450 message but don't seem to have a valid SPF record either.

would be helpful if these values were documented / explained.

jacksnodgrass avatar May 21 '16 14:05 jacksnodgrass

Hi,

it is "documented" in the code ;-) https://github.com/evgeni/bley/blob/master/bley.py#L135-L139

0 = "ok, the original message did not trigger any of the negative checks" 1 = "found in whitelist" 2 = "should be greylisted, original message triggered negative checks"

actually, I have no idea why I differentiate 0 and 1 here :)

I'll see that I add some proper DB layout to the docs

evgeni avatar Jun 10 '16 12:06 evgeni