Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
04-21-2011, 05:15 AM
|
#1
|
Member
Registered: Apr 2011
Posts: 397
Rep:
|
squirrer mail- error while sending mail
while i send mail form squirrel mail it gives error.
ERROR:
Message not sent. Server replied:
Unknown response
511 sorry, can't find a valid MX for sender domain (#5.1.1 - chkuser)
what does it mean and how could i rectify.
|
|
|
04-21-2011, 07:11 AM
|
#2
|
Member
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176
Rep:
|
I think it means that you do not have a valid domain address (at least a domain that has a valid MX record) in the 'from' envelope of your email. Do you have a valid MX record (normally set either with your ISP or your domain registrar)?
|
|
|
04-21-2011, 07:31 AM
|
#3
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,256
|
When you connect to a mail handler to pass mail to it, you tell it who you are
Code:
MAIL FROM example.com
This system is checking that you are a valid mail handler by looking for an MX record.
If the sender domain is example.com, you can check with:
dig -t MX example.com
Many mail handlers won't accept mail from dynamic IP addresses or from domains that don't have a properly configured DNS.
|
|
|
04-21-2011, 09:02 AM
|
#4
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
thnks
i tried command
# dig -t MX mydom.co.in
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -t MX mydom.co.in
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27251
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mydom.co.in. IN MX
;; AUTHORITY SECTION:
mydom.co.in. 86400 IN SOA mydom.co.in.mydom.co.in. root.mydom.co.in.mydom.co.in. 42 10800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 172.16.13.82#53(172.16.13.82)
;; WHEN: Thu Apr 21 18:26:22 2011
;; MSG SIZE rcvd: 82
i think its show no error...is their is any ip problem.well iam in an organization and making another mail server in centos
did any one having idea what to do now
|
|
|
04-21-2011, 10:07 AM
|
#5
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,256
|
It does show an error. There is no ANSWER section (ANSWER: 0) Your domain has no MX record.
Last edited by smallpond; 04-21-2011 at 10:08 AM.
Reason: More correcter
|
|
|
04-21-2011, 10:46 AM
|
#6
|
Member
Registered: Apr 2011
Posts: 397
Original Poster
Rep:
|
thnks for replying
when i send mail form console mode i recived every mail.but not from squirrel mail.
so now what should i have todo for that.
where to write code for MX record and in which file....
|
|
|
04-21-2011, 01:08 PM
|
#7
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,256
|
Quote:
Originally Posted by centos123
thnks for replying
when i send mail form console mode i recived every mail.but not from squirrel mail.
so now what should i have todo for that.
where to write code for MX record and in which file....
|
If it works from the console then configure squirrel mail to send using the same sender domain as the console uses.
MX record is part of DNS. It would be added on the DNS server for the domain.
|
|
|
All times are GMT -5. The time now is 03:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|