CONTENTS
Lastmodified 2023-10-19 (木) 05:51:03
mailman_enable="YES"
---------------------------------------------------------------------------- Installing ja-mailman-2.1.14.j7_2,1... ===> Creating groups. Creating group 'mailman' with gid '91'. ===> Creating users Creating user 'mailman' with uid '91'. ---> Starting post-install script ---> Running update Upgrading from version 0x0 to 0x2010ef0 getting rid of old source files no lists == nothing to do, exiting ---> Checking crontab(5) file for user "mailman" ---> Creating crontab(5) file for user "mailman" ---> Checking (and fixing) file and directory permissions ---------------------------------------------------------------------------- Mailman has been installed, but requires further configuration before use! You will have to configure both your MTA (mail server) and web server to integrate with Mailman. If the port's documentation has been installed, extensive post-installation instructions may be found in: /usr/local/share/doc/mailman/FreeBSD-post-install-notes Note (1): If you use an alternate MTA (meaning "not Sendmail"), you MUST be sure that the correct value of MAIL_GID was used when this port or package was built. You can choose your MTA with the correct MAIL_GID by running "make config" in the Mailman port directory. Note (2): The entire Mailman installation resides under /usr/local/mailman. The command-line scripts necessary to administer Mailman have been installed in /usr/local/mailman/bin. Note (3): As of version 2.1, Mailman's queue runner runs as a daemon and is started by a script in /usr/local/etc/rc.d In order to make private archives searchable with namazu2, you need copy or link /usr/local/libexec/namazu.cgi to /usr/local/mailman/archives/private/<ML_name>/ and configure .namazurc to refer to /usr/local/etc/namazu/namazu-sample. You can also see the Japanese document in <http://www.python.jp/pipermail/mailman-users-jp/2004-August/001008.html> ---------------------------------------------------------------------------- ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/mailman/cgi-bin/create /usr/local/mailman/cgi-bin/subscribe /usr/local/mailman/mail/mailman /usr/local/mailman/cgi-bin/listinfo /usr/local/mailman/cgi-bin/rmlist /usr/local/mailman/cgi-bin/options /usr/local/mailman/cgi-bin/private /usr/local/mailman/cgi-bin/admindb /usr/local/mailman/cgi-bin/edithtml /usr/local/mailman/cgi-bin/roster /usr/local/mailman/cgi-bin/admin /usr/local/mailman/cgi-bin/confirm If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.python.jp/doc/contrib/mailman/releases.html ===> Cleaning for ja-mailman-2.1.14.j7_2,1
blackcube# chown -R mailman:mailman mailman blackcube# cd mailman blackcube# ll blackcube# bin/check_perms -f blackcube# chown www /usr/local/mailman/archives/private blackcube# chmod o-x /usr/local/mailman/archives/private blackcube# bin/check_perms -f No problems found
/usr/local/etc/apache24/Includes/mailman.conf
<IfModule alias_module> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" Alias /pipermail/ "/usr/local/mailman/archives/public/" Alias /icons/ "/usr/local/www/icons/" </IfModule> <Directory "/usr/local/mailman/"> Options FollowSymLinks ExecCGI AllowOverride None Require all granted </Directory> <Directory "/usr/local/www/icons/"> Require all granted </Directory>
blackcube# apachectl configtest Syntax OK blackcube# apachectl restart blackcube#
# vi /usr/local/etc/postfix/main.cf alias_maps = hash:/etc/mail/aliases alias_database = hash:/etc/mail/aliases ↓(変更する)↓ alias_maps = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases <--行頭にTABをいれる alias_database = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases owner_request_special = no recipient_delimiter = + unknown_local_recipient_reject_code = 550
postfix reload
# Put YOUR site-specific settings below this line. DEFAULT_SERVER_LANGUAGE = 'ja' DEFAULT_EMAIL_HOST = 'mail.smb.net' DEFAULT_URL_HOST = 'www.smb.net' MTA = 'Postfix' USE_MAILMAN_MESSAGE_ID = Yes "SMTPHOST = blackcube.smb.net"
bin/genaliases スクリプトを実行して aliases ファイルを初期化
また、新しいリストを作ろう
blackcube# bin/newlist mailman Enter the email of the person running the list: kuji@my.comain Initial mailman password: hogehoge
すると kuji@my.comain へ、新規リスト作成報告メールが届く。
http://maniawanele.blog64.fc2.com/blog-entry-24.html
Total access 3676:本日 1:昨日 0