Forum OpenACS Q&A: ns_sendmail error: 501 sender domain must exist
I'm trying to set up a site under AOLserver3, it's vaguely ACS-derived
(the site in which I did the very first bboard port). I'm moving it
from an old P200 to a nice new dual P450 box, and in the process going
from AOLserver2 to 3.
Everything's working great, I've switched to .tcl init files, blah
blah. But ... every attempt to ns_sendmail fails with the error
message in the title.
Strange thing is ... the message is actually sent! That's what's
bizarre. Obviously, I have mailhost configured correctly or else the
message wouldn't ever get to me. I have domain defined to my ISP in
Since I answer so many questions, by asking one I guess I'm just
"giving back to the community", eh?
All my AOLserver files had linux.usu.edu back then and I started getting these errors. I edited the AOLserver files to reflect fslc.usu.edu and it disappeared. Later the DNS entries for "linux.usu.edu" were added as well.
Do you have the "MailHost=" param right in your config file ? I am not 100% sure how ns_sendmail works. Doesn't it call your MTA ? If so, check if your MTA is well.
Hope this helps.
It was, of course, such a stupid configuration error that I figured it out as I was walking back from having my afternoon coffee at one of my local hangouts.
ns_sendmailis only talking to the MTA listening on port 25 (and not running a sendmail binary), does that mean I don't need to do anything else to keep
ns_sendmailhappy? I've linked all the sendmail directories as described in the qmail INSTALL pages.