> -----Original Message----- > From: Kelly [mailto:[EMAIL PROTECTED] > Sent: Friday, April 22, 2005 10:50 AM > To: James Users List > Subject: RE: Using sendmail with JAMES > > > > -------- Original Message -------- > > Subject: Re: Using sendmail with JAMES > > From: [EMAIL PROTECTED] > > Date: Fri, April 22, 2005 10:43 am > > To: "'James Users List'" <[email protected]> > > > > > I am running Solaris 9 on an HP dual 2.8 processor box. I am > > > trying to play with JAMES to get it up and running. At the > > > same time I run sendmail on the box. I need to have sendmail > > > running at all times due to websites hosted on the box use it > > > for submitting messages. I do not need to have sendmail > > > monitoring port 25 while it is running. On the JAMES site it > > > does show how to stop sendmail from monitoring port 25. > > > The instructions there do not apply to my sendmail configuration. > > > Anyone else using sendmail with JAMES that can help me out? > > > > If you don't need to bind the SMTP port then simply don't start > > sendmail. Remove it from your /etc/rc.d or /etc/init.d > folder and you > > are done. > > > > Stefano > > Thanks > > I need sendmail running to be able to send email messages > from hosted sites via php code. > > Kelly
Kelly, You should be able to configure sendmail to only bind to "localhost" (127.0.0.1), while your james service(s) can bind to its own address(es). I do this on FreeBSD, keeping sendmail around only for the "out-of-the-box" expectations of the OS. It is the simple and lazy approach. Technically, you should not have to keep sendmail around for your php code. Your php code ought to be able to send mail via James as well as sendmail. But "how" depends on whether php is forking a system call to a sendmail command, or if it is opening an actual port to the MTA (which could be either James or sendmail, or other). -broc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
