FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » return-path
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
return-path [message #29317] Mon, 12 December 2005 20:50 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
The return-path on my notification emails is coming as nobody(at)mymachine(dot)mysite(dot)com which is the webserver user. The code
     mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
seems to suggest it shoudl be the same as the from. Is this the case? It is a problem as AOL will reject emails with return path as nobody@ www@ etc...

Mocara.

Re: return-path [message #29325 is a reply to message #29317] Tue, 13 December 2005 00:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you using SMTP settings by any chance?

FUDforum Core Developer
Re: return-path [message #29330 is a reply to message #29317] Tue, 13 December 2005 01:10 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
No.

I 'fixed' the issue for me by changing my php.ini to have

sendmail_path = "sendmail -t -i -F forums(at)mydomain(dot)com -f forums(at)mydomain(dot)com"


Not the best way mind Smile

Re: return-path [message #29331 is a reply to message #29330] Tue, 13 December 2005 01:56 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Well, as far as I can tell the forum does set the return-path header...

FUDforum Core Developer
Re: return-path [message #29337 is a reply to message #29331] Tue, 13 December 2005 14:47 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Fair enough. Must have been something peculiar to my install. I take it this isn't a PHP/Postfix issue?

Mocara.
Re: return-path [message #29340 is a reply to message #29337] Tue, 13 December 2005 17:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
nope, as you can tell from the code header is being set. Perhaps it is being stripped? Have you checked what is your forum admin account e-mail in GLOBAL settings?

FUDforum Core Developer
Re: return-path [message #29349 is a reply to message #29340] Wed, 14 December 2005 11:25 Go to previous message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Yeah, the funny thing is it is just in the return-path. All the other uses of ADMIN_EMAIL work fine Smile
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: default text/background colors
Next Topic: Mass E-Mail do not work anymore
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Jun 01 23:55:13 GMT 2024

Total time taken to generate the page: 0.02517 seconds