Twitter Facebook Ustream

[サーバ構築Tips] Mailman on FreeBSD

投稿者: , 2010年5月19日(水曜日) 15:31. コメントは受け付けていません。.
  1. portinstall japanese/mailman

ただし,メールサーバ(Postfix)とMailmanのGIDが異なると正しく動作しない.

Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman", but the system's mail server executed the mail script as group "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `--with-mail-gid=nobody'.

そのため,configure時に’MAIL_GID=nobody’を指定する必要がある.portinstallを利用するため,/usr/local/etc/pkgtools.confのMAKE_ARGS={}に以下の項目を追加

'japanese/mailman' => 'MAIL_GID=nobody',

再インストールはportupgrade -f japanese/mailman

[サーバ構築Tips] Apache独自証明書の発行

投稿者: , 2010年5月19日(水曜日) 0:39. コメントは受け付けていません。.
  1. openssl genrsa -des3 -out server.key 1024
  2. openssl req -new -key server.key -out server.csr
    CN: サーバのFQDN
  3. openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
  4. mv server.key server.key.orig
  5. openssl rsa -in server.key.orig -out server.key