LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-14-2007, 08:01 PM   #1
redhat_vishipel
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
SMTP - help me!!!!


who can help me to solve that problem... When I finished to install MailServer on CentOS 5 using Qmailtoaster but I can't send mail. That alway measage to me error: "Server replied: 511 sorry, can't find a valid MX for sender domain (#5.1.1 - chkuser)"... I don't know how to solve that problem so need to help of everybody...
Best regard!!!
 
Old 11-15-2007, 01:35 AM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
Hi,

You are lucky somebody takes the time to answer your question ... HELP ME!!! is not really what I call an appealing subject, I usually stay clear of them. But I know SMTP can be hard, so I feel pitty, which is not really a good start.

Anyway, your error message says it all:

You do not have an MX record for your domain. That means you have a domain, but you need to set up an MX (Mail eXchanger) DNS record for your domain. so, you should go to your registrar's website and add an MX record there for your domain, point it to the IP Address of your SMTP server. Then see what the other server says ...

Last edited by thecarpy; 11-15-2007 at 01:37 AM.
 
Old 11-15-2007, 02:53 AM   #3
arindam.lahiri
LQ Newbie
 
Registered: Aug 2004
Location: Allahabad, Uttar Pradesh, India.
Distribution: Fedora Core and Red Hat Linux
Posts: 15

Rep: Reputation: 0
I agree with thecarpy. You can temporary check whether your mail server is working by using ipaddress directly in outlook/evolution/thunderbird in place of domain/mail server name or edit hosts file to point to the mail server ip address.
 
Old 11-15-2007, 03:06 AM   #4
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
We know his SMTP server is working, because the recipients mail server is receiving the email and checking if the the From address is valid, to avoid SPAM. So the mail server attempts to check if his SMTP server knows of a user with your email address, if this fails, the email is dropped - SPAM is suspected. Here, the recipients mail server is looking up his domain, asking for the IP Address of his mail server (MX record), however, the DNS server for his domain sends back nothing or an illegal reply. I guess he does not have an MX record for this domain, or the IP address it contains is wrong. Please check the MX record!

This is a message from the recipients mail server:
"Server replied: 511 sorry, can't find a valid MX for sender domain (#5.1.1 - chkuser)".

Last edited by thecarpy; 11-15-2007 at 03:09 AM.
 
Old 11-16-2007, 11:31 PM   #5
muralee29477
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
For your problem

FIrst configure your DNS record

First a MX Record
Second an A record
Third Most important one creat a PTR record

You can ask your ISP to the above

The above 3 will solve your problem permanenttly

Good Luck
 
Old 11-18-2007, 04:39 AM   #6
redhat_vishipel
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by muralee29477 View Post
For your problem

FIrst configure your DNS record

First a MX Record
Second an A record
Third Most important one creat a PTR record

You can ask your ISP to the above

The above 3 will solve your problem permanenttly

Good Luck
Thanks for your answer... but I don't know how to do that.. I'm a beginer, i only want to create a MailServer to test in LAN..Could you guide to me details? Thanks
 
Old 11-18-2007, 11:23 PM   #7
muralee29477
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
Hi

As a beginner you can use the article on linuxhomenetworking.com
It covers on sendmail and DNS related configuration

Good Luck
 
  


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
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
Postfis SMTP forwarding and Incoming SMTP pheasand Linux - Software 0 04-27-2005 05:32 PM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 03:49 AM
Smtp glalu Linux - Networking 1 06-24-2002 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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