Configure Send Mail (MX, TXT?)

  • Posted August 7, 2013

Hi, I’ve read this document: and I’ve done everything as same.

But now, I should, configure DNS options? this is my dns page:

what should I do now? (for my sending mail not to go spam)

Think that my IP address is : and please, tell me step by step to make perfect send mail. (I’ve tried to make it with gmail mx, but when I did this, my mails have gone to spam)

I need your help and please, explain with an example


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is a slight digression but, it turns out that my problem was using my client’s domain name for hostname. When I changed it to one of my proven personal domains, it worked great. I assume that they have an SPF or something. In any case, if your mail.log says the messages was accepted, try changing the hostname.

Take a look at the articles Pablo linked above. Setting up an SPF record should help prevent your emails from going straight to the spambox.

yeah i received but it has gone to the “spam mail” box.

Try running this command: <br> <br><pre>echo test | mail -s “test”</pre>. Do you receive the email?

Start by creating SPF records pursuant to: <a href=“”>How to use an SPF Record to Prevent Spoofing & Improve E-mail Reliability</a> or <a href=“”>How to Create a SPF Record For Your Domain with Google Apps</a>.

edit: hmmm. <br> <br>my server has 4 virtual servers. and one of them connected with ip address. and others, with domain. <br>for example when I connect the IP address www/main/ gets my screen. <br> <br>when i type www/xxx/ directory gets to my screen. <br> <br>and, when i type www/main/ directory opens again? <br>I think problem is this, but how can I solve this prob?