Blocked senders
Discard a sender’s new email before it is stored.
On this page
mailset blocks list
List the senders blocked in your mailboxes.
Returns
With --json it prints what the API returns.
mailset blocks list
mailset blocks list
mailset blocks add
Discard a sender’s new mail in one mailbox.
Flags
The sender’s address.
One of your mailboxes, by address.
In every mailbox you can open, not only this one.
Returns
With --json it prints what the API returns.
mailset blocks add <address> --mailbox <mailbox> [--everywhere]
mailset blocks add ten.elpmaxe@sreffo --mailbox moc.elpmaxe@ana
mailset blocks addMany
Block several senders at once, each in its own mailbox.
Flags
The senders to block, each with the mailbox to block it in. Up to 100.
Or @<path>, to read the JSON from a file.
Returns
With --json it prints what the API returns.
mailset blocks addMany --senders <json>
mailset blocks addMany --senders @senders.json
[
{
"mailbox": "moc.elpmaxe@ana",
"address": "ten.elpmaxe@sreffo"
},
{
"mailbox": "moc.elpmaxe@ana",
"address": "gro.elpmaxe@slaed"
}
]
mailset blocks remove
Stop blocking a sender.
Flags
The sender’s address.
One of your mailboxes, by address.
In every mailbox you can open, not only this one.
Returns
With --json it prints what the API returns.
mailset blocks remove <address> --mailbox <mailbox> [--everywhere]
mailset blocks remove ten.elpmaxe@sreffo --mailbox moc.elpmaxe@ana