11
ghia
Re: MAil from "nobody" rejected by server
  • 2008/10/7 23:29

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


(Can your other sites send mail in other ways - methods?)

So, there are only a few possibilities left for this different behaviour:
- XOOPS versions (compare files)
- XOOPS settings (compare database)
- your mailbox setup (check)
- domain mail setup
- domain setup
For the last two you have to open a ticket with your hoster.

12
macmend
Re: MAil from "nobody" rejected by server
  • 2008/10/10 5:25

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


my host has whm>tweaks set so that "nobody" cannot run mail out of the server. This they say is to stop SPAM. Is it time to go to another host? There seems to be no way round this as under any other mail settings it sends no mail at all. At least under the phpmailer it sends the mails as unsent back to the admin mail so I know someone has registered.

I am a bit stuck as there seems to be no way of coding round "nobody"
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

13
ghia
Re: MAil from "nobody" rejected by server
  • 2008/10/11 1:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
my other sites are on the same server and have no problem
Then you should open a ticket for the trouble site.
Quote:
am a bit stuck as there seems to be no way of coding round "nobody"
Maybe with the smtp method with an external mail account and corresponding credentials, such as your adsl account?

14
macmend
Re: MAil from "nobody" rejected by server
  • 2008/11/24 13:58

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I thought I would come back to this as its important.

Many hosting companies are now setting sendmail to restrict mail that is sent from the server by user 'nobody' (as pointed out the default Apache user for script execution.)

This is because mail servers get taken over by bots who use the user nobody to send vast amount of spam mail

I dont really undertand but think that this can be reset within the server on an installation by using something similar to this

ini_set('sendmail_from', 'me@domain.com);

so that sendmail adds a different user to the header

not sure if this is true or whether I am just stuck ( I have moved macmend.com to another host) with any site i create in XOOPS with my present host
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

15
Anonymous
Re: MAil from "nobody" rejected by server
  • 2008/11/24 14:04

  • Anonymous

  • Posts: 0

  • Since:


Use Gmail:
- Go to Preferences then edit Mail Setup as the following:
Mail delivery method -> SMTPAuth
SMTP host -> smtp.gmail.com:465
SMTPAuth username -> your gmail username (including @gmail.com)
SMTPAuth password -> your gmail password

16
macmend
Re: MAil from "nobody" rejected by server
  • 2008/11/24 14:13

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I was hopeful but I cannot get smtp mail to work, it just says it cannot connect to smtp server, is that becuase of 'nobody' again?
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

17
ghia
Re: MAil from "nobody" rejected by server
  • 2008/11/24 15:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I dont really undertand but think that this can be reset within the server on an installation by using something similar to this

ini_set('sendmail_from', 'me@domain.com);

so that sendmail adds a different user to the header

not sure if this is true or whether I am just stuck ( I have moved macmend.com to another host) with any site i create in XOOPS with my present host
Only your hoster can change the Apache user or its priviliges.

You should use the SMTP method to connect to another email server such as gmail or the one from your adsl account.
Some adsl mail accounts may also forbid SMTP connections from foreign networks, even if the credentials are OK. You can test this eg via a WIFI (not your own, but from a different ISP).
Therfore you have the best chance via generic mail accounts (eg GMail) that provide SMTP and POP.
If you can not connect, ask your provider if it is possible to connect via SMTP. If not, you have no email options at all and then it is best to move to a better hoster.

18
macmend
Re: MAil from "nobody" rejected by server
  • 2008/11/24 16:05

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


my provider now tells me I can use the sendmail setting in xoops, but doesn't that also use 'nobody'

Fact is I can't get it to work, do I need to alter phpmailer
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

Login

Who's Online

451 user(s) are online (332 user(s) are browsing Support Forums)


Members: 0


Guests: 451


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits