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-19-2004, 11:54 PM   #1
AndrewMac
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Setting up Sendmail


Hi

I am new to sendmail so please bare with me. I have followed various threads on this forum and acted on advice but still no luck.

I have installed sendmail, pop3 and a dns server on the same test box called Jupiter@ABC.com.

I can telnet to port 25 and 110 and all apears Ok.
I have created an MX record in the DNS that points to my local server (all I did fpr this was to go into the GUI DNS and add an MX record for Jupiter).

I have created 2 local accounts called Andy and Bill at the domain abc.com.

When I run Mozilla I send mail to Andy@ABC.com all the mail is routed to the Root account. When I authenticate with the mail server as Andy@abc.com it tells me I have no new messages.

The mail logs shows their is a local configuration error and all mail is deposited in the root users account.

Jun 18 21:48:25 Jupiter sendmail[961]: i5IDmPH2000959: to=<andy@ABC.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30375, relay=ABC.com [192.168.0.1], dsn=5.3.5, stat=Local configuration error
Jun 18 21:48:25 Jupiter sendmail[961]: i5IDmPH2000959: i5IDmPH2000961: DSN: Local configuration error


Has anyone got any idea of what I have done wrong here.

Many thanks in advance
 
Old 06-20-2004, 12:06 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Did you set sendmail to accept all mail for the abc.com domain? You would put abc.com in /etc/mail/local-host-names.
 
Old 06-20-2004, 12:31 AM   #3
AndrewMac
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
local-host-names

many thanks for your respone - my local-host-names contains this

# local-host-names - include all aliases for your machine here.
jupiter
jupiter@abc.com

Is this correct ??
 
Old 06-20-2004, 01:15 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Not quite -- you want

jupiter.abc.com
abc.com

You need to give it the domains for which to accept mail, as above. I'm not even sure this is you're problem, but I've run into funny errors when this isn't set right, so it's worth a shot.
 
Old 06-20-2004, 01:32 AM   #5
AndrewMac
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I will give it a go

I appreciate the help and I will will certainly give it a go when I get back tonight and let you know tomorrow.

Thanks
Andy
 
  


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
Debian and setting up sendmail IRISH Debian 1 09-06-2005 01:32 PM
setting up sendmail dranobob Linux - Newbie 2 09-06-2005 09:34 AM
Setting up Sendmail ngwasuma Linux - Software 0 01-16-2005 05:35 AM
Setting up Sendmail shilo Slackware 3 04-26-2004 10:53 PM
Setting up sendmail maddskillz Linux - Newbie 6 10-31-2003 08:46 AM

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

All times are GMT -5. The time now is 06:24 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