[Koha] Email alert from Koha

Emrys Minnig emrysminnig at varndean.co.uk
Wed Jan 27 01:44:57 NZDT 2010


I prefer qmail, which I've set up on several Koha servers.  I wrote these (hopefully) easy instructions for qmail installation on Debian Lenny, though it should be similar for other *nix systems.  It's adapted from the process described on qmailrocks.org:
 
(From the command-line, logged in as the Koha admin.)
1) sudo apt-get install patchutils
2) sudo cpan Digest::SHA1 Digest::HMAC Net::DNS Time::HiRes HTML::Tagset HTML::Parser
3) (in the farthest down directory) sudo mkdir downloads
4) cd downloads
5) wget http://www.qmailrocks.org/downloads/qmailrocks.tar.gz <http://webmail.varndean.co.uk/exchweb/bin/redir.asp?URL=http://www.qmailrocks.org/downloads/qmailrocks.tar.gz> 
6) tar -xvvf qmailrocks.tar.gz
7) sudo /downloads/qmailrocks/scripts/install/qmr_install_linux-s1.script
8) sudo /downloads/qmailrocks/scripts/util/qmail_big_patches.script
9) cd /usr/src/qmail/qmail-1.03
10) sudo make man && sudo make setup check
11) sudo ./config-fast [mail.mydomain.com]
12) sudo make cert
13) sudo chown -R vpopmail:qmail /var/qmail/control/clientcert.pem /var/qmail/control/servercert.pem
14) sudo pico /usr/src/qmail/ucspi-tcp-0.88/error.h 
15) replace "extern int errno;" with "#include <errno.h>" 
16) sudo make && sudo make setup check
17) sudo pico /package/admin/daemontools-0.76/src/error.h
18) replace "extern int errno;" with "#include <errno.h>"
19) cd /package/admin/daemontools-0.76
20) sudo package/install
21) sudo /downloads/qmailrocks/scripts/finalize/linux/finalize_linux.script
22) sudo pico /var/qmail/supervise/qmail-pop3d/run
23) replace "mail.example.com" with your server's hostname
24) sudo qmailctl stop
25) su (change to root/superuser)
26) echo '127.:allow,RELAYCLIENT=""' >> /etc/tcp.smtp
27)  qmailctl cdb
28) echo [your email here] > /var/qmail/alias/.qmail-root
29) echo [your email here] > /var/qmail/alias/.qmail-postmaster
30) echo [your email here] > /var/qmail/alias/.qmail-mailer-daemon
31) echo [your email here] > /var/qmail/alias/.qmail-anonymous
32) rm /var/qmail/alias/.qmail-anonymous
33) ln -s /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-anonymous
34) chmod 644 /var/qmail/alias/.qmail*
35)  exit
36) sudo /etc/init.d/exim4 stop
37) cd /etc/rc2.d
38) sudo mv S20exim4 K20exim4
39) sudo rm -f /usr/lib/sendmail
40) sudo rm -f /usr/sbin/sendmail
41) sudo ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
42) sudo ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
43) sudo dpkg --purge --force-depends postfix 
44) sudo /downloads/qmailrocks/scripts/util/qmr_inst_check
44) sudo qmailctl stop
45) sudo qmailctl start
46) sudo qmailctl stat  (shows stats)
47) test (echo To: joe at example.com <mailto:joe at example.com>  | /var/qmail/bin/qmail-inject)
NOTE: qmail can be reconfigured through /usr/src/qmail/qmail-1.03/config-fast [hostname]
 
-Emrys

________________________________

From: koha-bounces at lists.katipo.co.nz on behalf of Vimal Kumar
Sent: Tue 26/01/2010 08:03
To: Koha-List
Subject: [Koha] Email alert from Koha


Dear Friends,

This is a  request to Koha users with experience in configuring mail system (Sendmail or Postfix) for Koha.
Many Koha users wish the availability of a documentation for preparing Koha to send automatic overdue notice and advance notices. 
Documentation to be include installation of sendmail or postfix, configuration, settings in Koha for mail alerts, and settings for cronjob.

Thanks in advance,

-- 
Vimal Kumar V.
Asst. Librarian
Asian School of Business
Technopark, Trivandrum-695 581
Web: www.vimalkumar.co.nr <http://webmail.varndean.co.uk/exchweb/bin/redir.asp?URL=http://www.vimalkumar.co.nr/> 
Blog: http://vimalkumar.oksociety.in <http://webmail.varndean.co.uk/exchweb/bin/redir.asp?URL=http://vimalkumar.oksociety.in/> 

OK Society Volunteer. http://oksociety.in <http://webmail.varndean.co.uk/exchweb/bin/redir.asp?URL=http://oksociety.in/> 
---------------------------------------------------------------------------
"I forget what I was taught. I only remember what I have learnt"
-Patrick White



More information about the Koha mailing list