Horizontal Navigation

Tuesday, 22 January 2019

Easy Way to set up E-mail Alert for your Koha Server (If your Institution has own SMTP Server)

If your Institution has own SMTP mail server, then it is not require to install any external Mail Transfer Agent (MTA) like Postfix, Exim on your Koha server. Just follow few instructions user as given below and send e-mail transaction alert to your library :

Step 1: Check Perl path with perl -V | sed -n '/INC:/,$p' (Have a look at /etc/perl/Mail)

Open your terminal and use following command to check:
(i) cd /etc/perl/Mail
(ii) ls -l

Step 2: Create a directory using the following command:

mkdir -p /etc/perl/Mail

Step 3: Copy Sendmail.pm file to newly created directory using the following command: 

cp -p /usr/share/perl5/Mail/Sendmail.pm /etc/perl/Mail/Sendmail.pm
Step 4: Use the following commands to edit your local Sendmail.pm and change the line:

(i) nano /etc/perl/Mail/Sendmail.pm

(ii) Replace localhost with your institution SMTP host:

'smtp' => [ qw( localhost ) ]

Replace localhost by putting your institution SMTP host like
'smtp' => [ qw( mail.example.com ) ]

Information Courtesy: David Keegel

1 comment:

  1. Build your own email server and Send unlimited email per day.
    Contact me on skype: salimrezabd04

    ReplyDelete