Operating System - HP-UX
1824994 Members
2164 Online
109678 Solutions
New Discussion юеВ

A question about formmail.cgi and sendmail

 
Hanry Zhou
Super Advisor

A question about formmail.cgi and sendmail

We have a formmail.cgi script running on one Linux server, and then we migrated the website over to another linux server without making any changes to the script.

There is a form running on the website, and customer can enter their infor. When the website was on previous server, customers could enter nothing in "email" field, and the message still could be sent out to a specified email address.

HOwever, it is not the case now after we moved the website on the new linux. Now they have to type something in "email" field, otherwise, the form will never delivered into the sepcified email address.

I know, I can make a few changes in formmail.cgi script, and send out the form even though nothing being entered in "email" field.

But, my question, what could be the reason to cause the email undelivable if they did not enter anything in the email field. It most likely be the difference configuration on sendmail, but what exactly is it?

Thanks,
Roger
none
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: A question about formmail.cgi and sendmail

Simplify the problem: can the new server send any mail at all? What does mailq report? How about the maillog? Most sites require using an in-house mail server as a relay - in /etc/mail/sendmail.cf, that's the DS option.


Bill Hassell, sysadmin
Hanry Zhou
Super Advisor

Re: A question about formmail.cgi and sendmail



mails could be sent out, and sendmail seems working with this regard. The problem is that the customer has to fill something in the email field that is handled by formmail.cgi, otehrwise, the form won't be sent out by Sendmail. It was not working like this before when the website was hosted on another server.

I don't have the priviledge to check out the hosting server.
none