Sending mail works and receiving mail fails....
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(
Can anyone give me some suggestions? Any help would be appreciated!!!!
Thanks a lot!
4 Replies
$ 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
@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
@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