Author Topic: Test Mail Settings  (Read 2301 times)

ihsreal

  • Posts: 19
    • View Profile
    • http://www.IHSRealty.com
Test Mail Settings
« on: February 04, 2007, 08:15:31 pm »
I've run the testmail settings in the configuration manager and I received Success responses for both bounce and signup in the config manager and an email: "from ListMail Notification"  "subject ListMail SMTP Test: Success!" for the bounce@mydomain.com

however, no email verification came from the signup@mydomain.com and no new entry was made in the database for a new user when I send a blank email to signup@mydomain.com.

am I missing a step?

thanks

ihsreal

  • Posts: 19
    • View Profile
    • http://www.IHSRealty.com
Test Mail Settings
« Reply #1 on: February 05, 2007, 11:57:06 am »
Here's the email I get when sending a test to signup@mydomain.com

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/mydomain/public_html/cgi-bin/signup-list1.cgi
    generated by signup@mydomain.com
    local delivery failed

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Test Mail Settings
« Reply #2 on: February 05, 2007, 10:29:46 pm »
I recommend setting up bounce.cgi and then using the knowledge from that to set up the signup scripts.  When you run "Test Mail Settings" do you get two emails?  One will state "SMTP Success" and the other will state "bounce.cgi Success".
Quote
pipe to |/home/mydomain/public_html/cgi-bin/signup-list1.cgi
generated by signup@mydomain.com
local delivery failed

Is it possible your script is not chmod to 755 to be executable?  Are you certain your host supports email forwarding / piping?  (If they use CPanel, very common, the required forwarders should be supported as mentioned on this help page).

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

ihsreal

  • Posts: 19
    • View Profile
    • http://www.IHSRealty.com
Test Mail Settings
« Reply #3 on: February 06, 2007, 06:46:13 am »
When running the test I only receive 1 email - SMTP success.

The scripts in the public_html/cgi-bin directory are both set to 755. I had the Server Managment company set up the piping, so I think that's done correctly.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Test Mail Settings
« Reply #4 on: February 06, 2007, 07:45:04 am »
The best way to check is to manually send an email to your bounce address with TESTBOUNCE in the subject.  If something is misconfigured you should receive a failure notice (bounce) back with some more information.  If you don't receive any response it's possible that the URL is not entered correctly in bounce.cgi or the /usr/bin/wget system utility used by bounce.cgi is unavailable (in which case you might try an alternative such as curl).

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

ihsreal

  • Posts: 19
    • View Profile
    • http://www.IHSRealty.com
Test Mail Settings
« Reply #5 on: February 06, 2007, 08:49:15 am »
Yes, I get a failed message when sending to bounce@mydomain.com.

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/mydomain/public_html/cgi-bin/bounce.cgi
    generated by bounce@mydomain.com
    local delivery failed

Here's the URL in bounce.cgi

$listmail_url = "http://www.mydomain.com/ListMail";

$http_program = "/usr/bin/wget -O /dev/null " . $listmail_url . "/bounce.php";

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Test Mail Settings
« Reply #6 on: February 07, 2007, 02:59:19 am »
Your system appears to work with the alternative curl.  Set this line in bounce.cgi and your CGI scripts:
Code: [Select]
$http_program = "/usr/bin/wget -O /dev/null " . $listmail_url . "/bounce.php";
to this:
Code: [Select]
$http_program = "curl -o /dev/null " . $listmail_url . "/bounce.php";
You can replace "/usr/bin/wget -O" in your cron task with "curl -o" as well.

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