1 ===========================================================================
2 $NetBSD: MESSAGE,v 1.4 2006/06/16 16:43:37 jlam Exp $
4 Before you can use Majordomo, you will need to complete a few steps
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.
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.
17 - add a .forward file in ${HOME}/${MAJORDOMO_USER} (or an
18 appropriate alias) so administrative mail to
19 ${MAJORDOMO_USER} gets redirected properly.
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 :
27 OA/etc/aliases.majordomo (for 8.6.x Sendmail),
29 O AliasFile=/etc/aliases,/etc/aliases.majordomo (for 8.7.x and up),
31 or a line similar to the following to your m4 macros file:
33 define(`ALIAS_FILE',`/etc/aliases,/etc/aliases.majordomo')
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
42 or a line similar to the following to your m4 macros file:
44 define(`confTRUSTED_USERS', ${MAJORDOMO_USER})dnl
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)
50 - add entries in /etc/newsyslog.conf to rotate the log in
51 ${HOME}/${MAJORDOMO_USER}/Log if necessary.
54 ===========================================================================