Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having some issues with Sendmail on my Linux box... I have no problems at all sending mail to external domains, like aol, gmail, etc. but I'm having issues sending emails locally. I ran a sendmail -bv test and it tells me that the user is unknown... Any ideas on how to fix this? If you need more info feel free to ask. Thanks,
Just ran an NS lookup... Shows the server and address, but tells me "***Cant find mydomain.com: No answer"
The domain is in the /etc/mail/local-host-names file, yeah. I tried removing it and restarting Sendmail, but that didn't do much, so I reverted the file back to the way it was.
I would - it should have been recognised in /etc/mail/local-host-names, but it may be that sendmail wasn't configured to use that file. If that's the case, adding the name/IP address to /etc/hosts should fix it.
Alright, so after smashing my head off of the keyboard for a couple hours, I figured out the root of all problems... The nameserver we had listed in /etc/resolv.conf couldn't weren't working for whatever reason. So, I've switched them to a public DNS for now... Probably not the best solution, but it will do for now as we fix our nameserver... Thanks for the help though, Gil!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.