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