If you are using packages, you want to do none of that. None at all. The packages put the cron jobs in place already. In /etc/cron.d/koha-common as well as cron.daily hourly etc You have now sadly made quite a mess. All you really needed to do with the packages is make sure your mta is set up then run sudo koha-email-enable instancename I don't know who told you to do it the way you have, but they are wrong. Chris On 10 February 2018 6:47:22 AM NZDT, SATISH <lis4satish@gmail.com> wrote:
Hi,
1) I removed all cron entries by crontab -r
2) did # sudo koha-shell igntucl ( as koha default user created by package installation)
3) crontab -e igntucl-koha crontab.example
4) manually did bin/process_message_queue.pl as (igntucl-koha) user
5) mail notices status changed to - sent
6) mail log for igntucl-koha user shows;
root@testserver:/var/mail# tail -f igntucl-koha X-Cron-Env: <KOHA_CRON_PATH=/usr/share/koha/bin/cronjobs> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/var/lib/koha/igntucl> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=igntucl-koha> Message-Id: <20180209112001.B9011120779@testserver.localdomain> Date: Fri, 9 Feb 2018 16:50:01 +0530 (IST)
/bin/sh: 1: __KOHA_USER__: not found
7) koha installation has a public ip, and is it related to localdomain in the Message-Id.
8) manually did bin/process_message_queue.pl as root user.
9) mail notices status changed to - sent
10) but not received any mail to inbox
11) mail log shows:
root@testserver:/var/mail# tail -f root BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Config/SysPref.pm line 26. Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 105. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 105. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 25. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 25. Compilation failed in require at /usr/share/koha/lib/C4/Letters.pm line 30. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Letters.pm line 30. Compilation failed in require at /usr/share/koha/bin/cronjobs/ process_message_queue.pl line 28. BEGIN failed--compilation aborted at /usr/share/koha/bin/cronjobs/ process_message_queue.pl line 28.
13) should : __KOHA_USER__: to replaced as* root *or* igntucl-koha*
12) does it mean, a postfix issue??
expecting your thoughts!!
Thanks & Regards Satish _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.