Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an Ubuntu12.04 server running on Amazon AWS, and have a domain purchased from godaddy.com I have setup a mail server with Postfix and Dovecot. I am able to recieve most mails from senders. But some users are not able send mails to my domain. Almost all of these users who are not able to send mails are users with username@gmail.com accounts. However, many other Gmail users are able to send mails, including me. Also, when a sender is not able to send the mail, he/she doesn't recieve a bounce and nothing is logged in mail.log for that email address

I am really lost as to what the problem may be. My guess is that the domain name is not configured properly. I have pointed MX and CNAME to @. @ is pointing to my server IP address.

share|improve this question

closed as not a real question by Ward, mdpc, Wesley, Scott Pack, freiheit May 28 '13 at 3:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Madhavan, I very strongly recommend that you be specific in your question; give the domain name, give an example of a bounce received by a gmail user, that sort of thing. Although some people love to redact identifiable information in these questions, I urge you not to do that. We are much more likely to be able to shed light on a question like 'why does serverxyz.amazonaws.com generate a "45x MX points to myself" error when receiving email from foo@gmail.com?' than we are on one such as 'my mail doesn't go through, why not?'. –  MadHatter May 26 '13 at 9:16
    
The domain is slimpotato.com The problem is the users donot get any bounce back, but their mails dont reach the server either. –  Madhavan May 26 '13 at 9:28
    
Also my aws domain is ec2-54-214-143-226.us-west-2.compute.amazonaws.com, when a mail is sent to user@ec2-54-214-143-226.us-west-2.compute.amazonaws.com : the mail is recieved. but a mail sent to slimpotato.com, which points to the same IP, fails –  Madhavan May 26 '13 at 9:37
    
It is very unusual for a mail simply to be dropped on the floor, particularly from someone like google. Have you looked at your mail logs when a test is sent from gmail, to make sure that you're not receiving it? –  MadHatter May 26 '13 at 10:06
    
I just tried sending an email by telnet'ing directly to your server. The mail is addressed to postmaster and I got the response 250 2.0.0 Ok: queued as 0750D23683. Could you check your mailserver logs and see if there's anything weird going on there? –  Jenny D May 26 '13 at 10:29

1 Answer 1

You may believe that your MX record is correctly defined, but from where I sit, it looks odd:

[me@risby]$ dig mx slimpotato.com
[...]
;; QUESTION SECTION:
;slimpotato.com.            IN  MX

;; ANSWER SECTION:
slimpotato.com.     3498    IN  MX  10 slimpotato.com.
slimpotato.com.     3498    IN  MX  0 slimpotato.com.

I confess that I'm not sure what effect listing the same server twice, with different weights, will have, and I can't yet find anything in RFC 974 to clarify the question. It is certainly ineffective, and you should probably remove the lower-weight record (the one with preference 10).

Secondly, as I said in a comment above, why are you certain that the mail isn't being delivered to you; have you got server logs when a test email is sent from gmail?

share|improve this answer
    
yes, the mail is not getting logged on mail.log. I have posted a very late bounce from gmail which i have added as a comment above. –  Madhavan May 26 '13 at 17:23
    
I also removed the MX record as you said, but the problem remains. –  Madhavan May 26 '13 at 17:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.