By Yannick Poitras on Saturday, 22 August 2015
Posted in Technical Issues
Replies 10
Likes 0
Views 1.9K
Votes 0
Hi!

The mail notifications are not sent properly for new blog posts.
Here is the details provided by my client. Thank you very much for assisting me!


ok, major problem. I though the response was kind of low on the current blog post... well, I checked my junk mail on a whim today, every site subscription email was in there with an undeliverable message along with the comments and new site subscription notifications. Not a good thing! there are hundreds in my junk mail for this last post and the previous post

I posted a question on the Facebook page and people who subscribe are not getting the emails


Just to add that in the "blog entries list", I clicked on the notify button next to the last blog post, thinking that it would prompt me to select details about how/when/to whom I want to send the notifications, but it went to "mailing activity" as pending...
Also, I see that if you go after this list of pending email notifications, there is the list of all the notifications that (would) have been sent automatically by the system and they are all listed as sent. But as my client mentions, she received hundreds of undeliverables, probably for all of them...

Thank you to help me find a solution!
Hey Yannick,

I am really sorry for the delay of this reply as it is a weekend for us here.

I can replicate this issue, it seems like the subscriber didn't receive any new post email notification.

May i know do you have setup cronjob in your site yet?

By the way, Can you provide us with your Cpanel access as well?
·
Saturday, 22 August 2015 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!

Thanks for the quick reply!

I have added the access details in the Optional Information field.

Thank you!
·
Saturday, 22 August 2015 21:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yannick,

I am really sorry that delay of this reply,

I would like to help you setup the cronjob in your site, but I hitting this :

/bin/sh: /bin/wget: Permission denied


Can you consult with your webhosting provider regarding this?
Reference link : https://forums.cpanel.net/threads/bin-sh-usr-bin-wget-permission-denied.166986/#post-696566

Keep us updated then once you done.
·
Monday, 24 August 2015 18:12
·
0 Likes
·
0 Votes
·
0 Comments
·
I forwarded your request to the hosting company, and they are asking that:

Hi Yannick,

Can you clarify what kind of cronjob you need / have issues with, and
the absolute location of it on the server.

This might indeed be a permission issue.

I see you are running a "wget" and are referring to "our website", are
you fetching something from the iweb site in the script?
·
Wednesday, 26 August 2015 04:30
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Yannick,

I am really sorry that delay of this reply,

This is the cron command I trying to configure in cronjob then execute this cron.php file JoomlaFolder/components/com_easyblog/cron.php:
/usr/bin/wget -O /dev/null "http://yoursite.com/index.php?option=com_easyblog&task=cron"


Then I receive an email from the server response :
/bin/sh: /usr/bin/wget: Permission denied


May i know is it the wget path is not correct? Keep us updated then.
·
Thursday, 27 August 2015 11:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex!
They andwered that, at the hosting company:

You can use the wget directly without any path.

Also make sure the /dev/null is at the end of the command as it is
saying do nothing.
·
Thursday, 27 August 2015 21:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yannick,

Regardless if wget can be used without the path, the wget binary itself is not executable by the cron as Arlex posted above. When invoking "wget", the system is throwing a permission denied error which indicates that it cannot be called by the cron.
·
Friday, 28 August 2015 03:36
·
0 Likes
·
0 Votes
·
0 Comments
·
The hosting company modified the permissions. Here is what they said:

I have changed permissions.

getusers group can execute wget.

All that is left is to add any user to this group to be able to run
wget. You can have as many users as you want to be added to this group.

The command to add a user to a group in SSH as root is as follows:

usermod -g getusers username

The guide shows "get-users" but in your case is "getusers" as the other
group name (get-users) does not exist on your system, and is just an
example.

Make sure to allow the account executing the script (put it in the
getusers group as above).

Please test on your script and let us know if this works.
·
Saturday, 29 August 2015 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello!

Any news on this?
Thank you!

Yannick
·
Wednesday, 02 September 2015 19:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yannick,

I am really sorry that delay of this reply,

I am still hitting that permission issue, perhaps you can try request with your webhosting provider to help you add this user `jessplus` to that group as well -> usermod -g getusers username

By the way when I troubleshoot in your site, I hitting this :
SMTP Error! The following recipients failed: wittryparents@gmail.com
SMTP server error: Authentication failed

may i know you configure that SMTP in Joomla is it set up correctly? Example : username and password?
It seems like it authentication failed.
·
Thursday, 03 September 2015 01:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post