LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-17-2007, 12:02 PM   #1
Greggor
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, webmaster@thegreggor.com, 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 root@gregroute.thegreggor.com, NOT root@thegreggor.com. This means that when the person tries to reply, it sends it to root@gregroute.thegreggor.com, 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 gregroute.thegreggor.com. I could also use telnet to send the e-mail manually from webmaster@thegreggor.com or root@thegreggor.com (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 user@host.domain.com rather than user@domain.com 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,

Greggor

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 12:03 PM.
 
Old 04-19-2007, 09:47 AM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

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

http://www.faqs.org/docs/linux_network/x15291.html

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.
 
  


Reply


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 02:31 AM
getting sendmail to work djgerbavore Linux - Newbie 7 05-26-2005 09:59 PM
Sendmail won't work at all? thrash.tux Linux - Software 1 04-27-2004 05:55 AM
Sendmail Does Not Work! edhan Linux - General 3 10-15-2003 11:08 PM
I really need help getting sendmail to work right. Please help! WorldBuilder Linux - Networking 28 05-15-2003 09:00 PM


All times are GMT -5. The time now is 02:53 AM.

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