Skip to content

Instantly share code, notes, and snippets.

@hotta
hotta / Mailman2Groups.gs
Last active November 18, 2016 01:34
Mailman to Google Groups member list migration sample using Google Apps Script
/*********************************************************************************
* Mailman からのリスト移行サンプル using Google Apps Script
* 2015.09.07 M.Hotta
*
* Mailman における情報取得方法
* リスト一覧の取得 mailman:/usr/lib/mailman/bin$ sudo ./list_lists | nkf -w
* (文字化けする場合は管理画面から取得)
* 購読者一覧の取得 mailman:/usr/lib/mailman/bin$ sudo ./list_members リスト名
* 管理者一覧の取得 mailman:/usr/lib/mailman/bin$ sudo ./list_owners リスト名
*
@xtetsuji
xtetsuji / maillog-hashnize.pl
Last active October 11, 2022 08:08
enhancement of "pflog" for parsing maillog of postfix 2.3 or higher version.
#!/usr/bin/perl
# "pflog" enhancement for parsing maillog of postfix 2.3 or higher version.
# "pflog" see: http://www.tmtm.org/ruby/pflog/pflog-0.3
use strict;
use warnings;
use Time::Local;
use Getopt::Long;
#use Data::Dumper;