綾小路龍之介の素人思考

[debian] Majordomo@lists.debian.org

メーリングリストへの登録を行う場合に *-REQUEST@lists.debian.org 宛に Subject: subscribe のメールを送信するものいいのだけど、結局toに複数のメールアドレスを書く。短時間に複数のアドレスへ送信するとペナルティがつくケースではこれはあんまりうれしくない。Majordomo を使えばこの点が解決できるかと思ったけど無理でした。

help

help はコマンドの実行方法に関するヘルプを返す。Majordomo で大事なのはコマンドは Subject フィールドではなく本文に書くということ。

From: mail@example.com
To: Majordomo@lists.debian.org

help

以下のメールが帰ってくる。

To: mail@example.com
From: Majordomo@lists.debian.org
Sender: listmaster@lists.debian.org
Subject: Reply to your HELP request

Hi!

I'm your MajorSmart!  I'm translating Majordomo-like commands to
SmartList-commands.

Commands are written in the mail body, not in the subject, you've
probably already guessed it.  The following commands are available.
Text in brackets [] are optional.

 approve
        Add anybody to the given list.  Only valid for list administrators.

        approve <password> subscribe <list> <address>
        approve <password> unsubscribe <list> <address>
        approve <password> who <list>

 help
        Send this help text

 lists
        Send a comprehensive list of providest mailing list

 subscribe
        Add yourself to the given list.

        subscribe <list> [<your address>]

 unsubscribe
        Remove yourself from the given list.

        unsubscribe <list> [<your address>]

 which
        Return a list of mailing-lists the given address is subscribed to.
        This command will only be executed if the address queried has some
        connection to the From: or Reply-To: address.

        which <address>

The commands are not case sensitive.

If you experience problems, please discuss them with the Debian listmasters
<listmaster@lists.debian.org>.

lists

From: mail@example.com
To: Majordomo@lists.debian.org

lists

以下のメールが帰ってくる。ウェブサイトに載っているメーリングリストのリストとはちょっと異なる。すなわち、すでに使われていないリスト (subscription policy が dead list のリスト) はここに表示されていないし、cdwrite などの @other.debian.org で管理されているものは other-cdwrite などのような名前になっている様子。

To: mail@example.com
From: Majordomo@lists.debian.org
Sender: listmaster@lists.debian.org
Subject: Reply to your LISTS request

debconf-bid-capetown.DISABLED
debconf-bid-paris
debconf-infra
debconf-kids
debconf-mini-bucharest
debconf14-team
debconf15-team
debconf16-team
debian-68k
debian-accessibility
debian-ada
debian-admin
debian-alpha
debian-amd64
debian-announce
debian-apache
debian-arm
debian-astro
debian-backports
debian-backports-announce
debian-backports-changes
debian-beowulf
debian-blends
debian-boot
debian-bsd
debian-bugs-closed
debian-bugs-dist
debian-bugs-forwarded
debian-bugs-rc
debian-cd
debian-changes
debian-changes-digest
debian-chinese-big5
debian-chinese-gb
debian-cli
debian-cloud
debian-companies
debian-consultants
debian-cross
debian-ctte
debian-curiosa
debian-dak
debian-ddtp-DISABLED
debian-debbugs
debian-debbugs-cvs
debian-derivatives
debian-desktop
debian-devel
debian-devel-announce
debian-devel-changes
debian-devel-digest
debian-devel-french
debian-devel-games
debian-devel-italian
debian-devel-portuguese
debian-devel-spanish
debian-doc
debian-dpkg
debian-dpkg-bugs
debian-dpkg-cvs
debian-dug-by
debian-dug-ie
debian-dug-in
debian-dug-mx
debian-dug-nordic
debian-dug-nyc
debian-dug-quebec
debian-dug-washington-dc
debian-edu
debian-edu-announce
debian-edu-french
debian-edu-german
debian-efi
debian-emacsen
debian-email
debian-embedded
debian-enterprise
debian-esperanto
debian-events-eu
debian-events-ha
debian-events-na
debian-events-nl
debian-experimental-changes
debian-firewall
debian-flash
debian-gcc
debian-gis
debian-glibc
debian-gtk-gnome
debian-hams
debian-handheld-DISABLED
debian-haskell
debian-hpc
debian-hppa
debian-hurd
debian-i18n
debian-ia64
debian-infrastructure-announce
debian-interix
debian-ipv6
debian-isp
debian-italian
debian-japanese
debian-java
debian-jobs
debian-jr
debian-kde
debian-kernel
debian-kernel-maint-DISABLED
debian-knoppix
debian-l10n-arabic
debian-l10n-basque
debian-l10n-belarusian
debian-l10n-catalan
debian-l10n-chinese
debian-l10n-czech
debian-l10n-danish
debian-l10n-dutch
debian-l10n-english
debian-l10n-esperanto
debian-l10n-european-portuguese
debian-l10n-finnish
debian-l10n-french
debian-l10n-galician
debian-l10n-german
debian-l10n-greek
debian-l10n-hungarian
debian-l10n-indonesian
debian-l10n-italian
debian-l10n-kannada
debian-l10n-korean
debian-l10n-malayalam
debian-l10n-persian
debian-l10n-polish
debian-l10n-portuguese
debian-l10n-romanian
debian-l10n-russian
debian-l10n-serbian
debian-l10n-sicilian
debian-l10n-slovak
debian-l10n-spanish
debian-l10n-swedish
debian-l10n-turkish
debian-l10n-vietnamese
debian-laptop
debian-legal
debian-lex
debian-lint-maint
debian-lists-test
debian-lists-test.borken
debian-live
debian-lsb
debian-lts
debian-lts-announce
debian-lts-changes
debian-med
debian-mentors
debian-metadata
debian-mips
debian-mirrors
debian-mirrors-announce
debian-mobile
debian-multimedia
debian-newmaint
debian-news
debian-news-french
debian-news-german
debian-news-italian
debian-news-portuguese
debian-news-spanish
debian-ocaml-maint
debian-openoffice
debian-outreach
debian-perl
debian-photo
debian-policy
debian-ports
debian-powerpc
debian-printing
debian-private
debian-project
debian-publicity
debian-python
debian-qa
debian-qa-packages
debian-qt-kde
debian-release
debian-research
debian-rtc
debian-ruby
debian-russian
debian-s390
debian-science
debian-security
debian-security-announce
debian-security-tracker
debian-services-admin
debian-sgml
debian-snapshot
debian-sparc
debian-sprints
debian-ssh
debian-stable-announce
debian-superh
debian-testing
debian-testing-changes
debian-testing-security-announce
debian-tetex-maint-DISABLED
debian-tex-maint
debian-toolchain
debian-upstream
debian-user
debian-user-catalan
debian-user-danish
debian-user-digest
debian-user-dutch
debian-user-finnish
debian-user-french
debian-user-german
debian-user-greek
debian-user-icelandic
debian-user-indonesian
debian-user-polish
debian-user-portuguese
debian-user-slovenian
debian-user-spanish
debian-user-swedish
debian-user-tamil
debian-user-turkish
debian-user-ukrainian
debian-user-vietnamese
debian-volatile-DISABLED
debian-volatile-DISABLED-too
debian-volatile-announce-DISABLED
debian-volatile-announce-disabled-too
debian-vote
debian-wb-team
debian-webapps
debian-win32
debian-wnpp
debian-women
debian-www
debian-www-cvs
debian-x
deity
other-cdwrite
other-sart
other-vgui-discuss-DISABLED
package-sponsorship-requests
test
whitelist

To subscribe to one of these lists use one of the following methods:

 a) Majordomo
    Send mail to Majordomo@lists.debian.org with the following mail body
    subscribe list [your-address]

 b) SmartList
    Send an empty mail to <list>-REQUEST@lists.debian.org with the following subject
    subscribe

which

which は指定したアドレスが登録されているメーリングリストのリストを返す。which で指定したアドレスと同じアドレスが From または Reply-To フィールドに含まれていないと which は実行されない。

From: mail@example.com
To: Majordomo@lists.debian.org

which mail@example.com

以下のようなメールが帰ってくる。

To: mail@example.com
From: Majordomo@lists.debian.org
Sender: listmaster@lists.debian.org
Subject: Reply to your WHICH mail@example.com request

You are subscribed to the following lists:


List                                   Address
====                                   =======
debian-announce                        mail@example.com
debian-devel                           mail@example.com
debian-devel-announce                  mail@example.com
debian-user                            mail@example.com

subscribe

subscribe は指定したメールアドレスを指定したメーリングリストに登録する。メールアドレスを指定しなければ、自分自身(送信者)のアドレスを指定したことをみなされる。

From: mail@example.com
To: Majordomo@lists.debian.org

subscribe debian-www

*-REQUEST@lists.debian.orgに登録要求を出した時と同じようなメールが SmartList から帰ってくる。結局、返信しないといけない点は同じ。

以下のとおり、複数のsubscribe を指定した場合、SmartList からの返信があるのは最初のメーリングリストからだけ。ということで、送信回数を減らすことはできないなぁ。

From: mail@example.com
To: Majordomo@lists.debian.org

subscribe debian-backports
subscribe debian-backports-announce
subscribe debian-backports-changes
subscribe debian-cloud

リファレンス

  1. Debian Mailing Lists -- Index

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2008-03-25T00:46:22+09:00
  2. Modified: 2008-03-25T00:46:22+09:00
  3. Generated: 2017-11-13T23:09:20+09:00