Re: [Koha] Email status changes failed from pending

2017-12-04 Thread Paul Hoffman
On Sun, Dec 03, 2017 at 04:05:23PM +0500, Javed Sahil wrote:
> Hello everyone!
> I want koha to send emails to patrons for circulation transactions
> like check out, check in, overdue etc. I have installed postfix.
> Everything is set I can send emails from commands line.
> 
> but in patron accounts email status is "pending".
> 
> When I use following commands.
> 
> 1.koha-shell library
> 2.export PERL5LIB="/usr/share/koha/lib"
> 3.export KOHA_CONF="/etc/koha/sites/library/koha-conf.xml"
> 4.cd /usr/share/koha/bin/cronjobs
> 
> above all go fine, but when i use following command:
> 
> 5../process_message_queue.pl
> 
> this error message appears:
> 
> connect to localhost failed (Connection refused)
> connect to localhost failed
> connect to localhost failed (Connection refused) no (more) retries!
>  at ./process_message_queue.pl line 66.

It sounds as though Postfix is not listening on port 25.  Please run the 
following command (as root) and send us the output: 

netstat -tnlp | fgrep master

And please send us the output of this command, too:

uname -a

Paul.

-- 
Paul Hoffman 
Software Manager
Fenway Library Organization
550 Huntington Ave.
Boston, MA 02115
(617) 442-2384 (FLO main number)
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Email status changes failed from pending

2017-12-04 Thread Mark Alexander
Excerpts from Javed Sahil's message of 2017-12-03 16:05:23 +0500:
> 5../process_message_queue.pl
> 
> this error message appears:
> 
> connect to localhost failed (Connection refused)

This sounds to me like a postfix configuration problem.

What happens when you try this?

  telnet localhost 25

This should connect to the postfix SMTP server.

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Email status changes failed from pending

2017-12-03 Thread Javed Sahil
Hello everyone!
I want koha to send emails to patrons for circulation transactions
like check out, check in, overdue etc. I have installed postfix.
Everything is set I can send emails from commands line.

but in patron accounts email status is "pending".

When I use following commands.

1.koha-shell library
2.export PERL5LIB="/usr/share/koha/lib"
3.export KOHA_CONF="/etc/koha/sites/library/koha-conf.xml"
4.cd /usr/share/koha/bin/cronjobs

above all go fine, but when i use following command:

5../process_message_queue.pl

this error message appears:

connect to localhost failed (Connection refused)
connect to localhost failed
connect to localhost failed (Connection refused) no (more) retries!
 at ./process_message_queue.pl line 66.


Then in patron accounts, email status changes to "failed".

Help Plz.



-- 
Regards,

Javed Shoukat

Management Trainee Officer (MTO)
Lahore University of
Management Sciences (LUMS),
Lahore.

Contact #: +92 300 6548748 <+92%20300%206548748>
Email: javedshoukat...@gmail.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha