Emails going to spam  [SOLVED]

General discussions around KeyHelp.
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Emails going to spam

Post by soufian »

When I send an email from my server to a Gmail account is listed in the spam folder why?
User avatar
Tobi
Community Moderator
Posts: 2831
Joined: Thu 5. Jan 2017, 13:24

Re: Emails going to spam

Post by Tobi »

Doublecheck your SPF and PTR records
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post by soufian »

SPF And PTR records are on DNS but same problem
User avatar
Florian
Keyweb AG
Posts: 1261
Joined: Wed 20. Jan 2016, 02:28

Re: Emails going to spam

Post by Florian »

Hello,

and DKIM?
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post by soufian »

Yes all right but it's still going to spam
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Emails going to spam

Post 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.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post 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
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Emails going to spam

Post 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
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post by soufian »

you can see
the enterd value
Image



the stored value
Image
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Emails going to spam

Post by Jolinar »

soufian wrote: Tue 21. Nov 2023, 23:48 you can see
the enterd value
Image
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"
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post by soufian »

SPF record fixed whats should i include to prevent emails going to spam when i send an email to Gmail acc

Image

Image
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Emails going to spam

Post 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.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post by soufian »

Like this
Image

and the PTR record should be
ip address server.vanixweb.com
or what ?
soufian
Posts: 14
Joined: Tue 21. Nov 2023, 16:47

Re: Emails going to spam

Post 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
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: Emails going to spam

Post 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 :o
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.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
Post Reply