Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Created July 19, 2016 07:18
Show Gist options
  • Save nishinoshake/0e2437d97146aa751fc2e3c2f77912c5 to your computer and use it in GitHub Desktop.
Save nishinoshake/0e2437d97146aa751fc2e3c2f77912c5 to your computer and use it in GitHub Desktop.
mailmanでよく使うコマンド
# メーリングリストの一覧表示
list_lists
# メーリングリストの新規作成
newlist [options] listname admin-addr admin-passwd
#メーリングリストの削除
rmlist -a listname
# メーリングリストのアドレス一覧表示
list_members listname
# メーリングリストにアドレスを追加
# 毎回ファイルを作成するのは面倒なので標準入力から
echo addr | add_members -r - listname
# メーリングリストからアドレスを削除
remove_members listname addr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment