Forum OpenACS Q&A: Re: Search and OpenFTS
ns_param mailhost smtp.yourcompany.com ;# SMTP host for ns_sendmailSo I replaced it with "sendmail" since that is the SMTP we are using.
ns_param mailhost sendmail;# SMTP host for ns_sendmailBut I am still getting some errors.
Sendmail is not your smtp host, it's the mail server program used _on_ your host. SMTP host means the address of your server, something like smtp.ourdomain.com. In most cases it's "localhost" if you're not using a different server for mail handling. Please try that and let us know if it works.
[2426.147467][-sched:8-] Error: ns_sendmail failed: could not connect to "localhost:25"I am doing the modification under the sample-config.tcl file found on the "/usr/local/aolserver/" folder. Is it the right file? What else should I do?
You can also try to connect to the mailserver from the commandline with something like this:
tils@tp:~$ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 tils.net ESMTPIf you don't get a response like the one above than most likely there is no mailserver running on that system.
I hope that makes at least a bit sense.
Regarding your error, do you have an MTA (like sendmail) listening to 25 on your box?
telnet localhost 25. If you get a connection(
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 localhost ESMTP) then you can try
HELOand it should answer
250 localhost. None of this has anything to do with OpenACS. If you can't get this far, then the problem is with the mail program, not OpenACS.