入口
benchmarks
  bonnie
    results
  bytebench
comms
  mgetty
    /etc/mail/aliases
  mgetty+sendfax
    pppd サーバを作る mgetty
    設定の概要
    /etc/tty00 --モデム
    /etc/ttys
    mgetty.config, login.config
    まずは login して見る
    /etc/ppp/options
    /etc/ppp/pap-secrets
    確認方法
cross
  i386-mingw32
  ming-w64
    二つの不思議
databases
  mysql-server
    mysql_install_db
    rc.d/mysqld
    mysql_secure_installation
    20050605
      pkg_add
      (err)
      grant
    help
    error
      mysqlcheck
      reset password
      backup
    reset password
    create db
    create user
    grant
    ProFTPD+mysql
    操作
  postgres
  rrdtool
devel
  cvsync
    cvsync.conf
    ソースの取出
    問題
      desired version
  distcc
    url
    distcc って何
    用意するもの
    distccmon-text
    pkg_add
  doxygen
    Doxyfile
    出力を利用する
    1.4.5
    2007/04
  doxygen/gcc
    doxy 1.4.5
  mercurial
  git
font
  設定方法
    mkfontdir
    fontpath
  確認方法
    fontpath
    全ての書体
  intlfonts
    fontpath
  ipa
graphics
  graphviz
  magicpoint
  tgif
    print error
    work around
ham
  hamlog
inputmethod
  anthy
    kinput2
mail
  cyrus-imapd
    url
    説明
    pkg_info -D
    bin/master
    /etc/rc.d/
    認証
    cyrus-saslauthd
    メール box の管理
    着信(MTA)
    問題
    古い cyrus
    sieve
      設定
      .sieve
      操作
      検査
      有効にするには
      問題
        saslauthd
        passwd is asked
  fml
  sendmail
  milter-regex
  smtpfeed
    smtpfeed.mc
    ./Build
    test
    起動準備
  spamassassin
    pkg_add
    sa-learn
    local.cf
  spamass-milter
    メール見出
    設定
    問題
    tuning
  squirrelmail
    url
    設置と設定
    pkg_info -D
    apache
    開始画面例
    文字符号
    課題
    問題
  ja-squirrelmail
    url
    設置と設定
    pkg_info -D
    開始画面例
    文字符号
    課題
    問題
  ctorrent
  urjtag
misc
  ttyrec
multimedia
  mplayer
  gmplayer
  libdvdcss
  xine-ui
net
  bind9
    設定確認
    起動
    必要な機能の分類
    chroot 環境
  TCP/IP と AppleTalk
  netatalk
    AppleTalk と TCP/IP
    版と構成部品
    pkg_info -D
    afpd
    一時的に起動
    認証
    動作確認
    誤り
  mrtg
  net-snmp
    設定
    起動
    log
    mrtg
    snmpget
    snmpwalk
    man pages
    参考
  rsync
  samba
    版
    設定
      smb.conf
      /etc/rc.d
    起動
    add user
    debug
    problem
news
  inn
pkgtools
  pkg_chk
print
  mf
    pktogf + gftodvi
  bibtex
    ごみ
  xpdf
  ja-ptex-bin
    jpbibtex
  ja-ptex
    dvipdfmx
    その他
  pdvipdfmx
personal
  fml
    設定作業の流れ
    pkg_info -D
    fml-system
    ml を作る
      newml
    /etc/mail/aliases
    Generic From
    sendmail.cf
    最初の会員
    自動で送られるメール
    MHonArc
    majordomo
    覚え
      password の設定
      members-admin
      log
      cf を変更した時には
      自動登録
      メールで管理するには
      admin add で welcome
      asymmetric mode って
      debug
      問題
      package 問題
  id-utils
security
  cyrus-sasl
  cy2-crammd5
  openssh
sysutils
  dd_rescue
  mklivecd
      config
  memtester
textproc
  hyperestraier
    更新
    異常停止
wip
  emacs-current
    X11
wip-jp
wm
  fvwm2
www
  apache
    rc.d
    httpd.conf
    start
    mkcert
    startssl
  ap2-auth-pgsql
  cvsweb
    pkgsrc
  firefox
    Fonts
    言語毎設定
    Firmacs
  php4
    mb_string
      Wordpress
    php.ini
  w3m
X11
  qt2
wip
  u-boot

Software 入口 | Hardware | NetBSD 解説 | packages | macppc | TsubaiBSD 絹/software/全文検索

This is under: http://www.ki.nu/software/pkgsrc/

NetBSD/pkgsrc

Last Update: "2009/04/11 08:46:04 makoto"

ml を作る

fml を make install したり pkg_add fml しても、そのままでは何も起きません。 メーリング・リストを運用するには「新しく ml を作る」という作業をします。 つまり、どのような名前(宛先)で、管理者は誰で、どのような人を初めに登録するか という設定が必要です。

新しく ml を作るには、 pkg_info -D fml の (3) に書いてあるように /usr/pkg/fml/makefml を使います。 makefml は引数を付けないでそのまま入力すると、help が表示されます。 その中の newml を使います。その使い方は、(3)に書いてある通りで、次のようにします。 この例では hello という名前で作っています。

newml
fml は user fml で管理するように設置されますが、管理者が自分一人であれば、 次のようにして自分の持物にしておいた方が簡単です。
sudo chown -R my_login_name /var/spool/ml
以下は、その変更後の作業の様子です。
ttyp0:username@fml 11:46:48/051113(~)> /usr/pkg/fml/makefml newml hello

   THIS HOST (fml.example.com) IS [powerpc-unknown-netbsd2.99.15]

05/11/13 11:46:52 makefml::newml hello  (username)

DO "newml" for hello mailing list.
---Creating hello mailing list
05/11/13 11:46:52 makefml::mkdir /var/spool/ml/hello (username)

   directory /var/spool/ml/hello is created as UID=2029
05/11/13 11:46:52 makefml::mkdir /var/spool/ml/hello/spool (username)

   directory /var/spool/ml/hello/spool is created as UID=2029
---Generting configuration examples.

   Generate template files in /var/spool/ml/hello/
         include include-ctl include-mead aliases Makefile crontab
         fmlwrapper.c fmlwrapper.h

   Generate qmail template files in /var/spool/ml/etc/qmail/alias/
         .qmail-hello .qmail-hello-ctl .qmail-hello-default
         .qmail-hello-admin .qmail-hello-request .qmail-owner-hello
         .qmail-owner-hello-ctl

   Update /var/spool/ml/etc/qmail/users/assign

   Generate qmail template files in /home/username
        You need the following rule in /var/qmail/control/virtualdomains
        to use /home/username/.qmail-ml:example.com-* files
        ml.example.com:username-ml.example.com

   Update /var/spool/ml/etc/crontab/username

   Create config.ph(/var/spool/ml/hello/config.ph):
        /var/spool/ml/hello/cf  ->  config.ph ... Done.

   Create template files for commands (help, guide ...)
         help help-admin deny guide welcome confirm objective

   Update /var/spool/ml/etc/aliases

   The next step: update your MTA configuration. For example
        % su root
        # cat /var/spool/ml/hello/aliases >> /etc/mail/aliases
        # newaliases

   FYI: See templates in '/var/spool/ml/hello/'
done.
ttyp0:username@fml 11:46:55/051113(~)> 

/etc/mail/aliases

上の操作の記録の最後の部分にもありますが、 その後に、宛先の設定を sendmail が読む、/etc/mail/aliases に追加します。
(3) creating new Mailing List
   Assuming the name of Mailing List is 'hello', use
      /usr/pkg/fml/makefml newml hello
      su root
cat /var/spool/ml/hello/aliases >> /etc/mail/aliases
      newaliases
この例は ml の名前が hello の場合ですから、その文字は自分用 に変更したものを入力します。

ここで、/etc/mail/aliases の中に、次のような部分があって、 実際には your_login -> your_login@mail.server とする必要がある 場合も多いと思います。

hello-admin: your_login
owner-hello: your_login
owner-hello-ctl: your_login
(次) Generic From のこと(等)

NetBSD解説/pkgsrc
Last Update: Tue, 09 Feb 2016 07:22:20 GMT 1.66 2008/03/08