LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2006, 02:31 PM   #1
RJDavison
Member
 
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
Sendmail Configuration


I'm Redhat EL 3 with 1 domain name - www.4300.co.uk.

My server has the domain name as.4300.co.uk

I'm trying to set up the machine to send email via sendmail. I know some of you may advise me to switch to another MTA, but for whatever reason I want to use sendmail.

I've set up masquerading so that the email shows that its come from @4300.co.uk and not @as.4300.co.uk

I can send mail out no problem, but the server wont accept incomming mails.

I can send mail to another user on the box, provided the email address is 'user'@as.4300.co.uk. If I use 'user'@4300.co.uk, the email just gets held up at the main que with the message.....83.*.*.52 (IP of server) not reachable.

Can anyone guide me in the right direction please.
 
Old 02-12-2006, 04:17 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Sounds like your DNS server can't resolve the domain. Does adding the domain name to /etc/hosts help?
Code:
127.0.0.1     4300.co.uk
Depending on your setup you may need to add the domain to /etc/mail/local-host-names as well (and include support for that in your sendmail.cf file).
 
Old 02-12-2006, 05:08 PM   #3
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
You may also need to make sure that Sendmail is configured to relay mail for your domain. This is done by putting the domain in the /etc/mail/relay-domains.
 
Old 02-13-2006, 03:46 AM   #4
RJDavison
Member
 
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks for the replies, through another thread i've found that I didnt have the following uncommented..

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

I've uncommented this and am now getting the following error.....


----- The following addresses had permanent fatal errors -----
<robert@4300.co.uk>
(reason: 553 5.3.5 system config error)

----- Transcript of session follows -----
553 5.3.5 83.67.67.52. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error

I know my MX details are all correct, so where could the problem be ?
 
Old 02-13-2006, 05:38 AM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have a look at the sendmail FAQ at http://www.sendmail.org/faq/section4.html#4.5 - this is a reasonably common problem. It's also possibly a DNS problem according to http://www.experts-exchange.com/Netw..._21648629.html, but it's worth ruling out the config issue first.
 
  


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
HELP ... configuration on sendmail akamaru607 Linux - Newbie 1 08-25-2005 02:19 AM
Sendmail Configuration turishi007 Linux - Software 1 12-16-2004 12:51 PM
Sendmail configuration uncre8tv Linux - Networking 1 11-16-2004 10:57 PM
Sendmail configuration MichaelING AIX 0 07-02-2004 04:23 AM
sendmail configuration pleavitt Linux - Software 1 03-18-2003 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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