PHPBB started spamming users by repeated topic/new PM notiffications

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
postcd
Registered User
Posts: 93
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

PHPBB started spamming users by repeated topic/new PM notiffications

Post by postcd »

Hello,

i see that my PHPBB 3.0.8 started sending e-mail reminders non stop. I mean one reminder is sent to the users infinitely. When i checked todays log of the mail server, i found 7 users be affected and they receive approximately 67 same e-mails per day. I want to ask what should i try and what to check?

When i checked the user that is bombarded by topic reply notifications if he is subscribed to the topic, i found when editting his post he is not subscribed to be notified.
That is strange, i checked system mail account and found one user e-mails are bouncing and when i clicked in some bounced e-mail an unsubscribe link phpbb said: "Při odhlašování od odběru novinek se objevila chyba." (which means in english that there was an error unsubscribing from the topic reply notifications)

But ut is not just topic problem, one user reported this issue to me stating she receive repeated New PM notifications and i verified that it is like that:
2016-11-23 23:49:21 1c9hI1-0000B7-4e <= [email protected] U=username P=local S=1176 id=[email protected] T="Nov\341 soukrom\341 zpr\341va" for [email protected]

Nov\341 soukrom\341 zpr\341va -> New personal message

Thank you
Last edited by postcd on Thu Nov 24, 2016 12:35 am, edited 1 time in total.
I have Health Forum and also webmaster Hosting Forum. Interested in making money? Try money maker forum.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by Lumpy Burgertushie »

if you made no changes to the files/database then ask your host what they changed on the server.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
postcd
Registered User
Posts: 93
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by postcd »

I am not sure how this can be related to the server. How can it generate same e-mails and send it repeatedly..
Mail queue is empty. I would think that PHPBB have to initiate e-mail sending and i do not remember i changed it. PS: i manage the server.

update: when i limitted mails per hour on that hosting account, some of these e-mails stuck in queue and i see these e-mails have this line i headers: Date: Mon, 21 Nov 2016 13:26:45
somewhere around this time +/- 1 hour maybe (couple of days back)
X-PHP-Script: myphpbbdomain.com/cron.php for IPHere
From where these e-mails appearing with this old date?
I have Health Forum and also webmaster Hosting Forum. Interested in making money? Try money maker forum.
User avatar
postcd
Registered User
Posts: 93
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by postcd »

Issue still there. PHPBB is buggy and sends out repeated notiffications. cron.php script is sending it. :evil:
User avatar
AmigoJack
Registered User
Posts: 6113
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by AmigoJack »

postcd wrote:cron.php script is sending it
And you are sure about this, because you removed/renamed this file and then no e-mails were sent anymore?
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53411
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by Brf »

If this is a phpBB 3.0 board, the Emails would be in queue.php
User avatar
postcd
Registered User
Posts: 93
Joined: Sun Oct 14, 2007 3:42 pm
Contact:

Re: PHPBB started spamming users by repeated topic/new PM notiffications

Post by postcd »

- As you suggested, i tried to rename cron.php to cron2.phpp and those e-mails stopped, but ofcourse i need mailing functionality so i renamed it back.

- It is PHPBB v3.0.8. There is no queue.php file in root directory BUT WOW!!!!, it is there: /cache/queue.php

And this file contains that crappy e-mails that are being sent over and over again.....

I have some PHPBB files set to be unchangeable (immutable bit), but cache folder and its files/subfolders is excluded. These are ony ones that are changeable:
-------------e- ./sitemap.html
-------------e- ./store
----------I--e- ./cache
-------------e- ./cron.php (was immutable too before i renamed it as suggested)
----------I--e- ./files
-------------e- ./robots.txt

What seemingly fixed the issue described in this topic is to empty file /cache/queue.php

Once i emptied it, e-mails stopped (cron.php have to exist of course, so topic reply notifications etc. works)
Then i created new topic and replied to it as another user and i instantly received topic reply notification and received it only one time, no excessive. so i hope issue is solved, though i am not sure how this issue happend. :roll:
I have Health Forum and also webmaster Hosting Forum. Interested in making money? Try money maker forum.
Locked

Return to “[3.0.x] Support Forum”