Project

General

Profile

Configuring server to accept and post hypernews email.

mkdir /mu2e_hnews
cd /mu2e_hnews
git clone ssh://p-hypernews@cdcvs.fnal.gov/cvs/projects/hypernews
mkdir dev
cd dev
ln -s ../hypernews/.scripts .
././scripts/setup.pl
cd
cp hypernews/Admin/hnrc dev/Admin/hnrc
cp hypernews/mail-handling/hnews-aliases /etc/mail
cp hypernews/mail-incoming.sh /etc/smrsh

edit /etc/mail/sendmail.cf and change
O AliasFile=/etc/aliases
to
O AliasFile=/etc/aliases,/etc/mail/hnews-aliases
and run

sudo /etc/bin/newaliases

If a new discussion forum is added edit and commit hypernews/mail-handling/hnews-aliases
Then on the server

cd /mu2e_hnews/hypernews/
git pull 
cp mail-handling/hnews-aliases /etc/mail
sudo /etc/bin/newaliases