Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving notifications #6

Open
phildtmm opened this issue Jun 1, 2020 · 3 comments
Open

Not receiving notifications #6

phildtmm opened this issue Jun 1, 2020 · 3 comments
Assignees

Comments

@phildtmm
Copy link

phildtmm commented Jun 1, 2020

I am having a problem similiar to Joppla and have tried the suggestions in his email string.

I'm trying to get the notifications working but seem to have missed something. (I am in transition from MyHeritage and have several folks who are now receiving the daily notifications there.)

I have installed the "notifications" module and added the entry to crontab - "0 9 * * * wget -O - -q " mywebsite.duckdns.org/webtrees/index.php...key=lz5bat6RW1MXLCFQ "".

Since I am running Fedora with SELinux also checked on the type for the crontab file and per documentation it appears to have the necessary assignments - "-rwsr-xr-x. 1 root root system_u:object_r:crontab_exec_t:s0 78136 Mar 18 2019 crontab".

There was a string that indicated there would only be notifications is there were events for that day - I have checked to ensure that is the case but no notification was received. To expand on that, if I do not login, there are no events on the main page but once I login, I do see events for that day. From what I understand from the documentation for this module, it should be sending the notifications of the day that I see when I am logged in.

I did try running the URL as above and did receive an email with the events for today (June 1). Since Joppla's message indicated that he needed to allow access I checked my .htaccess files and there is no restriction's on IPs there. Also checked the Directory section in the httpd.conf file and it has access for all ("require all allow").

Is there anything else I should be checking?

P.S. - I am running webtrees 2.0.4

@UksusoFF
Copy link
Owner

UksusoFF commented Jun 2, 2020

I did try running the URL as above and did receive an email with the events for today (June 1).

If you receive message when go to url then module works well. You need check cron task which will run this url.
Try run wget command in cli - maybe you see any errors.

@UksusoFF UksusoFF self-assigned this Jun 2, 2020
@UksusoFF
Copy link
Owner

@phildtmm any updates?

@slavkoja
Copy link

I can only guess, but i the problem can be in the Reply-To header, which uses default "noreply@localhost", which lacks real domain on the right side of the address, and it can be restricted in some email servers (e.g. my MX server validates all mail's email addresses and rejects broken, including Reply-To header).

My suggestion is to not use the Reply-To header at all, and use webtrees's default sender in the From header only (as it does already), or modify default NoReplyUser address, to use domain from the default address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants