Confused about some settings

Webfoundry

Verified User
Joined
May 23, 2014
Messages
51
Location
Leuven, Belgium
Hi All,

A few friends of mine (with gmail accounts) told me all my mails get send to their spam folders, even after confirming in settings my mail is not spam.
So I started wondering if my DNS settings were set up ok... even though perhaps the problem lies elsewhere. But this is my starting point.

Looking at http://www.intodns.com/webfoundry-hosting.be it seems some settings might be wrong.
2 weeks ago I already added a PTR record, wich wasn't there before.

I'm hosted at linode.com

In LINODE DNS Manager these are the settings :

Code:
SOA Record
Primary DNS	Email			Default TTL	Refresh Rate	Retry Rate	Expire Time
ns1.linode.com	[email protected]	Default		Default		3600 (1h)	Default

NS Records
Name Server			Subdomain			TTL
ns1.linode.com			webfoundry-hosting.be	Default
ns2.linode.com			webfoundry-hosting.be	Default
ns3.linode.com			webfoundry-hosting.be	Default
ns4.linode.com			webfoundry-hosting.be	Default
ns5.linode.com			webfoundry-hosting.be	Default
ns1.webfoundry-hosting.be	webfoundry-hosting.be	Default
ns2.webfoundry-hosting.be	webfoundry-hosting.be	Default

MX Records
Mail Server			Preference	Subdomain	TTL
mail.webfoundry-hosting.be	10				Default

A/AAAA Records
Hostname	IP Address	TTL
		178.79.130.161	Default
ftp		178.79.130.161	Default
mail		178.79.130.161	Default
ns1		178.79.130.161	Default
ns2		178.79.130.161	Default
pop		178.79.130.161	Default
server		178.79.130.161	Default
smtp		178.79.130.161	Default
www		178.79.130.161	Default

At ADMIN LEVEL in DirectAdmin for server.webfoundry-hosting.be these are the settings :
Code:
ftp				A	178.79.130.161	
localhost			A	127.0.0.1	
mail				A	178.79.130.161	
ns1.webfoundry-hosting.be.	A	178.79.130.161	
ns2.webfoundry-hosting.be.	A	178.79.130.161	
pop				A	178.79.130.161	
server.webfoundry-hosting.be.	A	178.79.130.161	
smtp				A	178.79.130.161	
www				A	178.79.130.161	
server.webfoundry-hosting.be.	NS	ns1.linode.com.	
server.webfoundry-hosting.be.	NS	ns1.webfoundry-hosting.be.	
server.webfoundry-hosting.be.	NS	ns2.webfoundry-hosting.be.	
server.webfoundry-hosting.be.	NS	ns4.linode.com.	
161.130.79.178.in-addr.arpa.	PTR	webfoundry-hosting.be.	
server.webfoundry-hosting.be.	TXT	"v=spf1 a mx ip4:178.79.130.161 ~all"	
localhost			AAAA	::1

At USER LEVEL in DirectAdmin for any domains (in this case my personal domain) :

Code:
ftp		A	178.79.130.161	
localhost	A	127.0.0.1	
mail		A	178.79.130.161	
pop		A	178.79.130.161	
sektor21.be.	A	178.79.130.161	
smtp		A	178.79.130.161	
www		A	178.79.130.161	
sektor21.be.	NS	ns1.webfoundry-hosting.be.	
sektor21.be.	NS	ns2.webfoundry-hosting.be.	
sektor21.be.	MX	10 mail	
sektor21.be.	TXT	"v=spf1 a mx ip4:178.79.130.161 ~all"	
localhost	AAAA	::1

F.Y.I. (I don't know if it's important):
Settings in CustomBuild 2 are
exim : yes
eximconf : no
eximconf_release : 2.1

Do these things look ok? looking at the red flags in intodns.com
And (or how) can I improve mail-reliability when sending from a particular domain (even though here at home smtp settings are set to internetprovider).
 
Last edited:
I did some testing, and this seems to work perfectly.

As most of my users tend to use their ISP's smtp, I did not replace ~all with -all, as this setting would oblige them to send their smtp through my server, or they will be tagged as spam for spoofing.

But I did add DKIM (http://help.directadmin.com/item.php?id=569)
and most importantly I added a DMARC record (http://help.directadmin.com/item.php?id=596) wich seemed to help best of all.

Especially the DMARC TXT record got my mail through gmail spam filter.
I plan to monitor closely, and start at DMARC1 and work my way up to DMARCxx
 
Back
Top