Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Emails sent to recipient's junk or spam

Aug 26, 2015 1:24AM PDT

I'm configuring my mail server, but the email I sent from my server always go to the recipient's spam or junk box.
Here is my case:
My domain: example.com
Mail and DNS server: exm.example.com
IP addresses of name servers: 1.2.3.4 and 1.2.3.5
I have checked the email header in the recipient side: dkim, spf and dmarc are all PASSED
The ISP already pointed my ip addresses to my domain.(rDNS)
Everything is fine, but the email is still sent to the spam box.
My server is centos 6.5, I'm using BIND 9.8.2. Here is my zone files:


in /etc/named.conf :
zone "example.com" IN{
type master;
file "example.com.db";
};

zone "3.2.1.in-addr.arpa" IN{
type master;
file "example.local";
};

################################
in /var/named/example.com.db:
$ORIGIN example.com.
$TTL 14400
example.com. 14400 IN SOA ns1.example.com. exm.example.com. (
2015082112 ;Serial Number
43200 ;refresh
7200 ;retry
2419200 ;expire
43200 ;minimum
)
example.com. IN NS ns1.example.com.
example.com. IN NS ns2.example.com.
example.com. IN MX 0 exm.example.com.
example.com. IN MX 10 exm.example.com.
www 14400 IN CNAME example.com.
ftp 14400 IN CNAME example.com.
webdisk 14400 IN A 1.2.3.4
whm 14400 IN A 1.2.3.4
webmail 14400 IN A 1.2.3.4

mail 14400 IN CNAME example.com.
cpanel 14400 IN A 1.2.3.4
cpcalendars 14400 IN A 1.2.3.4
cpcontacts 14400 IN A 1.2.3.4
1.2.3.4.com. 14400 IN A 1.2.3.4
exm 14400 IN A 1.2.3.4
ns2 14400 IN A 1.2.3.5
ns1 14400 IN A 1.2.3.4
_dmarc 14400 IN TXT "v=DMARC1; p=none; sp=none; adkim=r; aspf=r; rua=mailto:abuse@example.com; ruf=mailto:abuse@example.com; rf=afrf; pct=100; fo=1; ri=84600"
example.com. 14400 IN TXT "v=spf1 +a +mx +ip4:1.2.3.4 ~all"

################################

################################
in /var/named/example.local
$ORIGIN 3.2.1.in-addr.arpa.
$TTL 14400
@ IN SOA ns1.example.com. exm.example.com. (
2001062501 ; serial
43200 ; refresh
7200 ; retry
2419200 ; expire
43200 ; minimum TTL
)
4 IN PTR exm.example.com.
5 IN PTR exm.example.com.

################################

There are problems here:
When I check my domain on a dns-checking website, there is a warning in the "Reverse records (PTR)" section, and it says:

"At least one name server is missing a reverse record which points back to the hostname. The result of this check does not affect on granting the domain name. " And it shows:
ns1.example.com-->1.2.3.4-->exm.example.com
ns2.example.com-->1.2.3.5-->exm.example.com

And again in the email header, one thing I wonder:
There is one place showing that:
Received: from example.com ([127.0.0.1]:36775)
by exm.example.com with esmtpa (Exim 4.85)
Does the ip "127.0.0.1" matter, because I think gmail or others mail service will mark it as a spam email.

Do I need to change or configure something else.

Discussion is locked

- Collapse -
Answer
Re: spam and junk
Aug 26, 2015 1:55AM PDT

By default, there is no automatic recognition for spam and junk in any e-mail client like Thunderbird. So it's a setting or a rule or a program or an add-on at the receiver that does it. So better try with a client set to defaults on a machine that's restored to factory conditions.

That 127.0.0.1 is the receiving PC. This, in fact, looks like there is some anti-x program intercepting the mails.

Kees

- Collapse -
Re: spam and junk
Aug 26, 2015 2:07AM PDT

I tried to sent to my personal gmail, and there is no special setting in my mail (because I'm using this email just for test), but it still goes to the spam box.

- Collapse -
Then you have to ask google why.
Aug 26, 2015 2:22AM PDT

In the mean time, try another e-mail provider that uses pop3 and Thunderbird to receive it.

Kees

- Collapse -
reply
Aug 26, 2015 2:28AM PDT

Thanks for your reply, however, problems are not only on gmail but on other mail services like hotmail, outlook ...

- Collapse -
Then maybe ...
Aug 26, 2015 2:37AM PDT

your example.com is on some blocking list your e-mail provider(s) use.

As I said, with webbased e-mail accounts it's their software (in their e-mail server) that does it, nothing on your PC is involved. That's easy to check, if you don't believe me, by opening it on your smartphone.

Kees

- Collapse -
replay
Aug 26, 2015 3:38AM PDT

Actually, I already checked email blocking list on some famous checking website, my domain is still good.

- Collapse -
Answer
I looked for example.com
Aug 26, 2015 8:41AM PDT

And my guess is you are hiding details. Try a new domain since your domain could have been blacklisted by someone along the way.

I find that no one but the sender can do this research. But you find folk that think everyone can do that work.

There is a reason I see companies fall into this issue a lot and it has to do with quantity of the email they sent out. Gone are the days you can send email blasts.