Author Topic: Bounced Addresses Not Being Deleted  (Read 2270 times)

sydney3

  • Posts: 30
    • View Profile
Bounced Addresses Not Being Deleted
« on: September 07, 2005, 10:42:21 pm »
Hi Dean,

I cannot get bounce.cgi to work on LunarPages (cPanel) for the life of me! I have configured everything EXACTLY as instructed, but without success.

Anyway, not to worry, I have configured a bounce@xxxxxx.com.au email address and I am using this setup on Listmail instead.

I have configured my settings to delete bounced addresses following 2 bounces in 60 days. I have now had several email addresses bounce three times in less that 2 weeks and none of them have been deleted (or moved to the 'Bounced' section of the list (if that is actually what is meant to happen)).

I have waited until the following day's Dailymail to allow for processing, but nothing. The addresses are still in the list as 'Active'.

The bounced emails are getting delivered to my bounce email address by Listmail.

Any suggestions would be great.

Thanks Dean,
Scott.

sydney3

  • Posts: 30
    • View Profile
Bounced Addresses Not Being Deleted
« Reply #1 on: September 13, 2005, 02:17:26 am »
Dean,

I have retried the bounce.cgi method and have discovered that when I use the cPanel setup EXACTLY as described in the Listmail help, cPanel automatically appends my forwarded addrees with @mydomain.com.au. So, my redirect address ends up like this:

bounce@mydomain.com.au >>> home/sydney3/public_html/cgi-bin/bounce.cgi@mydomain.com.au instead of:

bounce@mydomain.com.au >>> home/sydney3/public_html/cgi-bin/bounce.cgi

Any ideas on how to fix this?

Thanks Dean,
Scott

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounced Addresses Not Being Deleted
« Reply #2 on: September 13, 2005, 05:38:34 am »
I don't see the quotes or pipe character in your example.  Did you try creating a forwarder pointing to:

"|home/sydney3/public_html/cgi-bin/bounce.cgi"

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

sydney3

  • Posts: 30
    • View Profile
Bounced Addresses Not Being Deleted
« Reply #3 on: September 13, 2005, 05:51:46 am »
Hi Dean,

Sorry - you were right, I missed the quotes and pipe.

Have added them and the forwarder is now correct, however, when I test the mail setup, it returns that all successful, but I receive a "Mail delivery failed: returning message to sender" email with the following in the body:

=========================================
This 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:

  pipe to |home/sydney3/public_html/cgi-bin/bounce.cgi
    generated by bounce@mydomain.com.au
    "home/sydney3/public_html/cgi-bin/bounce.cgi" command not found for virtual_address_pipe transport
=========================================


Any help would be greatly appreciated.

Thanks Dean,
Scott.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounced Addresses Not Being Deleted
« Reply #4 on: September 13, 2005, 06:01:42 am »
Scott,

"Command not found" is a useful error message.  Try another backslash before "home" to make sure of the path is correct.

"|/home/sydney3/public_html/cgi-bin/bounce.cgi"

If you continue to have troubles the path to perl at the top of bounce.cgi might need to be updated, but this shouldn't be necessary. :)

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

sydney3

  • Posts: 30
    • View Profile
Bounced Addresses Not Being Deleted
« Reply #5 on: September 13, 2005, 06:58:48 am »
Hi Dean,

Have tried your suggestion (now reads: bounce@mydomain.com.au >>> "|/home/sydney3/public_html/cgi-bin/bounce.cgi") and now I am getting nothing - no bounce email at all (still getting the remote address one of course). I have also tried modifying the /usr/bin/wget to /usr/local/bin/wget and still nothing.

I have also confirmed that my path to perl is okay too (checked against another perl script that runs fine).

Any further suggestions?  :?

Thanks Dean,
Scott.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Bounced Addresses Not Being Deleted
« Reply #6 on: September 13, 2005, 09:24:30 am »
Double check that bounce.cgi has permissions (chmod) 755 and that the ListMail URL is correct in bounce.cgi

Are you sure wget is on the server?  Do you have a cron task set up that runs successfully?

You can also try (in bounce.cgi):
$http_program = "curl -o /dev/null " . $listmail_url . "/bounce.php";

If you continue to have trouble please submit your server info under "Other" at http://listmailpro.com/support and I'll take a look. 8)

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

sydney3

  • Posts: 30
    • View Profile
Bounced Addresses Not Being Deleted
« Reply #7 on: September 13, 2005, 03:13:13 pm »
Hi Dean,

Thanks again for all the great help.

IT WORKS!!!!!

My dailymail cron job is set to use: "curl -o /dev/null"

Once I change to this, all worked perfectly! Thanks so much for your great service Dean (as usual!)

All the best,
Scott.

P.S. Love the new features in 1.84!!