LinuxQuestions.org
Review your favorite Linux distribution.
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 03-01-2004, 07:25 AM   #1
lapthorn
Member
 
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89

Rep: Reputation: 16
Question Sendmail again


I have problems setting up my Linux machine to be an email server. I am using Red Hat 9 and the sendmail 8.12 that cam with Redhat.

I have set up my DNS records so that my MX records get delivred to my statis IP address.

I have changed my Sendmail.mc file so it excepts smtp traffic from sources other than 127.0.0.1.

I have added my domain lapthornconsulting.co.uk to my access list and allowed it to relay. This prevented the 550 Relaying prohibited when sending myself email from another account.

I have added my local username name to have an alias james.lapthorn@lapthornconsulting.co.uk in the virtual user table.

When I now send am email to myself I get many logfile entries and eventually it errors saying too many hops. I am sending myself an email from my ISP and there is definetly no more that 25 hops.

Its as though the DNS forwards the email correctly to my mail server and then my mail server tries to forward again as it doesn't think it is for me. It gets back to my ISP where it get returned and the loop begins.

Can anybody please help me, have I forgot to do something while setting up my machine or is all domain information held within sendmail?
 
Old 03-02-2004, 12:01 PM   #2
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
After you added the new aliases did you run the command "newaliases"? If you didn't it doesn't know what to do with them.
 
  


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 ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 03:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 02:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 12:47 PM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 10:57 PM


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