Author Topic: Stumped By Email Signup / Bounce CGI  (Read 2390 times)

minisitepromoter

  • Posts: 11
    • View Profile
Stumped By Email Signup / Bounce CGI
« on: June 10, 2006, 08:50:24 pm »
I don't know what I am doing wrong.

1.  I've set up the Admin Email Address:  admin@mydomain.com
and the Remote Email Address:  account@anotherhost.com

2.  I've done the 4 Steps:

-  Modify each script to contain your ListMail URL. In the case of signup scripts ...
-  Upload your scripts to your, usually pre-created, cgi-bin folder on your host ...
-  Determine your server's method and set up "email aliases" for each of your ...
-  Test if it worked.

The pop-up says:

Testing mail servers..

[Bounce Handling]
Is enabled?  Yes, Using bounce.cgi
Sending TESTBOUNCE email to bounce address.. Success!

If you receive an email at your "Administrator Email Address" bounce.cgi is configured correctly.

[SMTP Server]
Is enabled?  Yes
Connecting to SMTP server.. Connected!
Sending test email to remote address.. Success!

If you receive an email at your "Remote Test Address" the SMTP server is configured correctly.

I get the test email in my Remote Email Address but I DON'T get
the test email in my bounce address, i.e., my administrator email
address.

I even sent an email to my bounce address with the word
TESTBOUNCE in the subject line.  Nothing.

I made sure the bounce@ and signup@ users are not set up as
"standard" accounts.

What am I doing wrong?


Thank you.

Best,
Minisitepromoter

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Stumped By Email Signup / Bounce CGI
« Reply #1 on: June 11, 2006, 11:15:43 pm »
You might receive an "undeliverable" bounce when you email the bounce address from an email click like Outlook.  This could provide some information.

The most common cause of failure is an incorrect email alias/forwarder or the lack of the system utility /usr/bin/wget used by bounce.cgi.  In case of the latter, bounce.cgi can be modified to use an alternative, such as "curl".  Example:
Code: [Select]
$http_program = "/usr/bin/wget -O /dev/null " . $listmail_url . "/bounce.php";
Becomes
Code: [Select]
$http_program = "curl -o /dev/null " . $listmail_url . "/bounce.php";
It might be worthwhile to double-check with your host about whether email to CGI is possible on your server and what the exact method is.

Please let me know if you continue to have troubles.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

minisitepromoter

  • Posts: 11
    • View Profile
Stumped By Email Signup / Bounce CGI
« Reply #2 on: June 12, 2006, 08:24:26 am »
Will do as advised and give update.

Thank you.

Best,
Minisitepromoter

minisitepromoter

  • Posts: 11
    • View Profile
Stumped By Email Signup / Bounce CGI
« Reply #3 on: June 15, 2006, 05:28:02 am »
Hello Dean.

I submitted the contents of this thread to my host server.

- They said that the email to CGI is possible and,
- the command as you showed with the wget is off limits
and not allowed.

Okay, I know I followed the online help.  There must have
been something I did wrong.

What do you think?

Best,
Minisitepromoter

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Stumped By Email Signup / Bounce CGI
« Reply #4 on: June 15, 2006, 03:51:47 pm »
Since "wget" is not allowed it could be part of the problem.   Did you try the alternative "curl" commnd?  The message "bad interpreter", however, is normally indicitave of the top line of a script being incorrect.  ie:

#!/usr/bin/perl

might need to be
#!/usr/local/bin/perl

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

minisitepromoter

  • Posts: 11
    • View Profile
Stumped By Email Signup / Bounce CGI
« Reply #5 on: June 15, 2006, 07:40:31 pm »
I tried what you said.  I changed the top line of the three scripts:

bounce.cgi
signup-list1.cgi
signup-list2.cgi

from #!/usr/bin/perl  to  #!/usr/local/bin/perl

I changed the permissions to 755.  Still a NO GO but the remote
test address still worked.

Do I need to change this back to original, I mean the top command
line of the script?

So what do we do now?

Minisitepromoter

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Stumped By Email Signup / Bounce CGI
« Reply #6 on: June 16, 2006, 05:39:51 pm »
Tough to say... you may want to ask your host the exact method for setting up these types of forwarders/scripts on their server.  A "Bad interpreter" error usually means the top line of the CGI script (where the interpreter is defined) is set to the wrong path... I still think there are a few different things we can try in the /etc/smrsh folder, such as allowing "perl" to run, then piping your aliases to "|/usr/bin/perl /path/to/script.cgi". I can do some hands on testing for the price of a server analysis at http://listmailpro.com/support

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

minisitepromoter

  • Posts: 11
    • View Profile
Stumped By Email Signup / Bounce CGI
« Reply #7 on: June 17, 2006, 10:08:38 am »
Hello.

I purchased the Server Analysis Package and sent you an
email through the online contact form due to a minor issue
in the purchase process.

Thank you.

Best,
Minisitepromoter