[Koha] Configuring smtp mail server to work with Koha

Pedro Amorim pjamorim91 at gmail.com
Sat Oct 31 03:10:22 NZDT 2015


Update:

I have installed and configured postfix on my machine and tested it using:

echo "This is the body of the email" | mail -s "This is the subject line"
user at example.com

So I know it's well configured and my server is able to send mails.

However, Koha still doesn't send any e-mail when I manually add a new
patron.
NOTE:
1) AutoEmailOpacUser is set to "send" in administration -> patrons;
2) All cronjobs were left as default. I also know they are running because
my new records get indexed every 5 minutes.

2015-10-30 12:28 GMT-01:00 Pedro Amorim <pjamorim91 at gmail.com>:

> Hello,
>
> I want to configure an smtp server so that Koha can use it to send e-mail
> notifications.
> I was expecting some sort of configuration file where I would configure
> the server, username, password and some other parameters but that is not
> the case.
>
> From my research I found 2 possible ways:
> 1) Editting /usr/share/perl5/Mail/Sendmail.pm file and inserting the smtp
> server at the top of the file, but where do I insert the smtp credentials
> (user/pass) in that same file? or
> 2) Through some postfix configuration which I really would like to avoid.
>
> Would anyone shed some light on the matter or provide some sort of
> guidelines on how to do this?
>
> Thank you very much,
>
> Pedro Amorim
>


More information about the Koha mailing list