Email sent from roundCube going to spam folder

londonman

New member
Joined
Jul 18, 2021
Messages
5
Hello, I am new to VPS and new to the command line so I don't fully understand all the different terms.
I install direct admin, everything seems to work fine, except email sent from RoundCube gets sent to the spam folder.
I read this could have something to do with DKIM.
Can you tell me how to set up DKIM, can you explain in a noob understanding format.
Thanks
 
On the https://www.mail-tester.com/
it says
Your DKIM signature is not valid. why is the signature invalid and how do I get the signature to be valid?



Code:
The DKIM signature of your message is:

    v=1;
    a=rsa-sha256;
    q=dns/txt;
    c=relaxed/relaxed;
    d=mydomain.com;
    s=x;
    h=Content-Transfer-Encoding:Content-Type:Message-ID:Subject:To:From:Date:MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
    bh=4jiKNPSzBXAsxUmye7NY1d0F9v/GKDM0liPs+Jr5o6E=;
    b=m1T04IBZ8NEhzghtpYu49JZcvOBEEgB0gHY/zoNbRnGsaJulbqFqNUCYpgfGCMBbfSDq7nA94fwsafN9KNrqG+x32kETpl/WcQTHEDcoToDM+CaTy2l6sX/V8piX8yre7ES6DgHvZ6ZzSZxf2124SGdbESJGviJ/Y24XzLIWMreNon4vtsvxy0X5q9fnQ8ZEK9ZrX9iJlK7m0IVQOjx7wssSd5WpZvvWZMDUGflYRYxzFIPWwyc8v64xTQLsAZAG+yXGsOjAyvVtRbkrHNhYsZnGWb6kN+lXQL2ZZCf2GwDapJIrZHvihIZFmJsByYt+UMzE6HFjrO+5F5BAi5Cw==;
   
We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain mydomain.com using the selector x.
If you recently modified your DNS, please be patient and test again your Newsletter in 12 hours, it may take some time for the DNS to be propagated
 
On the https://www.mail-tester.com/
it says
Your DKIM signature is not valid. why is the signature invalid and how do I get the signature to be valid?



Code:
The DKIM signature of your message is:

    v=1;
    a=rsa-sha256;
    q=dns/txt;
    c=relaxed/relaxed;
    d=mydomain.com;
    s=x;
    h=Content-Transfer-Encoding:Content-Type:Message-ID:Subject:To:From:Date:MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
    bh=4jiKNPSzBXAsxUmye7NY1d0F9v/GKDM0liPs+Jr5o6E=;
    b=m1T04IBZ8NEhzghtpYu49JZcvOBEEgB0gHY/zoNbRnGsaJulbqFqNUCYpgfGCMBbfSDq7nA94fwsafN9KNrqG+x32kETpl/WcQTHEDcoToDM+CaTy2l6sX/V8piX8yre7ES6DgHvZ6ZzSZxf2124SGdbESJGviJ/Y24XzLIWMreNon4vtsvxy0X5q9fnQ8ZEK9ZrX9iJlK7m0IVQOjx7wssSd5WpZvvWZMDUGflYRYxzFIPWwyc8v64xTQLsAZAG+yXGsOjAyvVtRbkrHNhYsZnGWb6kN+lXQL2ZZCf2GwDapJIrZHvihIZFmJsByYt+UMzE6HFjrO+5F5BAi5Cw==;
  
We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain mydomain.com using the selector x.
If you recently modified your DNS, please be patient and test again your Newsletter in 12 hours, it may take some time for the DNS to be propagated
Its telling that the email is signed by the email server with its private DKIM key but its unable to get the public key from your dns to verify if the signed DKIM is valid.
 
Its telling that the email is signed by the email server with its private DKIM key but its unable to get the public key from your dns to verify if the signed DKIM is valid.
Thanks.
I now have the DKIM working and is showing up as green in the mail-test.
My score is only 3.9 out of 10

I have this issue now can you tell me how to fix it?

Code:
We check if there is a server (A Record) behind your hostname server1.my-vps-hostname.com.
You may want to publish a DNS record (A type) for the hostname server1.my-vps-hostname.com. or use a different hostname in your mail software.
 
Its telling that the email is signed by the email server with its private DKIM key but its unable to get the public key from your dns to verify if the signed DKIM is valid. Please check Your DKIM Record
 
Back
Top