Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > Help With SendMail Please !

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-17-2009   #1 (permalink)
Just Joined!
 
Join Date: Nov 2009
Posts: 2
Exclamation Help With SendMail Please !

Hi All,

I am quite new to linux.

Sendmail is working perfectly fine when sending to an email address that isnt associated within our company.

For example, an email to a gmail account, it sends fine, but when I test an email to a company email it is never sent.

It isn't getting trapped at the firewall, it doesn't make it that far.

I noticed two things in the maillog it referred to “DSN: Service unavailable” and “dsn=5.0.0, stat=Service unavailable” for the emails that aren't being sent.

Any help would be much appreciated!

Thanks,

Matt.
mattevansnz is offline  



Reply With Quote
Old 11-17-2009   #2 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,878
Things to check:

- Check that your domain name is set correctly for your mail server, if it's not then the server will not know what local addresses are. You can force your domain name in your sendmail config if you need to.

- Check that DNS is configured correctly for the server
- if it's using an external DNS server provided by your ISP, make sure that the MX record for your machine's domain points at your mailserver. It could be trying to send the mail using DNS information, which should point back to your server.
- if you've got a local DNS server, make sure the mail server box is using it (set in the network setting or through /etc/resolv.conf) and that the internal mail address is set to the right internal IP address.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:52 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1