LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-01-2002, 11:00 PM   #1
terek
Member
 
Registered: Jun 2002
Location: Utah
Distribution: Fedora 5
Posts: 32

Rep: Reputation: 15
sendmail domain name problem


Ok I have "fixed" this problem but did it in a bad way in my opinion.

When I send test emails to myself from other emails outside of my server, they come to my server stay in my mqueue file
with the message:

(host map: lookup (mydomain.com): defered)
<myuser@mydomain.com>
underneath the queue id number date of transmission and sender.

I fixed this problem with a hodgepodge way by editing the /etc/mail/virtusertable and putting in there:
myuser@mydomain.com myuser

and the queue emptied into myuser's mailbox after doing a makemap hash on my virtusertable

This makes it so the other users on my server still have the same problem and I would have to type in every single one whenever I add new users to my server. While this is definately feasible it seems to be a hokey way of fixing the problem.

This is the only domain name I am using for my server but I don't know what to change to get sendmail to just accept this as my domain name and not leave it in the queue indefinately.

I have spent many hours looking at mail help pages at redhat.com linux.com sendmail.org. Guess I am not very good at searching the HOWTOS. I also searched this forum in the newbies section for all references to sendmail and looked at a few that might help me.

in my sendmail.cf I have:
Dj$w.mydomain.com

Anyone know how to fix this problem in a better method? Also anyone know any good sendmail help books I could read that are more geared towards people completely new to linux and sendmail both? I saw one mentioned a few times in the other posts but don't know if it is at my level of reading.

Thanks everyone for your help.
 
Old 06-15-2002, 01:04 PM   #2
terek
Member
 
Registered: Jun 2002
Location: Utah
Distribution: Fedora 5
Posts: 32

Original Poster
Rep: Reputation: 15
Ok I have figured it out. Been reading up a bunch of stuff bought Sendmail Theory and Practice read most of it (going to get the bat book when the next version comes out.) What I needed to do was add my host name into /etc/hosts. I don't know for sure if I would recommend Sendmail Theory and Practice to someone who doesn't want to do alot of reading, but it really has helped me understand email in general better and sendmail.
 
Old 06-15-2002, 06:00 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
yech. books... better to refer to online sites in forums so you can share the knowledge.

though sometimes it's not possible, i know. but there are people out there (myself) that don't like to or can't afford to by books. :-)
 
Old 06-16-2002, 02:32 PM   #4
terek
Member
 
Registered: Jun 2002
Location: Utah
Distribution: Fedora 5
Posts: 32

Original Poster
Rep: Reputation: 15
Had to resort to books... I searched many questionaire sites, then posted here, got no response for around a week (I don't know how long a response if any is comming is supposed to come.)

I posted my solution in case it might help someone else.
 
  


Reply



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 sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 04:32 PM
HELP! Sendmail Config for xxx.domain.com where xxx is not domain, but want act like 1 rld1025 Linux - Newbie 2 09-11-2003 07:53 AM
sendmail domain problem slack66 Linux - General 1 08-17-2003 04:10 PM
domain problem in sendmail klintonray Linux - Software 1 07-28-2003 12:31 AM
Sendmail host/domain problem. Tarantismic Yak Linux - General 2 05-08-2001 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

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
Open Source Consulting | Domain Registration