Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-17-2007, 11:02 AM   #1
LQ Newbie
Registered: Nov 2005
Location: Pennsylvania, US
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Problems getting sendmail to work how I want it to

So I just finished installing/configuring sendmail a few days ago, and for some reason, I still can't get it to do what I want.

What's Right:

When a user sends an e-mail to my account,, I receive it perfectly, and can then read it in Mutt.

When I send an e-mail to an address, it is received intact as well.

What's Wrong:

When the e-mail reaches its destination, it is marked as coming from, NOT This means that when the person tries to reply, it sends it to, and thus the e-mail request is denied due to unknown domain. I know there are several work-arounds for this. I could just set up a subdomain called I could also use telnet to send the e-mail manually from or (both of these methods worked when I tried them). But the point is that I want to be able to send out of a normal e-mail client without having to hassle around with these issues. What makes sendmail default to rather than and how do I stop it?

The other issue is that, try as I may, I cannot send e-mails from another box, even one on my LAN. It said something about relaying denied, I think. I don't remember the exact error, but I'll post it up when I get home. POP3 has not yet been set up on the box hosting sendmail, but I'll get that up and running later. I was using thunderbird on a Windows XP Pro computer.

Also, one more thing that's kind of bothersome but not really critical is that when someone sends a message to webmaster, it automatically reaches root's mailbox. Furthermore, when I try to open up Mutt on webmaster's account, it says that "/home/webmaster/.maildir mailbox does not exist". It would be nice if root and webmaster had separate mail accounts so that I don't have to log root in everytime to check my mail.

Finally, if anyone has any insight into MTA operation, would it honestly be better for a newer linux user to adopt a simpler MTA like Qmail than bother with Sendmail? Or would it be more of a hassle to reconfigure everything and get used to it?

Any help would be appreciated. If you need any extra information that I haven't provided, please ask.

Thanks in advance,


EDIT: Ah, I should mention before I get flamed that I did try googling it, searching the (imo) poor sendmail documentation, and checking the man pages for solutions to all of these problems... I found, unfortunately, that I couldn't find what I was looking for. Either I just don't know what to search or no one has run into a similar problem :\

Last edited by Greggor; 04-17-2007 at 11:03 AM.
Old 04-19-2007, 08:47 AM   #2
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
Have a look at this link.

You have to have sendmail listen on an address other than localhost to have it accept from other places, read the config its in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail does not work with cron random_acts Linux - Software 9 07-21-2015 01:31 AM
getting sendmail to work djgerbavore Linux - Newbie 7 05-26-2005 08:59 PM
Sendmail won't work at all? thrash.tux Linux - Software 1 04-27-2004 04:55 AM
Sendmail Does Not Work! edhan Linux - General 3 10-15-2003 10:08 PM
I really need help getting sendmail to work right. Please help! WorldBuilder Linux - Networking 28 05-15-2003 08:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration