Mailman-2.1.14+j6
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Mailman データーの移行]]
#contents
*Mailman-2.1.14+j6 install [#y0c0ee7e]
Mailman-2.1.14+j6をDL
http://www.python.jp/doc/contrib/mailman/index.html
http://www.python.jp/doc/contrib/mailman/mailmaninstall.h...
DLしたMailman-2.1.14+j6.tgz を /usr/local/Mailman-2.1.14...
/usr/local/mailman-2.1.14+j6
./configure
/usr/local/mailman/bin/mailmanctl stop
cd /usr/local/mailman-2.1.14+j6/
make install
guard# bin/check_perms -f
Warning: Private archive directory is other-executable (...
This could allow other users on your system to r...
If you're on a shared multiuser system, you shou...
installation manual on how to fix this.
No problems found
guard# chown www /usr/local/mailman/archives/private
guard# chmod o-x /usr/local/mailman/archives/private
cd /usr/local/mailman-stop
guard# cp -rp _Kuji /usr/local/mailman/
guard# cp -rp archives /usr/local/mailman/
guard# cp -rp lists /usr/local/mailman/
guard# cp -rp data /usr/local/mailman/
guard# cp -rp logs /usr/local/mailman/
guard# cp Mailman/mm_cfg.py /usr/local/mailman/Mailman/
directory permissions must be 02775: /usr/local/mailman/...
Problems found: 1
Re-run as mailman (or root) with -f flag to fix
guard# bin/check_perms -f
No problems found
**通し番号のカスタマイズ [#w8476680]
/usr/local/mailman/bin/set_post_id.py
import time
def set_post_id(m):
today = time.strftime('%y%m%d', time.localtime())
m.post_id = float(int(today, 10) * 1000) + 1
m.Save()
** [#f9e79160]
1./usr/local/mailman/bin/mailmanctl stop でmailmanを...
2.ダウンロードした mailman-2.1.14+j6 を /usr/local/...
3../configure の後、make install
4.待避していた旧mailman から、以下のファイルを /usr/l...
# cp -rp _Kuji /usr/local/mailman/
# cp -rp archives /usr/local/mailman/
# cp -rp lists /usr/local/mailman/
# cp -rp data /usr/local/mailman/
# cp -rp logs /usr/local/mailman/
# cp Mailman/mm_cfg.py /usr/local/mailman/Mailman/
5.mm_cfg.py は、コメント部分を省略しますが、以下の様に...
────────────────────────────────────
# -*- python -*-
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_SERVER_LANGUAGE = 'ja'
GLOBAL_PIPELINE.insert(1, 'iso2022jpfix')
"$SMTPHOST = mail.server.name"
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['Virtual_Domain_Name']
add_virtualhost('Virtual_Host_Name','Virtual_Host_Name')
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
#GLOBAL_PIPELINE.insert(0,'behave')
────────────────────────────────────
6.Anonymouse List の From: へ「(氏名)Full_name」を表示...
────────────────────────────────────
--- Cleanse.py_dist 2011-10-30 07:02:40.000000000 +0900
+++ Cleanse.py 2011-10-30 07:03:40.000000000 +0900
@@ -1,5 +1,5 @@
-# Copyright (C) 1998-2010 by the Free Software Foundati...
-#
+# Copyright (C) 1998-2006 by the Free Software Foundati...
+# NAGAE version
# This program is free software; you can redistribute i...
# modify it under the terms of the GNU General Public L...
# as published by the Free Software Foundation; either ...
@@ -53,8 +53,17 @@
# And so can the message-id so replace it.
del msg['message-id']
msg['Message-ID'] = unique_message_id(mlist)
+
+ for sender in msg.get_senders():
+ if mlist.isMember(sender):
+ break
+ else:
+ sender = msg.get_sender()
+ i18ndesc = str(uheader(mlist, mlist.getMemberNa...
+ if i18ndesc == '':
i18ndesc = str(uheader(mlist, mlist.description...
msg['From'] = formataddr((i18ndesc, mlist.GetLi...
+
msg['Reply-To'] = mlist.GetListEmail()
uf = msg.get_unixfrom()
if uf:
────────────────────────────────────
終了行:
[[Mailman データーの移行]]
#contents
*Mailman-2.1.14+j6 install [#y0c0ee7e]
Mailman-2.1.14+j6をDL
http://www.python.jp/doc/contrib/mailman/index.html
http://www.python.jp/doc/contrib/mailman/mailmaninstall.h...
DLしたMailman-2.1.14+j6.tgz を /usr/local/Mailman-2.1.14...
/usr/local/mailman-2.1.14+j6
./configure
/usr/local/mailman/bin/mailmanctl stop
cd /usr/local/mailman-2.1.14+j6/
make install
guard# bin/check_perms -f
Warning: Private archive directory is other-executable (...
This could allow other users on your system to r...
If you're on a shared multiuser system, you shou...
installation manual on how to fix this.
No problems found
guard# chown www /usr/local/mailman/archives/private
guard# chmod o-x /usr/local/mailman/archives/private
cd /usr/local/mailman-stop
guard# cp -rp _Kuji /usr/local/mailman/
guard# cp -rp archives /usr/local/mailman/
guard# cp -rp lists /usr/local/mailman/
guard# cp -rp data /usr/local/mailman/
guard# cp -rp logs /usr/local/mailman/
guard# cp Mailman/mm_cfg.py /usr/local/mailman/Mailman/
directory permissions must be 02775: /usr/local/mailman/...
Problems found: 1
Re-run as mailman (or root) with -f flag to fix
guard# bin/check_perms -f
No problems found
**通し番号のカスタマイズ [#w8476680]
/usr/local/mailman/bin/set_post_id.py
import time
def set_post_id(m):
today = time.strftime('%y%m%d', time.localtime())
m.post_id = float(int(today, 10) * 1000) + 1
m.Save()
** [#f9e79160]
1./usr/local/mailman/bin/mailmanctl stop でmailmanを...
2.ダウンロードした mailman-2.1.14+j6 を /usr/local/...
3../configure の後、make install
4.待避していた旧mailman から、以下のファイルを /usr/l...
# cp -rp _Kuji /usr/local/mailman/
# cp -rp archives /usr/local/mailman/
# cp -rp lists /usr/local/mailman/
# cp -rp data /usr/local/mailman/
# cp -rp logs /usr/local/mailman/
# cp Mailman/mm_cfg.py /usr/local/mailman/Mailman/
5.mm_cfg.py は、コメント部分を省略しますが、以下の様に...
────────────────────────────────────
# -*- python -*-
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_SERVER_LANGUAGE = 'ja'
GLOBAL_PIPELINE.insert(1, 'iso2022jpfix')
"$SMTPHOST = mail.server.name"
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['Virtual_Domain_Name']
add_virtualhost('Virtual_Host_Name','Virtual_Host_Name')
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
#GLOBAL_PIPELINE.insert(0,'behave')
────────────────────────────────────
6.Anonymouse List の From: へ「(氏名)Full_name」を表示...
────────────────────────────────────
--- Cleanse.py_dist 2011-10-30 07:02:40.000000000 +0900
+++ Cleanse.py 2011-10-30 07:03:40.000000000 +0900
@@ -1,5 +1,5 @@
-# Copyright (C) 1998-2010 by the Free Software Foundati...
-#
+# Copyright (C) 1998-2006 by the Free Software Foundati...
+# NAGAE version
# This program is free software; you can redistribute i...
# modify it under the terms of the GNU General Public L...
# as published by the Free Software Foundation; either ...
@@ -53,8 +53,17 @@
# And so can the message-id so replace it.
del msg['message-id']
msg['Message-ID'] = unique_message_id(mlist)
+
+ for sender in msg.get_senders():
+ if mlist.isMember(sender):
+ break
+ else:
+ sender = msg.get_sender()
+ i18ndesc = str(uheader(mlist, mlist.getMemberNa...
+ if i18ndesc == '':
i18ndesc = str(uheader(mlist, mlist.description...
msg['From'] = formataddr((i18ndesc, mlist.GetLi...
+
msg['Reply-To'] = mlist.GetListEmail()
uf = msg.get_unixfrom()
if uf:
────────────────────────────────────
ページ名: