View Full Version : sendmail problem with cgi script
I have had a classic discussion with Powweb support guys about the use of CGI-scripts and sendmail. Tehey usually start with we do not support.. bla..bla..bla.
What is my problem: I use a cgi-script that sends separate emails (an opt-in newsletter) to my subscribers who are registered in a classic Unix database (pretty fast).
Everything works fine, up to the sending of the first 100 emails?
Than the rest of the hundred emails, will never arrive at recipinets address.
Since I reported this incident to Powwenb support, I get all kinds of explanations (read excuses) ranging from:
1. we do not support this script
2) you can only address 100 recipients at one go (which I am not)
3) we have 13000 clients who have not problem
On my questions I have:
1) Is there a limit in sending emails in a batch, one after another
2) Is there a time limit on your mailserver or crontab or limits on sendmail that may cause this problem
i get no answer at all.
Support at Powweb seems not be helping their clients with a simple problem.
Questions to other Powweb users:
Does anyone use autoresponse plus at Powweb for the purpose of sending mail to their opt-in lists.? This very frustrating, and I am thinking of leaving Powweb, bceause of the poor support they give.
Does anyone noticed the same problem, as I have that only the first 100 email arrive?
With over 13000 customers, I can understand they cannot give free support on every script especially with the low rates they use.
I find it misleading that they mention mailinglists in their adds which are in fact just aliasses from an email-address.
I think their support is great and when you have a problem with a third party programm they go in to it when you are willing to pay for that service.
I sell computers with MS Windows on it, but you cannot held me responsibility for the bugs which are in Windows and I am not going to fix those for free.
So, if you have problems with sendmail, you should go to www.sendmail.org first and not to powweb.
They shoulkd not complain about having 13000 customers. I do not want support for the script. It is working. At least the first 100 email from ovver 350 arrive.
This means that there is probably another problem with sendmail.
The support guys from powweb suggested that there was a limit that could be removed by powweb admin, if so requested. I did, but then the saga starts all over again...
Frankly, I am fedup with this kind of customer friendliness.
1-10-02, 09:27 PM
Additionally, like most hosts, Powweb requires 'user authentication' when using their SMTP servers. What this means is that before it will send it has to verify your account by checking for mail. This can only be done by using a mail 'client' like Outlook that checks your email before sending.
Sendmail is a Unix based alternative to SMTP and works fine for every script that I've used with it on Powweb's servers.
If you are using a script that sends your opt-in email list that also employs the use of Cron jobs then i'd begin looking there first. If no Cron is used, then there may be a setting in your script that allocates how many emails go at one time. Try increasing it to 200 and see if they all go out.
Out of curiousity's sake, what script are you using?
I am using autoresonse plus, just another perl script. But as I said, the first 100 were send normally. It could be cron job error or something like it.
Starr just send me an email , that he his looking into the problem, and asked for specific information, about the time I send the emails. I will give it to him tonight, so hopefully we can find the problem.
Thanks for responing
1-10-02, 10:50 PM
My pleasure. Also, i'm interested in the outcome because i'm setting up Autoresponse Pro for a client right now. I'd like to know how you set up your Cron job etc.
Keep me posted, please :)
Starr send me the following information:
"Your mail file is still getting the crontab output, which looks to me
like its CGI output. This may mean it should be run from the web.
Running it from cron may have unexpected results as the cron environment is very different from the CGI/Apache Environment."
I follwed-up his advice, added myself as a last member to the list and run the program from my browser.
It worked. I received the email, plus all hundreds of other members to my opt-in list.
1-26-02, 10:17 PM
Great! I've got it set up for a client also.
FYI, there's a great thread on the use of Cron in this forum that has a lot of great answers.
1-26-02, 11:12 PM
From the FAQS:
I have a mailing list, how many emails can I send out?
You can send out up to 1000 emails within a 24 hours period. We find it necessary to implement this limit to enhance the overall performance of our mail server.
Mind you, I always thought it was 100!?
I am still not sure why the cron task does not properly send the emails from my opt-in list in autoresponse plus.
The matter wht Powweb has said before Autoresponse plus works normally from the browser.
There must be a limit on the crontask set.
So, I am now going to test with a little perl script when the cron task will time out.
I will keep you all posted.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.