LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Cant get emails (https://www.linuxquestions.org/questions/linux-server-73/cant-get-emails-651540/)

dellthinker 06-25-2008 08:04 AM

Cant get emails
 
Hi all. I've installs qmail on my home server and i cant seem to get any emails. When i try to send one from my yahoo account i get a delivery error. I've followed the instruction word for word on this site and everything seems to be working. The server is running but i cant get emails? Why? Can someone help me with this. Thanx in advance! Oh btw the port 25 is open on my router and nothing is blocking communications.

farslayer 06-25-2008 11:31 AM

Quote:

When i try to send one from my yahoo account i get a delivery error.
What is the exact error message ?

dellthinker 06-26-2008 11:50 AM

So i tried a test email from yahoo and got their mailer daemon response.


Code:

Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<quazar@digital-lords.net>:
208.109.80.149 does not like recipient.
Remote host said: 553 sorry, relaying denied from your location [209.191.125.63] (#5.7.1)
Giving up on 208.109.80.149.

--- Below this line is a copy of the message.

Return-Path: <intel_matt2000@yahoo.com>
Received: (qmail 36887 invoked by uid 60001); 26 Jun 2008 14:56:08 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID;
  b=uyZFfL+18B21GpvVlHUabu8LcFbpXXHARPcw3vuxt5Wx4/icnME9q8LW4eqmhZbtVZvnvwS2FHoaJ11XBKRrx2kd/TZ9pN91FliRcV1RQT2G2inRcUlOhRlPvPP7MVEP1P/BNL6eUkJNVK1qCARlmJej8zAeGWxEk08I1xPCZsg=;
Received: from [24.12.323.32] by web38602.mail.mud.yahoo.com via HTTP; Thu, 26 Jun 2008 07:56:08 PDT
X-Mailer: YahooMailRC/975.45 YahooMailWebService/0.7.199
Date: Thu, 26 Jun 2008 07:56:08 -0700 (PDT)
From: Matt <intel_matt2000@yahoo.com>
Subject: test
To: quazar@digital-lords.net
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <739091.35300.qm@web38602.mail.mud.yahoo.com>

test


So whats the problem on my end?

farslayer 06-26-2008 11:09 PM

Looks like the problem is your MX entry in DNS is not pointing at your home email server....
Code:

default@debianetch:~$ dig MX digital-lords.net

; <<>> DiG 9.3.4 <<>> MX digital-lords.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5058
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;digital-lords.net.            IN      MX

;; ANSWER SECTION:
digital-lords.net.      3600    IN      MX      0 smtp.secureserver.net.
digital-lords.net.      3600    IN      MX      10 mailstore1.secureserver.net.

;; AUTHORITY SECTION:
digital-lords.net.      3600    IN      NS      ns37.domaincontrol.com.
digital-lords.net.      3600    IN      NS      ns38.domaincontrol.com.

;; ADDITIONAL SECTION:
mailstore1.secureserver.net. 3050 IN    A      64.202.166.11

;; Query time: 380 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Jun 27 00:01:21 2008
;; MSG SIZE  rcvd: 167

default@debianetch:~$

default@debianetch:~$ dig -x  208.109.80.149

; <<>> DiG 9.3.4 <<>> -x 208.109.80.149
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1609
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;149.80.109.208.in-addr.arpa.  IN      PTR

;; ANSWER SECTION:
149.80.109.208.in-addr.arpa. 3600 IN    PTR    p3presmtp01-v01.prod.phx3.secureserver.net.

;; AUTHORITY SECTION:
80.109.208.in-addr.arpa. 1096  IN      NS      cns2.secureserver.net.
80.109.208.in-addr.arpa. 1096  IN      NS      cns1.secureserver.net.
80.109.208.in-addr.arpa. 1096  IN      NS      cns3.secureserver.net.

;; ADDITIONAL SECTION:
cns1.secureserver.net.  1053    IN      A      64.202.167.31
cns2.secureserver.net.  3101    IN      A      216.69.185.100
cns3.secureserver.net.  2059    IN      A      216.69.160.22

;; Query time: 103 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Jun 27 00:12:15 2008
;; MSG SIZE  rcvd: 206

so the email went to someone else's mail server and was rejected. (your registrar most likely)

secureserver.net appears to be wild west domains. Is that who you registered your domain name through ?


All times are GMT -5. The time now is 06:52 AM.