It is currently Thu Mar 28, 2024 11:24 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Sendmail doesn't work for my SOUPERMAIL script
PostPosted: Sat Nov 11, 2006 11:26 pm 
Noobie
Noobie

Joined: Sat Nov 11, 2006 11:12 pm
Posts: 5
Hello,

I recently upgraded to the personal account ($2.95/mo) which includes email support. I installed my usual form handler (soupermail from http://soupermail.sourceforge.net/). I already use this script at work at it does a great job.

Well.... I installed it and it runs without errors BUT it won't send email. Here are my configuration settings:

Perl Location #!/usr/bin/perl --
$soupermailAdmin = 'webmaster@terrydowsacademy.com';
$serverRoot = '/home/www/terrydowsacademy.com';
$privateRoot is assumed to be '/home/www/private' but please check
$mailprog = '/usr/sbin/sendmail';
$tempDir = '/tmp/';
$forkable = 1;
You should set $fhBug to 0
$paranoid = 0;

The script actually sends 2 emails. One goes back to the sender (FROM my email on this server) and may have .pdf attachements. The other email is from the sender and is sent TO: my email address on the server.

Anyway, I've opened a help desk ticket and over the course of a few days support just basically blamed the script and threw in the towel. The script is fine... I'm convinced there's a problem with the SENDMAIL configuration on the server. I've asked for the server logs 3 times now so I can troubleshoot this, but no response on that yet.

This script is important. If I can't run it successfully, I'll need to seek a refund on my hosting order and go elsewhere. Please help!

-Mark


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 12, 2006 6:26 am 
Support Team Member

Joined: Sat Feb 12, 2005 5:19 pm
Posts: 289
Please open a trouble ticket about this problem so we will be able to provide you with accurate support. This you can do from the Help Center section of your Control Panel.
Looking forward to hearing from you.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 12, 2006 1:22 pm 
Moderator
Moderator

Joined: Sat Feb 12, 2005 4:48 pm
Posts: 575
Location: Largo, Florida USA
For testing, I installed soupermail and the examples they supplied.

The only thing I can think of that may be causing you any issues is:

1) You need the CHMOD the supermail.pl to at least 755
2) You need to upload the supermail.pl to your cgi-bin folder that was created during the install process and sent to your PC

_________________
Bob G.

Grout Recoloring Systems: http://coloryourgrout.com

Save Your Data - Do Backups
http://forum.100webspace.com/viewtopic. ... highlight=


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 13, 2006 2:19 am 
Noobie
Noobie

Joined: Sat Nov 11, 2006 11:12 pm
Posts: 5
Andy wrote:
Please open a trouble ticket about this problem so we will be able to provide you with accurate support. This you can do from the Help Center section of your Control Panel.
Looking forward to hearing from you.


Andy - I opened ticket #44237 on 11/9 and have been going back and forth with support ever since.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 13, 2006 2:22 am 
Noobie
Noobie

Joined: Sat Nov 11, 2006 11:12 pm
Posts: 5
bobg wrote:
For testing, I installed soupermail and the examples they supplied.

The only thing I can think of that may be causing you any issues is:

1) You need the CHMOD the supermail.pl to at least 755
2) You need to upload the supermail.pl to your cgi-bin folder that was created during the install process and sent to your PC


Bob - The script is set properly to 755 and I did upload the installer-generated script. Here's a link to the form:
http://www.terrydowsacademy.com/contact.htm

Feel free to try it. Your name and email address are required. The form will execute without errors. Unfortunately, you won't receive and email... nor will I.

Mark


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 13, 2006 3:49 am 
Noobie
Noobie

Joined: Sat Nov 11, 2006 11:12 pm
Posts: 5
OK, I made *some*progress but am not quite out of the woods yet. The script is designed to send 2 emails each time the form is submitted.

Email #1 is FROM the sender to ME (webmaster@terrydowsacademy.com)

Email #2 is FROM ME to the sender.

If I disable email #2, then email #1 sends without a problem. However, if I enable email #2, then NO emails are sent. It appears as though the mail server is configured to only allow 1 email per script operation. I've run into this issue before with another web host. Is there a way to check this and loosen that restriction?

Mark


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 13, 2006 5:51 am 
Noobie
Noobie

Joined: Sat Nov 11, 2006 11:12 pm
Posts: 5
I made a change to have my script use the 100WebSpace mail host instead of SENDMAIL and then I enabled logging in the script file. Check out my log file below. At the very end, it thows an error: 550 relay not permitted when it tries to send an email FROM and email hosted here (webmaster@terrydowsacademy.com) TO another address.

As I understand it, the mail server should not be throwing this error unless both the FROM and TO address are not hosted on my server, right?

-Mark

------------LOG FILE-------------
soupermail version 1.0.8

SCRIPT_NAME=/cgi-bin/tda2-soupermail.pl
SERVER_NAME=terrydowsacademy.com
HTTP_REFERER=http://www.terrydowsacademy.com/contact.htm
SERVER_ADMIN=support@100ws.com
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_CONNECTION=Keep-Alive
REQUEST_METHOD=POST
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
CONTENT_LENGTH=1105
SCRIPT_FILENAME=/home/www/terrydowsacademy.com/cgi-bin/tda2-soupermail.pl
SERVER_SOFTWARE=Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d VDB/1.1.1-se
REMOTE_USER=
AUTH_TYPE=Basic
QUERY_STRING=
REMOTE_PORT=3734
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
SERVER_PORT=80
HTTP_CACHE_CONTROL=no-cache
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_COOKIE=WebBBS+Master=nm%3A%3Amark% ... cademy.com%26wn%3A%3Ayes%26pw%3A%3A; Forum=tp%3A%3A%26tm%3A%3A%26m1%3A%3A%26v1%3A%3A1163303331%26m2%3A%3A%26v2%3A%3A1163303331%26ts%3A%3A1163305990%26uf%3A%3A; Forum+Admin=tp%3A%3A%26tm%3A%3A%26m1%3A%3A3%26v1%3A%3A1163305424%26m2%3A%3A3%26v2%3A%3A1163305424%26ts%3A%3A1163305727%26uf%3A%3A
REMOTE_ADDR=70.20.56.107
CONTENT_TYPE=multipart/form-data; boundary=---------------------------7d618f34c08c4
SERVER_PROTOCOL=HTTP/1.1
PATH=/usr/local/bin:/usr/bin:/bin
REQUEST_URI=/cgi-bin/tda2-soupermail.pl
GATEWAY_INTERFACE=CGI/1.1
SERVER_ADDR=64.72.112.136
DOCUMENT_ROOT=/home/www/terrydowsacademy.com
HTTP_HOST=www.terrydowsacademy.com
Soupermail variables:
serverRoot = /home/www/terrydowsacademy.com
privateRoot = /home/www/private
tempDir = /home/www/terrydowsacademy.com/tmp/
fhBug =
hasDbi = 1
mailhost = ws5.100ws.com
mailprog =
ps2pdf =
lout =

Data = http://www.terrydowsacademy.com/cgi-bin ... ig-tda.txt
Setting mail to use ws5.100ws.com
securityFilename (/home/www/terrydowsacademy.com/forms/config-tda.txt) @ 1163397053
Set configRoot to /home/www/terrydowsacademy.com/forms
grabFile (/home/www/terrydowsacademy.com/forms/config-tda.txt SCALAR(0x840c5d8)) @ 1163397053
file grabbed is 421 bytes
Reading config /home/www/terrydowsacademy.com/forms/config-tda.txt
setConfig (mimeon yes) @ 1163397053
setConfig (mailto webmaster@terrydowsacademy.com) @ 1163397053
checkEmail (webmaster@terrydowsacademy.com) @ 1163397053
setConfig (alphasort no) @ 1163397053
setConfig (required (StudentName || ParentName) && Email) @ 1163397053
securityName ((StudentName || ParentName) && Email 1) @ 1163397053
setConfig (isemail Email) @ 1163397053
setConfig (gotosuccess http://www.terrydowsacademy.com/forms/i ... uccess.htm) @ 1163397053
makeUrl (http://www.terrydowsacademy.com/forms/i ... uccess.htm) @ 1163397053
setConfig (gotofailure http://www.terrydowsacademy.com/forms/i ... ailure.htm) @ 1163397053
makeUrl (http://www.terrydowsacademy.com/forms/i ... ailure.htm) @ 1163397053
setConfig (subject Terry Dows Academy Inquiry) @ 1163397053
setConfig (htmlmailtemplate /forms/templates/tda_inquiry.htm) @ 1163397053
makePath (/forms/templates/tda_inquiry.htm) @ 1163397053
securityFilename (/home/www/terrydowsacademy.com/forms/templates/tda_inquiry.htm) @ 1163397053
setConfig (htmlsendertemplate /forms/templates/tda_response.htm) @ 1163397053
makePath (/forms/templates/tda_response.htm) @ 1163397053
securityFilename (/home/www/terrydowsacademy.com/forms/templates/tda_response.htm) @ 1163397053
Finished reading config /home/www/terrydowsacademy.com/forms/config-tda.txt
makeScratch () @ 1163397053
Evaluated template functions
Evaluated mail functions
formMissingRequired () @ 1163397053
Looking at condition StudentName
securityName (StudentName) @ 1163397053
Looking at condition ParentName
securityName (ParentName) @ 1163397053
Looking at condition Email
securityName (Email) @ 1163397053
Should eval condition (1 || 0 ) && 1
formIsBlank () @ 1163397053
translateFormat (REF:275859) @ 1163397053
subReplace () @ 1163397053
returnSuccess () @ 1163397053
returnHtml (http://www.terrydowsacademy.com/forms/i ... uccess.htm 0 <H1>Thank You</H1>Your information has been submitted
1 1 0 text/html) @ 1163397053
About to mailResults
mailResults () @ 1163397053
checkEmail (mark@homeseer.com) @ 1163397053
Should be sending a mail to the sender
grabFile (/home/www/terrydowsacademy.com/forms/templates/tda_response.htm SCALAR(0x8604090)) @ 1163397053
file grabbed is 2506 bytes
substOutput (SCALAR(0x8604090) 0 1) @ 1163397053
Making HTML sender email
MIME::Lite::SMTP>>> MIME::Lite::SMTP
MIME::Lite::SMTP>>> Net::SMTP(2.26)
MIME::Lite::SMTP>>> Net::Cmd(2.24)
MIME::Lite::SMTP>>> Exporter(5.58)
MIME::Lite::SMTP>>> IO::Socket::INET(1.27)
MIME::Lite::SMTP>>> IO::Socket(1.28)
MIME::Lite::SMTP>>> IO::Handle(1.24)
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 220 ws5.100ws.com ESMTP Exim 4.63 Mon, 13 Nov 2006 05:50:53 +0000
MIME::Lite::SMTP=GLOB(0x871c5ac)>>> EHLO localhost.localdomain
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250-ws5.100ws.com Hello localhost.localdomain [64.72.112.110]
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250-SIZE 52428800
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250-PIPELINING
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250-AUTH CRAM-MD5 PLAIN LOGIN
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250 HELP
MIME::Lite::SMTP=GLOB(0x871c5ac)>>> MAIL FROM:<webmaster@terrydowsacademy.com>
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 250 OK
MIME::Lite::SMTP=GLOB(0x871c5ac)>>> RCPT TO:<mark@homeseer.com>
MIME::Lite::SMTP=GLOB(0x871c5ac)<<< 550 relay not permitted
SMTP RCPT command failed:
relay not permitted


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011