4

I configured my own mail server using sendmail for our application . Mail server is used to send automated mails when a user registers at our site . I was able to implement this successfully, but users who are registering using gmail account , automated mail message for registration are being marked as spam. This is not a issue for yahoo users.

Following can be seen in message header of the mail marked as spam.

Received-SPF: neutral (google.com: 103.x.x.x is neither permitted nor denied by best guess record for domain of Admin@validdomain.com) client-ip=103.x.x.x;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 103.x.x.x is neither permitted nor denied by best guess record for domain of Admin@validdomain.com) smtp.mail=Admin@validdomain.com
Received: from www.validdomain.com ([192.168.x.x])

Kindly suggest how to resolve the issue . The application just went live and it is critical for us to resolve the issue.

  • Note that if you are sending large amounts of e-mail, particularly in large batches (like for example newsletters), it's usually better to outsource that to some provider which specializes in such tasks. They know how to set things up so that the messages don't get treated as spam unnecessarily. – a CVn Jul 2 '13 at 7:47
7

You're sending email to gmail accounts from this address:

Admin@validdomain.com

The domain "validdomain.com" you're sending from does not have an SPF record setup for it. You have 1 of 2 options:

  1. Change the server's mailer so that its outgoing mail uses a domain that is allowed
  2. Set up an SPF record for validdomain.com

You can use this tool to see what domains are allowed to send email for your domain.

Here's a tutorial on how to setup a SPF record. SPF records are just DNS TXT records that contains rules saying which hosts are allowed to send email for a given domain.

  • The mail server I am using in this case does not have a registered domain name. If i configure the mail server in a different host which has a registered domain name but without having a SPF record , will it work for me i.e will it bypass the spam filter rules. – Zama Ques Jul 2 '13 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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