Author Topic: Bounces going to my webhost  (Read 3681 times)

mcnak

  • Posts: 17
    • View Profile
Bounces going to my webhost
« on: April 20, 2005, 07:48:19 pm »
All of my bounces are going to my webhost. Below is what they said is causing the problem:

"You are running a PHP script. By default PHP scripts run as "nobody" and we cant change that. So the replies goto nobody@server??? and that gets bounced to us."

Is this correct? How do I fix this?

Thank you in advance!

mr.trevor

  • Posts: 125
    • View Profile
Bounces going to my webhost
« Reply #1 on: April 21, 2005, 10:13:01 am »
If it is any help, I am sure this must be incorrect.
Mine work fine and they all use the same PHP script.
At the bottom of the 'configuration' page is where I have set up where my bounced mail goes. DW has set three alternative ways of handling bounces. I guess one will be most suitable for yourself. I don't know what happens if you don't select any of these options though.
If there is an actual problem though I am sure that DW can fix it.
As you joined in Dec '04 I am surprised that it took so long for your host to notice.
TrevorW

mcnak

  • Posts: 17
    • View Profile
Bounces going to my webhost
« Reply #2 on: April 21, 2005, 10:21:14 am »
Trevor, thanks for your reply. I agree that it is the webhosts fault and not mine or the script. I just switched to this webhost and I did not have this problem with my old host and I ststed this to the new host.

I hope DW can help or give me some idea of why the webhost is having this problem so I can fire back at them as I thought it was on the hosting end all along.

Best regards,
Matt

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounces going to my webhost
« Reply #3 on: April 21, 2005, 01:35:29 pm »
There is one chance for you to properly set the bounce path in your messages.

Uncomment, (Remove the "//") from this line in config.php (or add it, sans "//", if it doesn't exist):

// $phpmailf = 1;

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

mcnak

  • Posts: 17
    • View Profile
Bounces going to my webhost
« Reply #4 on: April 21, 2005, 01:45:45 pm »
DW, you lost me at the word there :?

Explain it like you are talking to a 6 year old because I am 9.5

Thanks!

mr.trevor

  • Posts: 125
    • View Profile
Bounces going to my webhost
« Reply #5 on: April 21, 2005, 02:04:43 pm »
lol
That's what I thought.
I think in English it means that if you open the config.php file in a text editor, half way down the file there are two lines:

$phpmailf = '';
// $phpmailf = 1;

I suspect that suggestion may be to take the // from the second line and put them in the first:

// $phpmailf = '';
$phpmailf = 1;

(Then of course you have to save as config.php again and put the file back where it came from.)
What the effect of this is, though, I have little idea.
TrevorW

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounces going to my webhost
« Reply #6 on: April 21, 2005, 05:18:12 pm »
Trevor,

This change utilizes the 5th paramater of the PHP mail() function to set the return-path:

http://php.net/manual/en/function.mail.php

It's not on by default in case the server doesn't support it (some don't need it and strictly disallow it).  I should probably put in detection for this.  If we can't mail with the 5th paramater, default to using the first 4 as usual..

mcnak,

Did Trevor help clarify the change for you?  After making the change, do you see a new error message or is mail sent ok?  If sent ok, you can check the "headers" of the incoming message to see if the "Return-path:" line is set correctly to your ListMail "bounce to" or "admin email" (bounce disabled) address.

More techie-speak.. :x.. I apologize for being so confusing.  If you need help viewing the headers of your message let me know which email client you use and I will try to assist.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

mcnak

  • Posts: 17
    • View Profile
Bounces going to my webhost
« Reply #7 on: April 21, 2005, 06:16:01 pm »
DW, yes trevor spoke in my language. I use Thunderbird so if you want to give me quick details on how to read the header that would be fine as it will save me some time I am sure. :D

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounces going to my webhost
« Reply #8 on: April 23, 2005, 12:53:33 pm »
To view the message headers, open the message into it's own window, then select View -> Headers -> All

You can also hit the small
  • symbol next to the Subject.


Regards!
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting