Page 1 of 2
Emails going to spam
Posted: Tue 21. Nov 2023, 16:52
by soufian
When I send an email from my server to a Gmail account is listed in the spam folder why?
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 16:53
by Tobi
Doublecheck your SPF and PTR records
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 17:00
by soufian
SPF And PTR records are on DNS but same problem
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 17:03
by Florian
Hello,
and DKIM?
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 17:32
by soufian
Yes all right but it's still going to spam
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 19:25
by Jolinar
soufian wrote: ↑Tue 21. Nov 2023, 17:00
SPF And PTR records are on DNS but same problem
It is good that the resource records are present in the DNS, but are they correct?
If we are to help you really, then we need at least the domain in order to be able to check the DNS records for correctness from the outside.
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 23:28
by soufian
Jolinar wrote: ↑Tue 21. Nov 2023, 19:25
soufian wrote: ↑Tue 21. Nov 2023, 17:00
SPF And PTR records are on DNS but same problem
It is good that the resource records are present in the DNS, but are they correct?
If we are to help you really, then we need at least the domain in order to be able to check the DNS records for correctness from the outside.
my domain vanixweb.com
actually the problem when i store an SPF record its stored without spaces
I typed
v=spf1 mx a include:relay.mailbaby.net ~all
when in use the lookup in getting
v=spf1mxainclude:relay.mailbaby.net~all
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 23:38
by Jolinar
First, the external query of your DNS resource records:
Code: Select all
;QUESTION
vanixweb.com. IN ANY
;ANSWER
vanixweb.com. 3600 IN TXT "v=DMARC1"
vanixweb.com. 3600 IN TXT "v=spf1" "mx" "a" "include:relay.mailbaby.net" "~all"
vanixweb.com. 3600 IN NS ns.vanixweb.com.
vanixweb.com. 3600 IN NS ns2.vanixweb.com.
vanixweb.com. 3600 IN A 176.117.72.155
vanixweb.com. 3600 IN SOA ns1.vanixweb.com. support.vanixweb.com. 2023112133 14400 1800 604800 3600
;AUTHORITY
;ADDITIONAL
The MX resource record is completely missing.
The SPF resource record should look like this:
Code: Select all
vanixweb.com. 3600 IN TXT "v=spf1 mx a include:relay.mailbaby.net ~all"
The PTR record is pointing to the wrong host
Code: Select all
;QUESTION
155.72.117.176.in-addr.arpa. IN PTR
;ANSWER
155.72.117.176.in-addr.arpa. 14400 IN PTR maltanet.net.
;AUTHORITY
;ADDITIONAL
Re: Emails going to spam
Posted: Tue 21. Nov 2023, 23:48
by soufian
you can see
the enterd value
the stored value

Re: Emails going to spam
Posted: Tue 21. Nov 2023, 23:51
by Jolinar
soufian wrote: ↑Tue 21. Nov 2023, 23:48
you can see
the enterd value
Make sure to place quotation marks at the beginning and end of the value.
Your DKIM resource record is also not correct:
Code: Select all
;QUESTION
default._domainkey.vanixweb.com. IN TXT
;ANSWER
default._domainkey.vanixweb.com. 3600 IN TXT "v=DKIM1; h=sha256; k=rsa; s=email; " "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu6GiePrhoNQ10T2Je4VTCRnaFARWyjy7qFz+73rG1jv1TAgy611hJFaVAOWPYnP3JJ7/ybauNG03P/Lyudtx7Oeqpq5WmaDh4+WQYjCynQsTGtydWrEzidsZhyVgeRbTRrisHBPmrNi5qKtH8M5DslpI4FXTT2gEAebbUqau+jebfc4hATPpygoitQlSpgkEXfAoQQNwB2dK3S" "O2YTHp+UBfJ6kxDC6/tC4Wf1wFc6dt31oQlkvLtSldULHiNHqIqCDAFAOyzMkb1rX6nWbJ4RNt/Oo5XbgF2O8eQbNbneSPI2myGXVeF8is8DkAmYUhCzDTw54azfhplKhl2sEllQIDAQAB"
;AUTHORITY
;ADDITIONAL
It should look like this:
Code: Select all
default._domainkey.vanixweb.com. 3600 IN TXT "v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu6GiePrhoNQ10T2Je4VTCRnaFARWyjy7qFz+73rG1jv1TAgy611hJFaVAOWPYnP3JJ7/ybauNG03P/Lyudtx7Oeqpq5WmaDh4+WQYjCynQsTGtydWrEzidsZhyVgeRbTRrisHBPmrNi5qKtH8M5DslpI4FXTT2gEAebbUqau+jebfc4hATPpygoitQlSpgkEXfAoQQNwB2dK3S" "O2YTHp+UBfJ6kxDC6/tC4Wf1wFc6dt31oQlkvLtSldULHiNHqIqCDAFAOyzMkb1rX6nWbJ4RNt/Oo5XbgF2O8eQbNbneSPI2myGXVeF8is8DkAmYUhCzDTw54azfhplKhl2sEllQIDAQAB"
Re: Emails going to spam
Posted: Wed 22. Nov 2023, 00:00
by soufian
SPF record fixed whats should i include to prevent emails going to spam when i send an email to Gmail acc

Re: Emails going to spam
Posted: Wed 22. Nov 2023, 00:08
by Jolinar
soufian wrote: ↑Wed 22. Nov 2023, 00:00
whats should i include to prevent emails going to spam when i send an email to Gmail acc
Please read carefully what was written:
Jolinar wrote: ↑Tue 21. Nov 2023, 23:38
The MX resource record is completely missing
Jolinar wrote: ↑Tue 21. Nov 2023, 23:38
The PTR record is pointing to the wrong host
BTW:
If you use the IPv6 protocol on your server, you should also set the corresponding AAAA resource records.
Re: Emails going to spam
Posted: Wed 22. Nov 2023, 00:14
by soufian
Like this
and the PTR record should be
ip address server.vanixweb.com
or what ?
Re: Emails going to spam
Posted: Wed 22. Nov 2023, 01:01
by soufian
Jolinar wrote: ↑Wed 22. Nov 2023, 00:08
soufian wrote: ↑Wed 22. Nov 2023, 00:00
whats should i include to prevent emails going to spam when i send an email to Gmail acc
Please read carefully what was written:
Jolinar wrote: ↑Tue 21. Nov 2023, 23:38
The MX resource record is completely missing
Jolinar wrote: ↑Tue 21. Nov 2023, 23:38
The PTR record is pointing to the wrong host
BTW:
If you use the IPv6 protocol on your server, you should also set the corresponding AAAA resource records.
I have only ipv4 and whats is the correct PTR?
vanixweb.com ------- ip
ip----------- vanixweb.com
Re: Emails going to spam
Posted: Wed 22. Nov 2023, 06:07
by Jolinar
soufian wrote: ↑Wed 22. Nov 2023, 01:01
whats is the correct PTR?
It should look like this:
Code: Select all
155.72.117.176.in-addr.arpa. 14400 IN PTR server1.vanixweb.com.
Let's take a look at your MX Resource Records now:
Code: Select all
;QUESTION
vanixweb.com. IN MX
;ANSWER
vanixweb.com. 3600 IN MX 10 aspmx3.googlemail.com.vanixweb.com.
vanixweb.com. 3600 IN MX 10 server1.vanixweb.com.
vanixweb.com. 3600 IN MX 5 alt2.aspmx.l.google.com.vanixweb.com.
vanixweb.com. 3600 IN MX 1 aspmx.l.google.com.vanixweb.com.
vanixweb.com. 3600 IN MX 10 aspmx2.googlemail.com.vanixweb.com.
vanixweb.com. 3600 IN MX 5 alt1.aspmx.l.google.com.vanixweb.com.
;AUTHORITY
;ADDITIONAL
OMG
I'm afraid you don't really know what you're doing...Why are these MX Resource records?
I think, your MX resource record should look like this:
Code: Select all
vanixweb.com. 3600 IN MX 10 server1.vanixweb.com.