Previous | Contents | Index |
With PMDF DB you can create and maintain your own mailing lists. A mailing list is merely a collection of e-mail addresses with which you associate an alias. Or, looked at a little differently, a mailing list is an alias which expands to a list of e-mail addresses. When you address a mail message to the alias, it actually goes to all of the addressees listed in the mailing list. The act of sending a mail message to a mailing list is referred to as "posting".
A mailing list is created in three steps:
$ SET PROTECTION=(W:R) filename |
filename
is the name of the mailing list file created in Step 1.
alias-name
, to associate with the mailing list. Then, in PMDF DB, issue the
commands
db> add alias-name "<filename" db> set alias-name public |
filename
should include a full path specification including the disk and
directory name.
For example, suppose the user sue@example.com wants to set up a mailing list named sample-list. The members of the mailing list will be bob@example.com, judy@example.com, ralph@sample.com, and sue@example.com. Sue first creates the mailing list file D1:[SUE]SAMPLE.DIS which contains the four lines
bob@example.com judy@example.com ralph@sample.com sue@example.com |
$ SET PROTECTION=(W:R) D1:[SUE]SAMPLE.DIS |
$ PMDF DB db> add foo-list "<d1:[sue]sample.dis" db> set foo-list public db> show foo-list attributes Key Value ----------- ----------------------------- foo-list <d1:[sue]sample.dis Attributes: public,no-expand,block-receipts,mail-address [1 entries shown] db> |
At any time you can add or remove members from the mailing list. You do so by simply editing the mailing list file removing or adding addresses from or to it.
As another example, mailing lists defined in LDAP can also be used, for example:
db> add ldap_all_users <"""ldap:///dc=example,dc=edu?mail?sub?(cn=*)""" |
Note the three double-quotes around the LDAP URL. This is required.
Previous | Next | Contents | Index |