Merge from vendor branch TNF:
[pkgsrc.git] / mail / majordomo / pkg / MESSAGE
1 Post-Install Notes for Majordomo
2 ================================
3
4 Before you can use Majordomo, you will need to complete a few steps manually:
5
6         - install majordomo.cf in @HOME@/@MAJORDOMO_USER@.
7           Look in @PREFIX@/share/examples/majordomo for an example and be sure
8           to change instances of @HOSTNAME@ as appropriate.
9
10         - create lists in @HOME@/@MAJORDOMO_USER@.
11           Look in @PREFIX@/share/doc/majordomo for information and see the
12           files and directories for an example list (example-l) in
13           @PREFIX@/share/examples/majordomo.  Pay attention to the permissions
14           on the files and directories.
15
16         - add a .forward file in @HOME@/@MAJORDOMO_USER@ (or an appropriate
17           alias) so administrative mail to @MAJORDOMO_USER@ gets redirected
18           properly.
19
20         - install majordomo aliases for sendmail.
21           For example, create /etc/aliases.majordomo following the example in
22           @PREFIX@/share/examples/majordomo and add it to your sendmail
23           configuration.  This can be done by adding a line similar to the
24           following to /etc/sendmail.cf :
25
26           OA/etc/aliases.majordomo (for 8.6.x Sendmail),
27
28           O AliasFile=/etc/aliases,/etc/aliases.majordomo (for 8.7.x and up),
29
30           or a line similar to the following to your m4 macros file:
31
32           define(`ALIAS_FILE',/etc/aliases,/etc/aliases.majordomo')
33
34         - if the group for @MAJORDOMO_USER@ (@MAJORDOMO_GROUP@) is not daemon,
35           add @MAJORDOMO_USER@ as a trusted user for sendmail.  This can be
36           done by adding a line similar to the following in /etc/sendmail.cf :
37
38           T@MAJORDOMO_USER@
39
40           or a line similar to the following to your m4 macros file:
41
42           define(`confTRUSTED_USERS', @MAJORDOMO_USER@)dnl
43
44         - be sure to run `newaliases' to create the sendmail database, and
45           be sure that sendmail knows about any changes to /etc/sendmail.cf
46           (e.g., reboot or rerun sendmail)
47
48         - add entries in /etc/newsyslog.conf to rotate the log in
49           @HOME@/@MAJORDOMO_USER@/Log if necessary
50
51 Enjoy Majordomo!