Opened 14 years ago

Last modified 13 years ago

#15 assigned enhancement

Add state counters by Message-ID

Reported by: rjl Owned by: rjl
Priority: normal Milestone:
Component: amavisd-maia Version: 1.0.0 RC5
Severity: normal Keywords: state counter message-id


From Richard Whittaker's description:

I think it might be a really good idea for Amavis/Maia? to institute "state" counters by message IDs. Have a table with message IDs, and AmaVis/Maia? does a SELECT count(*) where MsgID = x, if it = 0, then do an INSERT. If it returns greater than 0, increment the counter by 1, and then have a "high-water mark" that terminates further processing of that message.. Possibly even deleting it outright to fool MTA-RX into thinking the message was delivered... As one of the rundown stages (following successful completion of the message), AmaVisd/Maia? drops the message ID from the table. Since every message ID is supposed to be unique, I would also think this might be a good means of detecting intrusions as well. Perhaps even leave the message IDs in the table as a method of detecting anomalous patterns... The amount of space would be vrey small.. A bigint id, a varchar 20 msgid, and an int counter

Change History (2)

comment:1 Changed 14 years ago by rjl

  • Status changed from new to assigned

comment:2 Changed 13 years ago by dmorton

  • Milestone 1.0.0 deleted
Note: See TracTickets for help on using tickets.