News:

Join the Facebook Fan Page.

Main Menu

SMF is sending SPAM

Started by amiralib, September 21, 2014, 12:07:38 PM

Previous topic - Next topic

amiralib

Hi
I update my SMF from 2.0.5 to 2.0.8 and I receive this report from my CPANEL :
/home/amirali/public_html/forum2/Sources/Subs-Post.php:86:                      string headers)
/home/amirali/public_html/forum2/Sources/Subs-Post.php:87:              - sends mail, like mail() but over SMTP.  Used internally.
/home/amirali/public_html/forum2/Sources/Subs-Post.php:88:              - takes email addresses, a subject and message, and any headers.

and 1 days later my data center mail me that Im sending SPAM with admin account on SMF.

Subs-Post.php  code are these :


bool smtp_mail(array mail_to_array, string subject, string message,
string headers)
- sends mail, like mail() but over SMTP.  Used internally.
- takes email addresses, a subject and message, and any headers.
- expects no slashes or entities.
- returns whether it sent or not.


thanks for your helps

Kindred

Was there a question in there, somewhere?

Looks like smf is doing exactly what it is supposed to be doing...   How is sending notifications to users spam?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

amiralib

data center told me that SMF dont use any header for emails on this Code.

amiralib

I think its other BUG on SMF for non UTF8 sites on PHP 5.4 :(

kat

How can it be a bug? People are getting notifications that they've asked for.

Your datacentre must be weird...

amiralib

Quote from: K@ on September 21, 2014, 01:09:26 PM
How can it be a bug? People are getting notifications that they've asked for.
I detect that the notification emails are sending empty !!!!
emails have subject but the body text is empty !

kat

That's rather different from it sending Spam...

So... To try and correct that, assuming you want the mails sent (I'm confused, about that), we'll need some information. What mods do you have? Is there anything in your error-logs? Did they used to work? If so, what's changed, since the?

That kinda thing. Useful stuff.

Kindred

Also, an examp,e of your proof that the emails are empty...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

amiralib

I update my SMF from 2.0.5 to 2.0.8 and my PHP from 5.2 to 5.4
after that I see that errors.
when you sending empty emails it can be as spam for data centers (I guess that!)

my error log on Forum folder is empty ! can I active or inactive system error log?

thanks

Arantor

I believe there may be an issue with PHP 5.4 on non-UTF-8 forums.

amiralib

Quote from: Arantor on September 21, 2014, 01:32:08 PM
I believe there may be an issue with PHP 5.4 on non-UTF-8 forums.
yes I think you are right :(
hope 2.0.9 can fix this problem

Arantor

Or you could convert to UTF-8.

amiralib

my database is 1.2GB !!!
I convert to UTF8 on SMF1.0 and all the characters changed to ? ? ? ? ? ? :D
I should convert my database on local and manualy and its very hard. my forum is very very old and Im using more than 7 years of SMF and converting is hard for me .

kat

So, backup, before you try it...?

Advertisement: