Re: [Koha-devel] gmail as smtp error
Dear Chris, Thanks for reply: 1. The case of the delivery failure is very strange: Message is sent from the legal gmail address, which is indicated in the process_message_queue.pl parameters (for example: process_message_queue.pl -u library@sciencelib.ge -p password -m LOGIN) and the failure message I get in the library@sciencelib.ge mailbox. What about host file, the host has not routable ip (192.168.1.xx ) - it's a test system for using gmail as mailing server. 2. What about backporting the mods I've changed process_message_queue.pl script as described in the Bug 5251. But in C4/Letters.pm module (for koha v3.0) I 've made the following changes: I've replaced the "sub _send_message_by_email()" by the one from the koha v3.2 and only after added described lines. I'm not sure that it's a correct action. Best Regards George Mikuchadze -----Original Message----- From: Chris Nighswonger [mailto:cnighswonger@foundations.edu] Sent: Saturday, August 11, 2012 7:54 PM To: George Mikuchadze Cc: chris@bigballofwax.co.nz; koha@lists.katipo.co.nz Subject: Re: gmail as smtp error Hi George, Please always include the list on your emails as you will get more eyes on the problem as well as everyone benefiting from the answers. On Sat, Aug 11, 2012 at 10:01 AM, George Mikuchadze <giamik@vfemail.net> wrote:
Delivery to the following recipient failed permanently:
koha@localhost.localhost or root@localhost.localhost (localhost means result of `hostname` command)
Technical details of permanent failure:
DNS Error: Domain name not found
It looks like your hostname is not set to a resolvable domain name. I'd take a look at the host file to be sure things there are in order. localhost is definitely not going to resolve on any public network.
As I understand koha can’t get right patrons email.
As for koha not retrieving patrons' emails correctly, I'm not sure there either. I would suggest going over the section on notices in the manual (http://manual.koha-community.org/3.6/en/cronjobsch.html#noticescron) as there are a variety of options and sysprefs related to notices which must be properly configured in order for them to work correctly. My guess is that something is not configured correctly.
How to configure koha 3.0 (prior to 3.2) to use gmail as smtp server?
This is probably not possible without backporting the mods in this commit: http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=d31c1603cca4... Even then, there may be other issues which crop up. Kind Regards, Chris
On Sun, Aug 12, 2012 at 1:29 PM, George Mikuchadze <giamik@vfemail.net> wrote:
1. The case of the delivery failure is very strange:
Message is sent from the legal gmail address, which is indicated in the process_message_queue.pl parameters (for example: process_message_queue.pl -u library@sciencelib.ge -p password -m LOGIN) and the failure message I get in the library@sciencelib.ge mailbox. What about host file, the host has not routable ip (192.168.1.xx ) - it's a test system for using gmail as mailing server.
Did you check out the note at the end of the CONFIGURE.gmail file? Sorry I cannot be of more help here, but this is most likely a problem with your local smtp server configuration.
2. What about backporting the mods I've changed process_message_queue.pl script as described in the Bug 5251. But in C4/Letters.pm module (for koha v3.0) I 've made the following changes: I've replaced the "sub _send_message_by_email()" by the one from the koha v3.2 and only after added described lines.
I'm sorry, but I really do not have the time necessary to walk you through a backport or to do it myself. There are plenty of vendors who offer this sort of service for Koha, however. Please see http://koha-community.org/support/paid-support/ for a list. Kind Regards, Chris
1. The case of the delivery failure is very strange:
Message is sent from the legal gmail address, which is indicated in the
Dear Chris, Thanks a lot. I use nullmailer as mta agent on the server and it works with no problems. I send mails from the server to any mail address using gmail account (library@sciencelib.ge). I cannot understand what kind of smtp server configuration You imply. Note about increasing debug level in Mail/Sendmail.pm I've also read. Best regards George Mikuchadze -----Original Message----- From: Christopher Nighswonger [mailto:chris.nighswonger@gmail.com] Sent: Sunday, August 12, 2012 11:44 PM To: George Mikuchadze Cc: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] gmail as smtp error On Sun, Aug 12, 2012 at 1:29 PM, George Mikuchadze <giamik@vfemail.net> wrote: process_message_queue.pl parameters (for example:
process_message_queue.pl -u library@sciencelib.ge -p password -m LOGIN) and the failure message I get in the library@sciencelib.ge mailbox. What about host file, the host has not routable ip (192.168.1.xx ) - it's a test system for using gmail as mailing server.
Did you check out the note at the end of the CONFIGURE.gmail file? Sorry I cannot be of more help here, but this is most likely a problem with your local smtp server configuration.
2. What about backporting the mods I've changed process_message_queue.pl script as described in the Bug 5251. But in C4/Letters.pm module (for koha v3.0) I 've made the following
changes:
I've replaced the "sub _send_message_by_email()" by the one from the koha v3.2 and only after added described lines.
I'm sorry, but I really do not have the time necessary to walk you through a backport or to do it myself. There are plenty of vendors who offer this sort of service for Koha, however. Please see http://koha-community.org/support/paid-support/ for a list. Kind Regards, Chris
participants (2)
-
Christopher Nighswonger -
George Mikuchadze