https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6943
Bug ID: 6943
Summary: Introducing CONF_TYPE_DURATION data type
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Seems awkward having to say in a config file:
bayes_token_ttl 3024000
when one means 5 weeks. Adding optional time units to
configured time duration intervals seems more user-friendly:
bayes_token_ttl 5w
The attached change introduces a data type $CONF_TYPE_DURATION,
which is similar to $CONF_TYPE_NUMERIC, but allows optionally
suffixing a numeric value by time units/multipliers: s, m, h, d, w,
and disallows negative values. A default time unit is a second.
--
You are receiving this mail because:
You are the assignee for the bug.