Installing Sympa

How our sympa is setup from the upgrade process

format and ask micah’s, niko’s and elijah’s input

$ cd /home/sympa

$ svn co sympa-trunk

$ automake; aclocal ; autoconf

# adduser sympa

# apt-get install \
libarchive-zip-perl \
libcrypt-ciphersaber-perl \
libdbd-mysql-perl \
libdbi-perl \
libfcgi-perl \
libio-stringy-perl \
libwww-perl \
libintl-perl \
mhonarc \
libmime-perl \
libmailtools-perl \
libregexp-common-perl \
libtemplate-perl \
libxml-libxml-perl \
libcgi-fast-perl \
libio-socket-ssl-perl \
libcrypt-ssleay-perl \
libnet-ssleay-perl \
libmime-encwords-perl \
libmime-charset-perl \

# echo "export PERL5LIB=/usr/share/mhonarc >> /etc/profile"

logout and login back again

# cat > /etc/locale.gen
en_US.UTF-8 UTF-8
en_US ISO-8859-1
pt_BR ISO-8859-1
de_DE ISO-8859-1
es_ES ISO-8859-1
fr_FR ISO-8859-1
it_IT ISO-8859-1
fi_FI ISO-8859-1
hu_HU ISO-8859-2
nl_NL ISO-8859-1
oc_FR ISO-8859-1
pl_PL ISO-8859-2
pt_PT ISO-8859-1
ro_RO ISO-8859-2
cs_CZ ISO-8859-2
el_GR ISO-8859-7
et_EE ISO-8859-1
nb_NO ISO-8859-1
sv_SE ISO-8859-1
tr_TR ISO-8859-9
zh_TW BIG5
zh_CN GB2312
bg_BG CP1251
eu_ES ISO-8859-1
ru_RU ISO-8859-5

# locale-gen

$ ./configure \
--prefix=/home/sympa \
--with-confdir=/etc/sympa \
--with-initdir=/etc/init.d/ \

$ make

# make install

# cat > /etc/postfix/sympa_aliases
sympa-request:     postmaster
sympa-owner:       postmaster
sympa: "| /home/sympa/bin/queue"
listmaster: "| /home/sympa/bin/queue"
abuse-feedback-report: "| /home/sympa/bin/bouncequeue"

configure /etc/postfix/ to have:
bc. alias_maps = hash:/etc/aliases,hash:/etc/postfix/sympa_aliases

(basicaly just add a verp_rate conf parameter)

arf (woof woof)
(to set this up just add the abuse-feedback-report alias as noted above and then fill this up:

upgrade procedure

Obtain the latest tagged release via subversion, and put it in /home/releases/sympa-x.×.×. Go through the patches in the /home/sympa/diffs directory for the previous release and re-work them so any fuzz is removed and and failures are fixed, creating a new /home/sympa/diffs/x.×.x directory for the new version (see the README in the diffs directory for more information). Once this has been done, do a svn export of the sympa directory into /home/sympa/build/sympa-x.×.x, then apply the diffs to this directory.

Then export PERL5LIB=/usr/share/mhonarc and then run the configure and make steps above, hold off on doing a make install until you are ready. To get ready, backup everything (avoiding the large archive and expl directories of course). Edit src/ and comment out the silly stuff, such as remaking every config.bin. Stop monit, apache, sympa and make sure they are stopped. Then do the make install, then the —upgrade. Once these are finished, run the tools/disable_annoying_tasks and restore the style.css file that was replaced. Turn things on and hope it works!