Web Hosting Talk







View Full Version : CPanel & OpenSRS Software


Vortech
07-02-2001, 12:09 PM
Trying to setup the OpenSRS software every thing seems to work great but the sendmail for some reason.. I am using OpenSRS test system to test every thing and it all works but will not send a e-mail have tryed SMTP and Sendmail.. ANy ideas would be great here is what it has for sending the mail in the opensrs.conf


################################################################
#### select type of mail delivery and adjust any necessary variables

#### 'sendmail' option is recommended for servers on UNIX based systems
#### if you do not have sendmail on your system, set $MAIL_TYPE to 'smtp'
$MAIL_TYPE = "sendmail"; # valid options: sendmail, smtp

#### define this if you set $MAIL_TYPE = 'sendmail'
$MAILPROG = '/usr/sbin/sendmail -t -oi -oem'; # path and args for sendmail
$MAILPROG = "cat >>mail.log"; #for test system

#### recommended option for servers on win32 platform
#### define these values if you set $MAIL_TYPE = 'smtp'
#$LOCALHOST = 'mail.domain.com;
#$SMTP_SERVER = 'mail.domain.com;;
#$SMTP_PORT = 25;
#################################################################


mail.domain.com = was really set to my domain just changed for the post..

Any help would be great..


p.s. Did test send mail with other programs and works great its just the opensrs software.. :(

ffeingol
07-02-2001, 12:45 PM
Originally posted by Vortech

snip
$MAILPROG = '/usr/sbin/sendmail -t -oi -oem'; # path and args for sendmail
$MAILPROG = "cat >>mail.log"; #for test system
snip


Vortech,

From this snip of code it looks like $MAILPROG is defined twice. It should take the second variable and stuff will end up in a file called mail.log (in the directory where this script is installed) not your mail program.

I think you need to comment out the second line (that's there for testing).

You'll also need to verify that your sendmail program is actually in /usr/sbin/. On a lot of Unix systems it is in /usr/lib

Frank

Vortech
07-02-2001, 12:58 PM
Never mind i got it working but thanks.. :)


Does any one know of some one to make opensrs's software work with authorize.net? So it could bill there card register the domain and off they go.. Kind of like 000domains.com so it can do real time domain buying.. :)

UmBillyCord
07-02-2001, 03:45 PM
Sorry, this is a stupid question. I have never used CPanel, so sorry.

Looking at this thread, it seems to imply CPanel will interface with the OpenSRS API. Is this true? Or does it just create a link to the OpenSRS management page?

Vortech
07-02-2001, 04:28 PM
No i was just taking more about RedHat with CPanel installed having problems sendiing mail.. Not sure about any of the API stuff.