Problem with DNS Reverse MX and how configure SPF
my named.conf is:
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "local" {
type master;
file "named.local";
allow-update { none; };
};
zone "127.in-addr.arpa" {
type master;
file "named.inversa";
};
server 201.225.225.225 {
};
zone "cyberchiriqui.com" {
type master;
file "/etc/named.hosts";
allow-update { none; };
};
zone "201.in-addr.arpa" {
type master;
file "/etc/named.reverse";
};
master named.hosts –--
$ORIGIN cyberchiriqui.com
$TTL 86400
@ IN SOA
15
604800
86400
2419200
604800 )
cyberchiriqui.com. IN NS
IN NS
localhost A 127.0.0.01
cyberchiriqui.com. IN A 201.225.94.34
dns.cyberchiriqui.com. IN A 201.225.94.34
IN MX 10 mail.cyberchiriqui.com
IN MX 20 mx2.cyberchiriqui.com.
ns1 IN A ns1.cyberchiriqui.com
ns2 IN A ns2.cwpanama.net
cyberchiriqui.com. IN TXT "v=spf1 ~all"
www IN CNAME cyberchiriqui.com.
mail IN CNAME cyberchiriqui.com.
my reverse name.hosts
@ IN SOA cyberchiriqui.com. mail.cyberchiriqui.com. (
5
604800
86400
2419200
604800 )
34.94.225.201.in-addr.arpa. IN PTR cyberchiriqui.com.
Please help me, and i like to configure SPF but i have a group newsletter and the email send in ANTI-SPAM directory.
Thanks
2 Replies
If your mail server PTR doesn't exist your mail may well get filtered by spamassassin and others.
Also:
@isaac43:
IN MX 10 mail.cyberchiriqui.com
IN MX 20 mx2.cyberchiriqui.com.
…
mail IN CNAME cyberchiriqui.com.
Don't use a CNAME for a mail server, The RFC's say it has to be an A record.
And mx2 is missing.