Sending mail works and receiving mail fails....

I followed the guide in http://library.linode.com/email/postfix … 0.04-lucid">http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid

OS: ubuntu 10.04, Postfix, Dovecot and MySQL

I use foxmail as client software. I can send mail successfully. For example, I can send mail to gmail and gmail can receive this mail. However, I can not receive mail…. Username and password are right. Foxmail shows that it can receive mail but no new mails… I have sent several mails to this mail and there should be some new mails…

I checked the log of /home/vmail/dovecot-deliver.log:

2013-04-21 09:40:31 deliver(user001@newweb.com): Info: msgid=<002301ce3e95$c38b0440$4aa10cc0$@gmail.com>: saved mail to INBOX

Can anyone give me some suggestions? Any help would be appreciated!!!!

Thanks a lot!

4 Replies

Your DNS appears to be screwed up - an MX record exists, but contains nothing. When you try to send mail from outside (e.g., Gmail) to newweb.com are you getting a bounce message?

$ dig -t mx newweb.com

; <<>> DiG 9.3.2 <<>> -t mx newweb.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43231
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;newweb.com.                    IN      MX

;; ANSWER SECTION:
newweb.com.             300     IN      MX      0 .

;; Query time: 278 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Sun Apr 21 23:13:20 2013
;; MSG SIZE  rcvd: 44

Hello, thanks for you advice. I Typed a wrong domain. My domain is newworldpub.com and mail.newworldpub.com……

@Vance:

Your DNS appears to be screwed up - an MX record exists, but contains nothing. When you try to send mail from outside (e.g., Gmail) to newweb.com are you getting a bounce message?

$ dig -t mx newweb.com

; <<>> DiG 9.3.2 <<>> -t mx newweb.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43231
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;newweb.com.                    IN      MX

;; ANSWER SECTION:
newweb.com.             300     IN      MX      0 .

;; Query time: 278 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Sun Apr 21 23:13:20 2013
;; MSG SIZE  rcvd: 44

I sent a mail to editor@newworldpub.com for gmail. I don't get a bounce message.

@Vance:

Your DNS appears to be screwed up - an MX record exists, but contains nothing. When you try to send mail from outside (e.g., Gmail) to newweb.com are you getting a bounce message?

$ dig -t mx newweb.com

; <<>> DiG 9.3.2 <<>> -t mx newweb.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43231
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;newweb.com.                    IN      MX

;; ANSWER SECTION:
newweb.com.             300     IN      MX      0 .

;; Query time: 278 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Sun Apr 21 23:13:20 2013
;; MSG SIZE  rcvd: 44

@keanuhrb:

I sent a mail to editor@newworldpub.com for gmail. I don't get a bounce message.

Gmail may have it queued to retry.

Neither mail.newworldpub.com nor newworldpub.com are accepting external connections on port 25.

Check that you have Postfix listening on your public IP (and not just the loopback - 127.0.0.1).

[me@vps] netstat -ltn

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct