How to Configure gmail with postfix to send notices from Koha
1. Installation of postfix mail server
Open a terminal and apply the following commands one by one,
Postfix Configuration ( OK )
No Configuration ( Select and OK)2. Copy the configuration file.
3. Install following packages too
4. Open the following file and add few lines.
Add the following lines at the bottom of the file.
relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_use_tls = yes |
5.Open the following file.
Add the following line in the opened file.
Add your Gmail username and password.
6. Change the permission of the following file.
7.Create the /etc/postfix/cacert.pem. ( Ubuntu 18.04 LTS Users)
For Ubuntu 20.04 LTS Users
8. Restart Postfix.
9. Enable email service in Koha
10. Check the following settings in Koha to send email notices,
Koha > Administration > Patron categories > Overdue notice required > Yes
Koha Administration > Global System Preferences > Patrons > Enhancedmessagingpreferences > Allow
Information courtesy
https://libpowertech.blogspot.com/
No comments:
Post a Comment