Author Topic: Signup.php bounced mail  (Read 2548 times)

deanna

  • Posts: 12
    • View Profile
Signup.php bounced mail
« on: December 19, 2004, 04:41:58 pm »
Hello,

First off I am Dan, not Deanna.  Deanna is the purchaser of your product and I am the one that installed and configured the script for her as I am her webhost.

Now on to what I am seeing happen.

When people submit to signup to the list but do not get their email address right the email, of course, bounces.  But rather than bouncing back to the address configured for the bounce.cgi script it is bouncing back to nobody@servername.com (which is the user that Apache runs as).  I spent a bit of time looking into these emails and have determined that the from field is not being set in the form or signup.php which would resolve this problem.

Is there a step of configuration that I have missed or something?

Thanks in advance for any help or direction on this matter.

Dan

MagicStrategy

  • Posts: 13
    • View Profile
    • http://KillerSalesLetter.com
Re: Signup.php bounced mail
« Reply #1 on: December 20, 2004, 08:09:50 am »
Dan,

In config.php, there's a setting:

Code: [Select]
// use -f setting to set return-path correctly...
$phpmailf = 1;


Set it to 1, as above, and it will probably solve your problem.

Rich

deanna

  • Posts: 12
    • View Profile
Re: Signup.php bounced mail
« Reply #2 on: December 20, 2004, 09:25:42 am »
Quote from: "MagicStrategy"
Dan,

In config.php, there's a setting:

Code: [Select]
// use -f setting to set return-path correctly...
$phpmailf = 1;


Set it to 1, as above, and it will probably solve your problem.

Rich


Hello Rich,

I checked the variable you gave in the config.php and it is already set to a 1.

Thanks for the reply  :D

Dan

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Signup.php bounced mail
« Reply #3 on: December 21, 2004, 01:23:57 pm »
Dan,

Are you sure the line is uncommented?  That is, it is not preceded by two forward slashes, as shown by Rich's example.

The program ships with the option disabled as it is often unnecessary, and can add an ugly "X-Authentication-Warning" header to your email.  To get rid of the warning your host would need to set the apache user as "trusted" in sendmail.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

deanna

  • Posts: 12
    • View Profile
Signup.php bounced mail
« Reply #4 on: December 22, 2004, 09:37:58 am »
Quote from: "DW"
Dan,

Are you sure the line is uncommented?  That is, it is not preceded by two forward slashes, as shown by Rich's example.

The program ships with the option disabled as it is often unnecessary, and can add an ugly "X-Authentication-Warning" header to your email.  To get rid of the warning your host would need to set the apache user as "trusted" in sendmail.


My apologies, it was commented out.  Once I removed the slashes the email does come in with the from field being from the bounce address although that email never seems to reach the defined address when it bounces.

It does seem as though that the bounce script is working as there is no error in the error log and it is configured with the exact same path as the signup script and it works.

Should I be able to simply send an email to the bounce address and see it forwarded to the configured address?

Sorry for the confusion but thanks for the help Dean!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Signup.php bounced mail
« Reply #5 on: December 30, 2004, 02:38:33 am »
The email should not say "From" the bounce address.  The "From" address can be set on the List Settings page for each list.  The bounce address should be hidden in your email client and only seen in the headers of the message, ie:

Return-path: <bounce@site.com>

 ^ This is your "bounce to address" from the Config page, probably the first line in the headers of the email.

From: "My Newsletter" <replies@site.com>

 ^ This is your "Send From" email for each list, showing up in the main message header (a guess might be, say, line 10).

To test the bounce script, send a message to the bounce address (The one connected to bounce.cgi) with the subject TESTBOUNCE.  After that, it's a matter of making sure the Return-path: is correct with both SMTP (list mailings) and PHP mail() (welcome/confirmation messages)

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