mirror of
https://github.com/chatmail/relay.git
synced 2026-06-13 07:01:07 +00:00
feat: Extend IMAP METADATA to have a unixtimestamp key
This commit is contained in:
@@ -125,6 +125,8 @@ class MetadataDictProxy(DictProxy):
|
||||
case "maxsmtprecipients":
|
||||
# postfix default (see "postconf smtpd_recipient_limit")
|
||||
return "O1000\n"
|
||||
case "unixtimestamp":
|
||||
return f"O{int(time.time())}\n"
|
||||
|
||||
logging.warning(f"lookup ignored: {parts!r}")
|
||||
return "N\n"
|
||||
|
||||
Reference in New Issue
Block a user