Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: clive.aspen - kesäkuu 30, 2011, 06:47:59 AP

Otsikko: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - kesäkuu 30, 2011, 06:47:59 AP
Hi,
I host a Website foe a client who has SMF 1.1.14 installed.
Shes been getting lots and lots of spammer robots trying to register.
The has chosen to manually accept or reject them.
However everytime she rejects a registration the email gets bounced back to me (nobody@my server)
THe email address the spammers are using is bogus, but it seems that SMF has not set the return path to the 'webmasters email address' as input in the configuration, so iut defaults to 'nobody'
So the email is bounced back to me 'nobody@myserver'
How do I stop this, as I'm getting hundreds of these rejection emails..
Why isnt the return path set to the webmasters address?

LainaaThis message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    The mail server could not deliver mail to [email protected].  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

------ This is a copy of the message, including all the headers. ------

Return-path: <nobody@server.######.co.uk>
Received: from nobody by server.#####.co.uk with local (Exim 4.69)
   (envelope-from <nobody@server#####.co.uk>)
   id 1QcD0J-0005HI-PT
   for [email protected]; Thu, 30 Jun 2011 09:53:43 +0100
To: [email protected]
Subject: Welcome to itchybaby
From: "itchybaby" <#######@hotmail.com>
Date: Thu, 30 Jun 2011 08:53:43 -0000
X-Mailer: SMF
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="SMF-1dc8830f7e790d80dc83e32c7ed7fb42"
Content-Transfer-Encoding: 7bit
Message-Id: <E1QcD0J-0005HI-PT@server.######.co.uk>


Your registration request at itchybaby has been received, bapabussy.

The username you registered with was bapabussy and the password was IzRGOKK942.

Before you can login and start using the forum, your request will be reviewed and approved.  When this happens, you will receive another email from this address.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 01, 2011, 05:22:18 AP
this is the site;
http://itchybaby.co.uk/itchyforum/

Please anyone ! Still getting hundreds of these bounced back emails with no return path set.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 02, 2011, 06:59:59 AP
 :( :( :(
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 02, 2011, 07:05:18 AP
Change the webmaster e-mail address in the SMF Server settings? You could use a [email protected] address, unless your server is configured to catch all incoming mail regardless if the address exists... If it is, then perhaps set up noreply to work as a blackhole?
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 03, 2011, 11:26:48 AP
Hi ,

Thanks for the reply.
The thing is the emails are not going to the webmaster address set up in config..
Thats the point.. The webmaster is rejecting these registrations, most of them are bogus registrations with false email addresses.
As they are false email addresses they are being bounced back... but not to the webmaster but to the default server address 'nobody'@myserver.com
It doesnt matter what email address we put in the 'webmaster address' in config, the bounced emails always get returned to the default server address..

Why isnt the 'rejection' email being sent from the 'webmaster' address... If it was it would bounce back to that address.. which it doesnt.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 03, 2011, 12:41:39 IP
As far as I know - it should be sent from the address set up as webmaster address.
Are you using PHP or smtp for mail?
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 05, 2011, 07:07:06 AP
The server uses smtp as far as I'm aware.

I think this guy is having the same problem;
http://www.simplemachines.org/community/index.php?topic=440988.0 (http://www.simplemachines.org/community/index.php?topic=440988.0)
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 05, 2011, 07:09:13 AP
I believe smtp may bind the sender address to the smtp account used to send mail, so that might explain it.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 05, 2011, 08:12:06 AP
Thanks for the reply.... 

I see.

However this is a bit of a problem as I am unable to change the server to use SuPHP due to the file and folder permissions that requires.

Hhhmm
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 05, 2011, 08:16:56 AP
Perhaps create a new smtp account to use for this purpose only?
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 05, 2011, 08:38:15 AP
Apologies for not understanding..
What do you mean exactly, I'm afraid I'm no expert.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 05, 2011, 08:55:08 AP
OK,

So there are two different methods for sending e-mails from SMF.

1) PHP Sendmail. Built in to SMF, uses PHP's built in sendmail function
-> http://www.php.net/manual/en/function.mail.php

2) An e-mail account somewhere, using SMTP
-> http://fi.wikipedia.org/wiki/SMTP

The SMF side of these can be mostly configured in
Admin -> Maintenance -> Mail -> Settings
Admin -> Configuration -> Server Settings -> Feature Configuration




EDIT: Corrected the SMF part, Sorry - I was thinking of 2.0 there first...
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 05, 2011, 09:15:18 AP
Thanks !  I didnt see the 'feature configuration' page before !
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: Aleksi "Lex" Kilpinen - heinäkuu 05, 2011, 09:16:48 AP
OK - Now test the different options around, and see what works best on your server.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: LiroyvH - heinäkuu 05, 2011, 09:19:14 AP
The nobody is most likely because your PHP is not running as CGI or suPHP and thus runs under the user "nobody".
That's a setting at your host. Using SMTP however should, I think, indeed solve that.
Otsikko: Re: Email Return path set to 'nobody'
Kirjoitti: clive.aspen - heinäkuu 05, 2011, 09:46:05 AP
Thanks very much for your help