pkgsrc-wip/postoffice/MESSAGE
Pierre-Philipp Braun 2a88efacc9 . no-no... PKG_CONFIG is purely a user variable
. all commented out default (hopefully working, still) config
2006-10-03 15:14:00 +00:00

34 lines
1 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.5 2006/10/03 15:14:00 elge Exp $
- Run mv ${SYSCONFBASE}/mailer.conf ${SYSCONFBASE}/mailer.conf.sendmail
cp ${PREFIX}/share/examples/postoffice/mailer.conf ${SYSCONFBASE}/mailer.conf
- Edit /etc/mail/aliases
and run
newaliases
- If using /etc/mk.conf:POSTOFFICE_VIRTUAL=YES, also create
${VARBASE}/spool/virtual
${SYSCONFBASE}/virtual/domains.cf
${SYSCONFBASE}/virtual/example.com/passwd
${SYSCONFBASE}/virtual/example.com/aliases
all readable by user having uid 8 (mail) and run
newaliases example.com
NetBSD:
- Run /etc/rc.d/sendmail stop
/etc/rc.d/smmsp stop
cp -p ${PREFIX}/share/examples/rc.d/postoffice /etc/rc.d
- Edit /etc/rc.conf:
sendmail=NO
smmsp=NO
postoffice=YES
postoffice_flags="-bd -q2"
- Run /etc/rc.d/postoffice start
Others:
- ${PREFIX}/libexec/postoffice -C/usr/pkg/etc/postoffice.cf -bd -q2
===========================================================================