Skip to content

Instantly share code, notes, and snippets.

@tateisu
Created May 2, 2020 23:35
Show Gist options
  • Save tateisu/bce74cee1048b17082aa5cf3b019cb1e to your computer and use it in GitHub Desktop.
Save tateisu/bce74cee1048b17082aa5cf3b019cb1e to your computer and use it in GitHub Desktop.

docker-compose run --rm web tootctl email_domains block

No domain(s) given

docker-compose run --rm web tootctl email_domains block ikt.jp

ikt.jp was blocked.

docker-compose run --rm web tootctl email_domains block ikt.jp jetable.org

ikt.jp is already blocked.
jetable.org was blocked.

docker-compose run --rm web tootctl email_domains unblock ikt.jp

ikt.jp was unblocked.

docker-compose run --rm web tootctl email_domains block jetable.org

jetable.org is already blocked.

docker-compose run --rm web tootctl email_domains unblock ikt.jp jetable.org

ikt.jp is not exists.
jetable.org was unblocked.

docker-compose run --rm web tootctl email_domains block --with-dns-records sosiska.top sute.jp

sosiska.top was blocked.
mx37.mb5p.com was blocked. (from sosiska.top)
mx37.m1bp.com was blocked. (from sosiska.top)
192.64.147.150 was blocked. (from sosiska.top)
192.110.255.243 was blocked. (from sosiska.top)
192.110.255.240 was blocked. (from sosiska.top)
192.110.255.229 was blocked. (from sosiska.top)
192.110.255.237 was blocked. (from sosiska.top)
192.110.255.234 was blocked. (from sosiska.top)
192.110.255.242 was blocked. (from sosiska.top)
192.110.255.232 was blocked. (from sosiska.top)
192.110.255.238 was blocked. (from sosiska.top)
192.110.255.235 was blocked. (from sosiska.top)
192.110.255.239 was blocked. (from sosiska.top)
192.110.255.230 was blocked. (from sosiska.top)
192.110.255.231 was blocked. (from sosiska.top)
2001:430:FFF6::3 was blocked. (from sosiska.top)
192.110.255.235 is already blocked.
192.110.255.230 is already blocked.
192.110.255.237 is already blocked.
192.110.255.239 is already blocked.
192.110.255.229 is already blocked.
192.110.255.234 is already blocked.
192.110.255.240 is already blocked.
192.110.255.231 is already blocked.
192.110.255.243 is already blocked.
192.110.255.232 is already blocked.
192.110.255.242 is already blocked.
192.110.255.238 is already blocked.
2001:430:FFF6::2 was blocked. (from sosiska.top)
sute.jp was blocked.
mx1.sute.jp was blocked. (from sute.jp)
219.94.255.160 was blocked. (from sute.jp)
219.94.255.160 is already blocked.

docker-compose run --rm web tootctl email_domains list

sosiska.top
  mx37.mb5p.com
  mx37.m1bp.com
  192.64.147.150
  192.110.255.231
  192.110.255.240
  192.110.255.232
  192.110.255.243
  192.110.255.229
  192.110.255.239
  192.110.255.237
  192.110.255.230
  192.110.255.242
  192.110.255.234
  192.110.255.238
  192.110.255.235
  2001:430:fff6::3
  2001:430:fff6::2
sute.jp
  mx1.sute.jp
  219.94.255.160

docker-compose run --rm web tootctl email_domains unblock sosiska.top sute.jp

sosiska.top was unblocked.
sute.jp was unblocked.

docker-compose run --rm web tootctl email_domains list

(no lines)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment