Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (Gizmo, PianoWorld), 74 guests, and 250 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
jgeoff
jgeoff
NJ
Posts: 1,944
Joined: August 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 22
Gizmo 17
TheBrit 14
Zarzal 12
SteveS 8
jorb 4
Ruben 4
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
automatically generated email #252765
05/15/13 11:22 AM
05/15/13 11:22 AM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
Recently my fórums versión 7.5.6p2 has developed a problem with automatic emails. Registration verification email and automated happy birthday email to members for example, does not work. Each time the software tries to send mail I receive the following message.

Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings

My servers tech support thinks its a software problem and has nothing to do with server settings.

Any help or advise on this issue would be appreciated.

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: automatically generated email [Re: Rimex] #252766
05/15/13 12:52 PM
05/15/13 12:52 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
Sorry, No assistance needed, my host is working with me on the issue.

Thank You

Re: automatically generated email [Re: Rimex] #252767
05/15/13 01:46 PM
05/15/13 01:46 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
Me again
My host has washed their hands of the issue by taking this position. After years of service this just recently became a problem.

The system wont allow mail to be sent from nobody, mail needs to be from a real email address. This is important because spammers exploit systems and they use nobody@ to hide which account they exploited. The end result of not being able to properly track email from the server is it can end up blacklisted.

You will need to adjust your php scripts to send email using a valid email address. Generally most well written scripts will do this, sometimes there is a place in the web management portion to enter a email address to be used.

Another negative of nobody emails is they will generally end up in a spam box if spam filters are being used on the receiving account.

Can someone tell me where I would adjust the php scripts to ensure automated emails generated on registration, birthday congratulations etc are sent from a real address?

Thanks in advance for your help

Jay

Re: automatically generated email [Re: Rimex] #252768
05/15/13 02:39 PM
05/15/13 02:39 PM
Gizmo  Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 17,016
Portland, OR; USA
The forum email address is set through CP -> Master Settings -> Primary Settings -> General Tab -> "Board EMail Address"


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: automatically generated email [Re: Gizmo] #252769
05/15/13 02:45 PM
05/15/13 02:45 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
Yes, and it is set correctly. I noticed the Mailer.php also calls up this address for sending mail but I guess its not its not working for some reason. Any other ideas?

Re: automatically generated email [Re: Rimex] #252770
05/15/13 02:56 PM
05/15/13 02:56 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
It could be your mail server.
The default is localhost but possibly you are using a smtp server such as a windows server does.
Control Panel » Primary Settings
Use specified SMTP Server:
Normally this is controlled by php.ini. However if you need to send mail through another SMTP server and cannot do this by editing php.ini, you can specify it here.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: automatically generated email [Re: Ruben] #252772
05/15/13 03:01 PM
05/15/13 03:01 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
that feild is blank and the mail.php does not indicate a SMTP server. Should I try and list mine?

Re: automatically generated email [Re: Rimex] #252774
05/15/13 03:17 PM
05/15/13 03:17 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
The field usually is blank because the php.ini file normally has the mail server settings.
You would need to contact your host to find out the smtp server name.
But also you should try testing the email account listed in the board email address as Gizmo stated,Outside of UBB.
All email sent from the board comes from what is entered in that setting.
It could be there is a typo in the address or the email account just does not work.
Or it could be the email address is blacklisted.( happened to me twice)


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: automatically generated email [Re: Ruben] #252775
05/15/13 03:24 PM
05/15/13 03:24 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
The email account Works fine. Wouldnt the SMPT server be the same as the one I used to set up my account in Outlook.

Where is the php.ini file located so I can check it?

Thanks
Jay

Last edited by Rimex; 05/15/13 03:28 PM.
Re: automatically generated email [Re: Rimex] #252776
05/15/13 03:33 PM
05/15/13 03:33 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
could be.
You need to contact your host to be sure.
BTW, Since your host says it only happened after years of service. Makes me suspect.
Hosts are constantly upgrading software versions(apache,linux,windows), adding security,etc.
So I am sure it is something they did and now you need to fix it.

Ubb does not send email from nobody it sends it from the email account listed n the UBB control panel.
So something is amiss with the account entered.
Being that the php.ini is using the wrong mail connection. Or you need to manually enter a new SMTP server location.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: automatically generated email [Re: Ruben] #252777
05/15/13 03:40 PM
05/15/13 03:40 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
I agree the host is suspect in this and now its my problem (OLM is the host). I will be looking for another to host my sites. twice in the last month the site has gone down and the host has restored from backups.

If I enter a SMTP server are there negatives associated with this as the default is allways local host.

Where can I Access the php.ini file to ensure its correct or maybe hard code a send from email address into it.

Re: automatically generated email [Re: Rimex] #252779
05/15/13 03:51 PM
05/15/13 03:51 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
There should not be a negative if you enter a valid mail host.
Especially if email does not work to begin with.
As far as viewing/editing your php.ini file that is up to the host to allow you to see or edit it.

You might be able to see the settings in phpinfo depending on how your host has you setup.
You can try:
UBB Control Panel » PHP Info



Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: automatically generated email [Re: Ruben] #252780
05/15/13 04:02 PM
05/15/13 04:02 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
I can see that php.info says the SMTP server is local host so that isnt the problem.

I am very frustrated as they continue to say its a script problem with UBB. Im lost for solutions and now afraid a new host could offer the same problems.

My current host says the scripts are old and this is part of the problem. He said, she said.

I will push the harder for solution with the host but fear it usless.

Thank you
Jay

Re: automatically generated email [Re: Ruben] #252782
05/15/13 04:16 PM
05/15/13 04:16 PM
R
Rimex  Offline OP
newbie
Joined: Aug 2009
Posts: 29
Mexico
php.info shows the server administrator email address as one not listed on my site. It is the correct domain but that account does not exsit.

Could it be that its trying to mail from this address?

Thanks
Jay

Last edited by Rimex; 05/15/13 04:17 PM.
Re: automatically generated email [Re: Rimex] #252784
05/15/13 04:28 PM
05/15/13 04:28 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
Could be!
It might be a old catchall account that got deleted somehow.
Don't know, looking from this side of the fence.
But it sounds like you need to visit your (CPanel?)
And see if something for email has changed or been deleted.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: automatically generated email [Re: Rimex] #252786
05/15/13 08:39 PM
05/15/13 08:39 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
what you host did was set WHM/cPanel to not allow the USER 'nobody' to send emails.

that is a tweak that they did to stop your software from sending, in the interests of more 'security' for their server. it's their call, although they are really screwing you over by doing that.

what they really should do is run php as either suPHP or fastCGI, so that your php scripts run as the actual cPanel user account for your site.

if they won't budge on it, then move.

Tom @ Express hosting would have a setup that would run your forums much better and i highly recommend him

he'll even move you, since it's cPanel to cPanel and it will be quite painless.

2c

Re: automatically generated email [Re: SD] #252796
05/16/13 05:27 PM
05/16/13 05:27 PM
Pilgrim  Offline

enthusiast
Joined: Dec 2003
Posts: 235
NH, USA
Originally Posted by SD
Tom @ Express hosting would have a setup that would run your forums much better and i highly recommend him

he'll even move you, since it's cPanel to cPanel and it will be quite painless.

I'll definitely second that recommendation and from personal experience. Express Hosting is A #1.

[Linked Image]


Artificial Intelligence is no match for natural stupidity!
Re: automatically generated email [Re: Rimex] #252798
05/17/13 04:17 PM
05/17/13 04:17 PM
R
Ruben  Offline

Joined: Dec 2003
Posts: 5,952
Lutz,FL
express= +++++1 in my book.
I just had a self inflicted problem and Tom resolved it faster than I could reply to his questions.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Calendar Function
by TheBrit. 12/17/18 10:05 PM
Speaking of Http to https, complaints from user
by PianoWorld. 12/16/18 03:40 PM
update multilanguage site problem
by Zarzal. 12/15/18 04:20 PM
Char coding utf-8 and older forums
by Zarzal. 12/15/18 03:59 PM
table issue
by TheBrit. 12/13/18 06:05 PM
Forum Statistics
Forums36
Topics35,182
Posts191,701
Members12,122
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2