MyBB Community Forums

Full Version: I have problem with setting up DKIM and SPF
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where do I need to add PRIVATE DKIM key? I have my OS on VPS is Centos 7 with Webmin and Virtualmin
Setting up mail service is out of MyBB's scope. Mails that delivered through PHP mail() going to spam is quite a problem which is not MyBB-specific.

From my experience, although DKIM and SPF/TXT records are correctly set up, mails by PHP mail() to some mail service will still end up showing as spam sometimes, such like Google mail. It's a situation you just can't control. There are also several factors that contribute to a mail's being marked as spam, for example the server IP on which mails are sent.
Hi,

https://www.virtualmin.com/documentation/email/dkim
https://vpsfix.com/8255/configure-domain-specific-emails-virtualmin/

The private key is stored in /etc/opendkim/KeyTable (if you use OpenDKIM)
Okay, I saw what is the problem.
When I log into my [email protected] account and manually send email to my gmail account, it doesn't go to spam folder and it says "DKIM" PASS.

But if I use that [email protected] in Admin's email in ACP > Login and registration settings for sending activation email address via PHP Mail, it goes to spam folder. Is there any setup steps I missed or what?


EDIT: I got it to work. I found SMTP settings for yandex on google, and used that informations to login with my [email protected]. Than I set everything up in ACP and now it works.