Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.71 KB

File metadata and controls

32 lines (23 loc) · 1.71 KB

MailBlocks

The complete set of blocked addresses and message patterns returned by GET /mail/blocks. Three independent block sources are combined into one response. Use POST /mail/blocks/delete with a from address from any entry to delist it.

Properties

Name Type Description Notes
local List[MailBlockClickHouse] Messages flagged by the `LOCAL_BL_RCPT` rspamd rule in the last 5 days. These are messages sent to recipients on a local block list.
mbtrap List[MailBlockClickHouse] Messages flagged by the `MBTRAP` rspamd rule in the last 5 days. These triggered MailBaby's honeypot / trap address detection.
subject List[MailBlockRspamd] Senders whose messages contained spam-indicative subjects (containing `@`, `smtp`, `socks4`, or `socks5`) with more than 4 occurrences of the same subject in the last 3 days.

Example

from openapi_client.models.mail_blocks import MailBlocks

# TODO update the JSON string below
json = "{}"
# create an instance of MailBlocks from a JSON string
mail_blocks_instance = MailBlocks.from_json(json)
# print the JSON string representation of the object
print(MailBlocks.to_json())

# convert the object into a dict
mail_blocks_dict = mail_blocks_instance.to_dict()
# create an instance of MailBlocks from a dict
mail_blocks_from_dict = MailBlocks.from_dict(mail_blocks_dict)

[Back to Model list] [Back to API list] [Back to README]