


サイト全体のメーリングリスト(管理用?)を作成する必要があるのでデフォルト(mailman)で作成
mailmanの出力メッセージはeuc-jpなのでTerminalの文字コードは事前に変更
- サイト全体のメーリングリスト作成
- mailman MLの初期設定
- mailman起動scriptの準備
- cronの初期設定
1 2 3 4 |
[root@centos mailman]# /usr/local/mailman/bin/newlist mailman リスト管理者のメールアドレスを入力してください: mailman-owner@rootlinks.net mailman の初期パスワード: Enter を押して mailman の管理者にメール通知する... |
初期設定用ファイルがあるのでそれを適用
1 2 |
[root@centos mailman]# /usr/local/mailman/bin/config_list -i data/sitelist.cfg mailman 標準でない値を修復: personalize |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
[root@centos mailman]# cp /usr/local/mailman/scripts/mailman /etc/rc.d/init.d/ [root@centos mailman]# chkconfig --add mailman [root@centos mailman]# chkconfig --list mailman mailman 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@centos mailman]# /etc/rc.d/init.d/mailman start [root@centos mailman]# ps ax | grep mailman 28794 ? Ss 0:00 /usr/bin/python /usr/local/mailman/bin/mailmanctl -s -q start 28795 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s 28796 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s 28797 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s 28798 ? S 0:01 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s 28799 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s 28800 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s 28801 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s 28802 ? S 0:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
[root@centos mailman]# cd /usr/local/mailman/cron/ [root@centos cron]# crontab -u mailman crontab.in [root@centos cron]# crontab -u mailman -l # At 8AM every day, mail reminders to admins as to pending requests. # They are less likely to ignore these reminders if they're mailed # early in the morning, but of course, this is local time... 0 8 * * * /usr/bin/python -S /usr/local/mailman/cron/checkdbs # # At 9AM, send notifications to disabled members that are due to be # reminded to re-enable their accounts. 0 9 * * * /usr/bin/python -S /usr/local/mailman/cron/disabled # # Noon, mail digests for lists that do periodic as well as threshhold delivery. 0 12 * * * /usr/bin/python -S /usr/local/mailman/cron/senddigests # # 5 AM on the first of each month, mail out password reminders. 0 5 1 * * /usr/bin/python -S /usr/local/mailman/cron/mailpasswds # # Every 5 mins, try to gate news to mail. You can comment this one out # if you don't want to allow gating, or don't have any going on right now, # or want to exclusively use a callback strategy instead of polling. 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /usr/local/mailman/cron/gate_news # # At 3:27am every night, regenerate the gzip'd archive file. Only # turn this on if the internal archiver is used and # GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py 27 3 * * * /usr/bin/python -S /usr/local/mailman/cron/nightly_gzip # # At 4:30AM daily, cull old entries from the 'bad' and 'shunt' queues. 30 4 * * * /usr/bin/python -S /usr/local/mailman/cron/cull_bad_shunt |