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 libr...@sciencelib.ge -p password -m LOGIN) and 
the failure message I get in the libr...@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:cnighswon...@foundations.edu] 
Sent: Saturday, August 11, 2012 7:54 PM
To: George Mikuchadze
Cc: ch...@bigballofwax.co.nz; k...@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 <gia...@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=d31c1603cca45c4f4b5b9fa8b2a1785e81f6da05

Even then, there may be other issues which crop up.

Kind Regards,
Chris

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to