Mailman Virtualhost
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Mailman on FreeBSD]]
/usr/local/mailman/data/virtual-mailman
#contents
*virtual-mailman の loop [#dfe68e54]
# LOOP ADDRESSES START
mailman-loop@niihama-med.or.jp mailman-loop
# LOOP ADDRESSES END
/usr/local/mailman/data/virtual-mailman
# LOOP ADDRESSES START
mailman-loop@thousand-winds.net mailman-loop
# LOOP ADDRESSES END
この設定がないと、ループする?
*Hotshot [#y3a4bd45]
**Mailman de Virtualhost [#oe16ccb4]
***/usr/local/mailman/Mailman/mm_cfg.py [#od5d5117]
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_SERVER_LANGUAGE = 'ja'
"$SMTPHOST = mail.smb.net"
MTA = 'Postfix'
#POSTFIX_STYLE_VIRTUAL_DOMAINS = ['thousand-winds.jp']
add_virtualhost('mail.nosmoke.jp','mail.nosmoke.jp')
add_virtualhost('mail.niihama-med.or.jp','mail.niihama-m...
add_virtualhost('mail.soundstep.co.jp','mail.soundstep.c...
add_virtualhost('mail.smb.net','mail.smb.net')
DEFAULT_SUBJECT_PREFIX = '[%(real_name)s:%%d]'
#GLOBAL_PIPELINE.insert(0,'behave')
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
***/usr/local/etc/postfix/main.cf [#jb74d4f0]
#virtual_alias_domains = niihama-med.or.jp, soundstep.co...
virtual_alias_domains = niihama-med.or.jp, soundstep.co....
**Vertual-mailman バーチャルホスト上で運用中のMailmanに新...
Virtualホスト上で運用中のMailmanに新しいリストを作成した...
/usr/local/mailman/data/virtual-mailman の変更は手動で行...
hotshot:root {101} % cd /usr/local/mailman/data
hotshot:root {103} % cp virtual-mailman virtual-mailman-...
vi /usr/local/mailman/data/virtual-mailman
nosmoke.jp anything
uen@nosmoke.jp uen
uen-admin@nosmoke.jp uen-admin
uen-bounces@nosmoke.jp uen-bounces
uen-confirm@nosmoke.jp uen-confirm
uen-join@nosmoke.jp uen-join
uen-leave@nosmoke.jp uen-leave
uen-owner@nosmoke.jp uen-owner
uen-request@nosmoke.jp uen-request
uen-subscribe@nosmoke.jp uen-subscribe
uen-unsubscribe@nosmoke.jp uen-unsubscribe
# STANZA END: uen
postmap /usr/local/mailman/data/virtual-mailman
***mailman 再起動 [#j1218409]
/usr/local/mailman/bin/mailmanctl restart
*** newaliases では、/usr/local/mailman/data/aliases.db ...
########################################################...
# postmap /usr/local/mailman/data/virtual-mailman
# newaliases #しても、/usr/local/mailman/data/aliases.d...
# /usr/local/mailman/data/aliases.db を更新するには、
cd /usr/local/mailman/data
postalias aliases
とする
# /usr/local/mailman/bin/mailmanctl restart
######## このファイルを書き換えたら、上記 3行、行うヨロ...
**Virtual host の変更 [#nf692943]
【環境】
FreeBSD 6.3-p6 Postfix(2.3.8) Mailman(version 2.1.9)
○通し番号カスタマイズ○本文機種文字対策菊地先生方式^^
○[mmjp-users 2258] 添付のMIMESubject.patch(by Nagae様)...
【やりたいこと】
mail.smb.net というメールサーバ上の、virtual domain で運...
Wigand@niihama-med.or.jp というMLを、
Wigand@nosmoke.jp というドメインに変更したい。
【想定している手順】
/usr/local/mailman/data/aliases には、既にwigandは登録...
# STANZA START: wigand
# CREATED: Thu Aug 16 17:04:29 2007
wigand: "|/usr/local/mailman/mail/mailman po...
wigand-admin: "|/usr/local/mailman/mail/mailman ad...
wigand-bounces: "|/usr/local/mailman/mail/mailman bo...
wigand-confirm: "|/usr/local/mailman/mail/mailman co...
wigand-join: "|/usr/local/mailman/mail/mailman jo...
wigand-leave: "|/usr/local/mailman/mail/mailman le...
wigand-owner: "|/usr/local/mailman/mail/mailman ow...
wigand-request: "|/usr/local/mailman/mail/mailman re...
wigand-subscribe: "|/usr/local/mailman/mail/mailman su...
wigand-unsubscribe: "|/usr/local/mailman/mail/mailman un...
# STANZA END: wigand
2)現在/usr/local/mailman/data/virtual-mailman で、
niihama-med.or.jp以下に記載されている
niihama-med.or.jp anything
wigand@niihama-med.or.jp wigand
wigand-admin@niihama-med.or.jp wigand-admin
wigand-bounces@niihama-med.or.jp wigand-bounces
wigand-confirm@niihama-med.or.jp wigand-confirm
wigand-join@niihama-med.or.jp wigand-join
wigand-leave@niihama-med.or.jp wigand-leave
wigand-owner@niihama-med.or.jp wigand-owner
wigand-request@niihama-med.or.jp wigand-request
wigand-subscribe@niihama-med.or.jp wigand-subscribe
wigand-unsubscribe@niihama-med.or.jp wigand-unsubscribe
# STANZA END: wigand
の部分を、
nosmoke.jp anything
wigand@nosumoke.jp wigand
wigand-admin@nosumoke.jp wigand-admin
wigand-bounces@nosumoke.jp wigand-bounces
wigand-confirm@nosumoke.jp wigand-confirm
wigand-join@nosumoke.jp wigand-join
wigand-leave@nosumoke.jp wigand-leave
wigand-owner@nosumoke.jp wigand-owner
wigand-request@nosumoke.jp wigand-request
wigand-subscribe@nosumoke.jp wigand-subscribe
wigand-unsubscribe@nosumoke.jp wigand-unsubscribe
# STANZA END: wigand
と書き換え、
postmap /usr/local/mailman/data/virtual-mailman
する。
さらに、admin ページで、「メールの送信に使うホスト名(ドメ...
(host_name)を変更する必要があります。
また、場合によっては、Webpage URL を変更する必要があると
思いますが、その場合、bin/fix_url.py を使ってください。
hotshot:root {112} % bin/withlist -l -r fix_url wigand -...
Importing fix_url...
Running fix_url.fix_url()...
Loading list wigand (locked)
Saving list
Finalizing
hotshot:root {113} %
% bin/withlist -l -r fix_url listname [options]
Options:
-u urlhost
--urlhost=urlhost
Look up urlhost in the virtual host table and set...
host_name attributes of the list to the values fo...
essentially moves the list from one virtual domai...
Without this option, the default web_page_url and...
used.
-v / --verbose
Print what the script is doing.
*Piano [#q59eb28a]
**/usr/local/etc/postfix/main.cf [#u9793f59]
#virtual_alias_domains = niihama-med.or.jp, soundstep.co...
virtual_alias_domains = thousand-winds.net
#modify 20081020 for Mailman
virtual_alias_maps = hash:/usr/local/etc/postfix/virtua...
#add for Mailman########################################...
CoolMaster:root {78} % touch virtual-mailman
CoolMaster:root {79} % postmap /usr/local/mailman/data/v...
CoolMaster:root {80} % postfix reload
postfix/postfix-script: refreshing the Postfix mail system
終了行:
[[Mailman on FreeBSD]]
/usr/local/mailman/data/virtual-mailman
#contents
*virtual-mailman の loop [#dfe68e54]
# LOOP ADDRESSES START
mailman-loop@niihama-med.or.jp mailman-loop
# LOOP ADDRESSES END
/usr/local/mailman/data/virtual-mailman
# LOOP ADDRESSES START
mailman-loop@thousand-winds.net mailman-loop
# LOOP ADDRESSES END
この設定がないと、ループする?
*Hotshot [#y3a4bd45]
**Mailman de Virtualhost [#oe16ccb4]
***/usr/local/mailman/Mailman/mm_cfg.py [#od5d5117]
##################################################
# Put YOUR site-specific settings below this line.
DEFAULT_SERVER_LANGUAGE = 'ja'
"$SMTPHOST = mail.smb.net"
MTA = 'Postfix'
#POSTFIX_STYLE_VIRTUAL_DOMAINS = ['thousand-winds.jp']
add_virtualhost('mail.nosmoke.jp','mail.nosmoke.jp')
add_virtualhost('mail.niihama-med.or.jp','mail.niihama-m...
add_virtualhost('mail.soundstep.co.jp','mail.soundstep.c...
add_virtualhost('mail.smb.net','mail.smb.net')
DEFAULT_SUBJECT_PREFIX = '[%(real_name)s:%%d]'
#GLOBAL_PIPELINE.insert(0,'behave')
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
***/usr/local/etc/postfix/main.cf [#jb74d4f0]
#virtual_alias_domains = niihama-med.or.jp, soundstep.co...
virtual_alias_domains = niihama-med.or.jp, soundstep.co....
**Vertual-mailman バーチャルホスト上で運用中のMailmanに新...
Virtualホスト上で運用中のMailmanに新しいリストを作成した...
/usr/local/mailman/data/virtual-mailman の変更は手動で行...
hotshot:root {101} % cd /usr/local/mailman/data
hotshot:root {103} % cp virtual-mailman virtual-mailman-...
vi /usr/local/mailman/data/virtual-mailman
nosmoke.jp anything
uen@nosmoke.jp uen
uen-admin@nosmoke.jp uen-admin
uen-bounces@nosmoke.jp uen-bounces
uen-confirm@nosmoke.jp uen-confirm
uen-join@nosmoke.jp uen-join
uen-leave@nosmoke.jp uen-leave
uen-owner@nosmoke.jp uen-owner
uen-request@nosmoke.jp uen-request
uen-subscribe@nosmoke.jp uen-subscribe
uen-unsubscribe@nosmoke.jp uen-unsubscribe
# STANZA END: uen
postmap /usr/local/mailman/data/virtual-mailman
***mailman 再起動 [#j1218409]
/usr/local/mailman/bin/mailmanctl restart
*** newaliases では、/usr/local/mailman/data/aliases.db ...
########################################################...
# postmap /usr/local/mailman/data/virtual-mailman
# newaliases #しても、/usr/local/mailman/data/aliases.d...
# /usr/local/mailman/data/aliases.db を更新するには、
cd /usr/local/mailman/data
postalias aliases
とする
# /usr/local/mailman/bin/mailmanctl restart
######## このファイルを書き換えたら、上記 3行、行うヨロ...
**Virtual host の変更 [#nf692943]
【環境】
FreeBSD 6.3-p6 Postfix(2.3.8) Mailman(version 2.1.9)
○通し番号カスタマイズ○本文機種文字対策菊地先生方式^^
○[mmjp-users 2258] 添付のMIMESubject.patch(by Nagae様)...
【やりたいこと】
mail.smb.net というメールサーバ上の、virtual domain で運...
Wigand@niihama-med.or.jp というMLを、
Wigand@nosmoke.jp というドメインに変更したい。
【想定している手順】
/usr/local/mailman/data/aliases には、既にwigandは登録...
# STANZA START: wigand
# CREATED: Thu Aug 16 17:04:29 2007
wigand: "|/usr/local/mailman/mail/mailman po...
wigand-admin: "|/usr/local/mailman/mail/mailman ad...
wigand-bounces: "|/usr/local/mailman/mail/mailman bo...
wigand-confirm: "|/usr/local/mailman/mail/mailman co...
wigand-join: "|/usr/local/mailman/mail/mailman jo...
wigand-leave: "|/usr/local/mailman/mail/mailman le...
wigand-owner: "|/usr/local/mailman/mail/mailman ow...
wigand-request: "|/usr/local/mailman/mail/mailman re...
wigand-subscribe: "|/usr/local/mailman/mail/mailman su...
wigand-unsubscribe: "|/usr/local/mailman/mail/mailman un...
# STANZA END: wigand
2)現在/usr/local/mailman/data/virtual-mailman で、
niihama-med.or.jp以下に記載されている
niihama-med.or.jp anything
wigand@niihama-med.or.jp wigand
wigand-admin@niihama-med.or.jp wigand-admin
wigand-bounces@niihama-med.or.jp wigand-bounces
wigand-confirm@niihama-med.or.jp wigand-confirm
wigand-join@niihama-med.or.jp wigand-join
wigand-leave@niihama-med.or.jp wigand-leave
wigand-owner@niihama-med.or.jp wigand-owner
wigand-request@niihama-med.or.jp wigand-request
wigand-subscribe@niihama-med.or.jp wigand-subscribe
wigand-unsubscribe@niihama-med.or.jp wigand-unsubscribe
# STANZA END: wigand
の部分を、
nosmoke.jp anything
wigand@nosumoke.jp wigand
wigand-admin@nosumoke.jp wigand-admin
wigand-bounces@nosumoke.jp wigand-bounces
wigand-confirm@nosumoke.jp wigand-confirm
wigand-join@nosumoke.jp wigand-join
wigand-leave@nosumoke.jp wigand-leave
wigand-owner@nosumoke.jp wigand-owner
wigand-request@nosumoke.jp wigand-request
wigand-subscribe@nosumoke.jp wigand-subscribe
wigand-unsubscribe@nosumoke.jp wigand-unsubscribe
# STANZA END: wigand
と書き換え、
postmap /usr/local/mailman/data/virtual-mailman
する。
さらに、admin ページで、「メールの送信に使うホスト名(ドメ...
(host_name)を変更する必要があります。
また、場合によっては、Webpage URL を変更する必要があると
思いますが、その場合、bin/fix_url.py を使ってください。
hotshot:root {112} % bin/withlist -l -r fix_url wigand -...
Importing fix_url...
Running fix_url.fix_url()...
Loading list wigand (locked)
Saving list
Finalizing
hotshot:root {113} %
% bin/withlist -l -r fix_url listname [options]
Options:
-u urlhost
--urlhost=urlhost
Look up urlhost in the virtual host table and set...
host_name attributes of the list to the values fo...
essentially moves the list from one virtual domai...
Without this option, the default web_page_url and...
used.
-v / --verbose
Print what the script is doing.
*Piano [#q59eb28a]
**/usr/local/etc/postfix/main.cf [#u9793f59]
#virtual_alias_domains = niihama-med.or.jp, soundstep.co...
virtual_alias_domains = thousand-winds.net
#modify 20081020 for Mailman
virtual_alias_maps = hash:/usr/local/etc/postfix/virtua...
#add for Mailman########################################...
CoolMaster:root {78} % touch virtual-mailman
CoolMaster:root {79} % postmap /usr/local/mailman/data/v...
CoolMaster:root {80} % postfix reload
postfix/postfix-script: refreshing the Postfix mail system
ページ名: