Hello Galen, Thank you for your reply. I have changed the Sendmail.pm file to point to smtp.gmail.com instead of localhost and am now receiving these errors: # koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/ process_message_queue.pl -v koha: sending email message to patron: Admin at /usr/share/koha/lib/C4/Letters.pm line 937. koha: MAIL FROM: error (530 5.7.0 Must issue a STARTTLS command first. uj4sm7521289wjc.34 - gsmtp koha: ) koha: Server said: 530 5.7.0 Must issue a STARTTLS command first. uj4sm7521289wjc.34 - gsmtp koha: at /usr/share/koha/bin/cronjobs/process_message_queue.pl line 66 I do not know much about configuring mail servers, should I keep the Sendmail.pm file pointing to localhost and postfix takes care of the redirecting? Thanks again, Pedro Amorim 2015-10-30 13:57 GMT-01:00 Galen Charlton <gmc@esilibrary.com>:
Hi,
On Fri, Oct 30, 2015 at 10:40 AM, Pedro Amorim <pjamorim91@gmail.com> wrote:
connect to localhost failed (Connection refused) connect to localhost failed connect to localhost failed (Connection refused) no (more) retries!
Koha expects there to be an MTA listening on port 25 on localhost. Since you've got postfix already running, I suggest checking its configuration for that -- specifically, inet_interfaces (to ensure that it's listening on that interface) and mynetworks (to verify that it will accept connects from with your Koha server).
Alternatively, if the only thing you need is for email to get forwarded to your mail smarthost, you could try nullmailer instead of postfix.
Regards,
Galen -- Galen Charlton Infrastructure and Added Services Manager Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org