Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Nov 16, 2010 3:45 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
http://en.wikipedia.org/wiki/Greylist

Unrelated to your problems with gmail.


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 7:03 pm 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 5:45 am
Posts: 14
extra update: we are using Google Apps and have their mail servers set up like documented in their documentation.

Those are the only MX records. Might that be an issue?


Top
   
 Post subject:
PostPosted: Wed Nov 17, 2010 8:47 pm 
Offline
Senior Newbie

Joined: Sun Apr 25, 2010 1:12 am
Posts: 12
I don't believe so.

Mine are all google's too and it's fine


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 5:47 am 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 5:45 am
Posts: 14
EXTRA UPDATE:

how can we make sure that google doesn't see us as spam. I've read that gmail will get an email from @ourdomain.com and it will run an nslookup or something to see if we actually have a receiving MX server set up?

Can someone confirm this and give me the nslookup command that I can test with. I'm confused as nslookup on ourdomain.com gives the correct MX records, but mxrecord on WWW.ourdomain.com doesnt.

The hostname of the machine we are sending with is www.ourdomain.com

Is that something to be worried about?


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 11:27 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Here are three things that help:

1) You need to have a proper MX record setup, as you've noted
2) Your IP's reverse DNS that you're sending from should be the same as the domain you're sending mail for (as in, foo.com -> 1.2.3.4, and 1.2.3.4 -> foo.com)
3) You should set up your SPF records properly.


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 2:37 pm 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 5:45 am
Posts: 14
Guspaz wrote:
Here are three things that help:

1) You need to have a proper MX record setup, as you've noted
2) Your IP's reverse DNS that you're sending from should be the same as the domain you're sending mail for (as in, foo.com -> 1.2.3.4, and 1.2.3.4 -> foo.com)
3) You should set up your SPF records properly.


Thank you for helping out. Can you let me know how to correctly check these 3 factors?

1) I have MX records set up for google apps, just like they state in their documentation. I don't have an MX record for my own machine since I don't receive email on that IP. I do have an SPF record that mentions the google apps MX servers as valid senders

2) My email headers now say:
Received: from mail.ourdomain.com (www.ourdomain.com [x.x.x.X])

should I test RDNS for mail.ourdomain.com (this is the hostname) or for www.ourdomain.com ? How do I test this 100% correctly?

3) The SPF say "pass" in gmail email headers, is that OK?
Because the test on http://www.openspf.org/Why gives me the following:

The SPF check gives me this: An SPF-enabled mail server rejected a message that claimed an envelope sender address of support@ourdomain.com. An SPF-enabled mail server received a message from ourdomain.com (x.x.x.X) that claimed an envelope sender address of support@ourdomain.com. The domain ourdomain.com has authorized ourdomain.com (x.x.x.x) to send mail on its behalf, so the message should have been accepted. It is impossible for us to say why it was rejected


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 2:40 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
You don't need an MX for the hostname of the server, only for the domain of the email sender.

Reverse DNS only needs to match the hostname of the mailserver, not the domain you are sending from. There is no requirement that the domains of the server and the email sender must match.

If you really want help, you'll need to tell us your real domain. By providing imaginary details, you are just getting guesses as to what your problems may or may not be.

In my experience no matter how well you set up all these details, it is likely that some of the major providers will see any new mailserver as a spam source. Once you have been in operation for a while and enough users have clicked "Not Spam" or whatever, then maybe you will build up enough reputation to go straight into inboxes.


Top
   
 Post subject:
PostPosted: Thu Nov 18, 2010 3:07 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
jorre wrote:
2) My email headers now say:
Received: from mail.ourdomain.com (www.ourdomain.com [x.x.x.X])

should I test RDNS for mail.ourdomain.com (this is the hostname) or for www.ourdomain.com ? How do I test this 100% correctly?


Your mailserver is announcing itself (HELO) as mail.ourdomain.com, but RDNS says that your IP belongs to www.ourdomain.com. It really doesn't matter which name you use, but ideally you would have one consistent hostname for your mailserver.

Forward DNS: mail.example.com -> 1.2.3.4
Reverse DNS: 1.2.3.4 -> mail.example.com
HELO: mail.example.com

In postfix, you can set the HELO name by smtp_helo_name, (or better yet just properly set myhostname) in main.cf.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group