LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2003, 04:29 AM   #1
lapthorn
Member
 
Registered: Jul 2003
Location: Reading
Distribution: Red Hat
Posts: 89

Rep: Reputation: 16
Sendmail configuration


Sendmail is driving me up the wall! I have set up pretty much the standard Red Hat 9 sendmail.cf file. I have removed the smart smtp filter as I will get get my server to send all mail directly. I also changed the LOCAL_DOMAIN parameter to be lapcon.co.uk which is my domain. My DNS records are correct.

At first I forgot to open up TCP port 25 which meant that when I sent emails from my work email I would eventually get them back saying that they had too many headers and that the possible cause was a loop.

I opened up port 25 on my firewall and started to receive the emails that I had sent. I had sent them from my work email and they all got rejected with a 550 relaying not allowed. The sender was external233.toyota.co.uk which is where I work.

I have googled for the answer but feel I am not understanding a major priniciple. I wouldn't want external233.toyota.co.uk to be able to relay through my SMTP as that would mean anyone could connect from there and send emails through my SMTP.

What does need to be able to relay 127.0.0.1, localhost, lapcon.co.uk??????

I am sure once I understand this it will be easy
 
Old 12-09-2003, 04:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Make sure you add your domain to the local-host-names file.
 
Old 12-09-2003, 08:13 PM   #3
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Re: Sendmail configuration

Quote:
Originally posted by lapthorn
Sendmail is driving me up the wall! I have set up pretty much the standard Red Hat 9 sendmail.cf file. I have removed the smart smtp filter as I will get get my server to send all mail directly. I also changed the LOCAL_DOMAIN parameter to be lapcon.co.uk which is my domain. My DNS records are correct.

At first I forgot to open up TCP port 25 which meant that when I sent emails from my work email I would eventually get them back saying that they had too many headers and that the possible cause was a loop.

I opened up port 25 on my firewall and started to receive the emails that I had sent. I had sent them from my work email and they all got rejected with a 550 relaying not allowed. The sender was external233.toyota.co.uk which is where I work.

I have googled for the answer but feel I am not understanding a major priniciple. I wouldn't want external233.toyota.co.uk to be able to relay through my SMTP as that would mean anyone could connect from there and send emails through my SMTP.

What does need to be able to relay 127.0.0.1, localhost, lapcon.co.uk??????


I am sure once I understand this it will be easy
basically, sendmail will relay localhost but you will need to add your domain name in access sile located in /etc/mail/access. SEndmail will checked the access file what domains need to relay.
 
  


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 Configuration - I need Help ukjairaj Linux - Networking 5 06-23-2005 12:26 PM
SendMail Configuration ChaChi Linux - Newbie 6 06-10-2004 04:00 PM
Sendmail Configuration arshad Red Hat 3 12-14-2003 12:11 AM
Sendmail Configuration svsalian Linux - Software 7 08-29-2003 04:17 AM
sendmail configuration pleavitt Linux - Software 1 03-18-2003 08:57 AM

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

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration