www.uburst.com www.uburst.com

"qmail"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"qmail"
Posted by brian on Jan-03-00 at 08:26 PM (EST)
I have recently converted to qmail from sendmail on my unix server. how do I change my cgi script to send order notification emails to me. item # 3 in the cgi script set up only gives the option for sendmail. Do i need a updated cgi script? Please help as I have people ordering and I am not recieving notification.

thanks
brian

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

qmail, charlie edmunds, Jan-04-00, (1)
did as suggested, brian, Jan-04-00, (2)
q-mail, charlie edmunds, Jan-04-00, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "qmail"
Posted by charlie edmunds on Jan-04-00 at 06:35 PM (EST)
Brian,

You may be able to get your mail to work via sockets now that ur host is not using sendmail:

No Email but the Order Files Are Successfully Being Written

If the order files are successfully being written to your orders directory - then the email problem may have to do with the sendmail configuration on your server. That is, on UNIX servers, uShop uses the standard UNIX mail utility "sendmail" to send the email notifications. If for some reason, sendmail is not sending any email (perhaps because it is not correctly mapping the email address with the DNS table), you can try using SOCKETS to send the email via your regular mail server.

That is, the only difference between setting the $server_os to "UNIX" or "NT" (question #2 at the top of the CGI script)- is how the script sends the email. For "UNIX", the script uses "sendmail". For "NT", the script uses SOCKETS. So if sendmail is not working on your UNIX server, then perhaps opening a socket to your mail server will work. To try this, you will have to open the ushop_cgiscript with any text editor (such as WordPad or NotePad) and make the following changes:


At the top of the script, set question #2 to:

$server_os = "NT";


Set question #4 to your mail server's IP address, something like:

$smtp_address = "123.456.789.0";


Adjust Question #5 accordingly. You may have to play with these settings, but usually just uncommenting the first three lines and commenting out the second two lines will work for UNIX servers. That is set #5 to:

use Socket;
$AF_INET = AF_INET;
$SOCK_STREAM = SOCK_STREAM;

#$AF_INET = 2; # Comment out these lines with a # sign.
#$SOCK_STREAM = 1;


Charlie Edmunds
Microburst Technologies, Inc

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "did as suggested"
Posted by brian on Jan-04-00 at 07:56 PM (EST)
Thanks for your reply, I did as you suggested, and I still did not recieve order confirmation, or customer reciept. could I have a problem with my mail server, or just wrong settings in ushop script? When I change sockets around I get error, can't create socket.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "q-mail"
Posted by charlie edmunds on Jan-04-00 at 09:29 PM (EST)
Brian,

The other thing to try is to ask your host if what the path is to qmail and use that in item # 3 (if it is different than sendmail). If that doesn't work, I'm going to have to research qmail because I don't have any experience with it. We have about 1300 installed copies of uShop and I think we are just about 100 percent successful with unix installations so hopefully we'll get yours setup too.

Charlie Edmunds
Microburst Technologies

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.