If you use James you should configure sendmail to use the local james as its gateway (smart-host). You don't even need sendmail queue job because there will not be mails in the queue. You said that you need sendmail for your php applications: php will use only the "mail" command (or smmsp).
Look for example here: http://james.apache.org/james_and_sendmail.html You solution will still deliver mail produced by the system (and php) using sendmail and not james. This could even create unwanted behaviour when sending mail to local (james) domain from local (system/php) processes via sendmail. Sendmail will probably complain because the MX record point to itself and the domain is not in its cw list. Stefano > Removing "/etc/rc3.d/s88sendmail" would prevent sendmail from > starting entirely. That is not what I was trying to > accomplish. If Sendmail were not running the box would not > send messages. Sendmail 8.12 runs with two separate > instances. One sends messages from the > system.(smmsp) It is started with "/usr/lib/sendmail -Ac > -q15m". The other instance is for binding to port 25 for > incoming mail.(smtp) it is started with "/usr/lib/sendmail > -bd -q15m". It is the second instance I was trying to > disable. This is new with sendmail 8.12. > > Kelly > > > -------- Original Message -------- > > Subject: Re: SOLVED: Using sendmail with JAMES > > From: [EMAIL PROTECTED] > > Date: Mon, April 25, 2005 10:40 am > > To: "'James Users List'" <[email protected]> > > > > > Making the following change in the /etc/rc3.d/s88sendmail file > > > prevents sendmail from binding to port 25. > > > > > > #MODE="-bd" > > > MODE="" > > > > This prevent sendmail from running in background as a daemon, so it > > does nothing. > > You could even remove the "/etc/rc3.d/s88sendmail", as I > said you before. > > > > Stefano > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
