Mails going to Spam

Hi,

I'm using the Virtualmin server for sending out mails using SMTP. Two issues with this

  1. But when I enable SSL in my php script the mails timed out.(Port 465 is open)
  2. When I disable SSL the mails are going to spam box and not in Inbox folder.

One more thing, I'm using remote DNS and so I don't know how to update the Virtualmin DKIM in DNS portal.

xxx.com._domainkey.xxx.com. IN TXT ( "v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3ipabr4t8qpo6" "1emkcQXn5LWe8PjGtVnW19elJ8HjiaDSwAlrClqH7/mhLDDCAOInEVlZ4VDDid8sVBSVPPYoEb1YeuJY" "P431zPeFSI8M86IcUWfL8K8zl5piM5E67Z+ixovWMNruc+ydoIeKp9P885FLwzeSW2RHJmi7Fog0REs3" "3qxxMOmzH8w7Z9TG/h+WhTYyMyLH8LLp8UMlHBHGb+I/QSZPMfHFdM7Fi50ccSGHGeEKI+YSSrHx5Gu1" "f+q0+Qu1z3FKR1u8sIhTD9MyqL4fJFdtvqOJHQUn23bZ4xCwUFCG+R+GjgWoYqrvblADb6bgtaAHXKqI" "ADNZsbVkwIDAQAB" )

Can anyone please assist us on this ?

Thank You.

Status: 
Active

Comments

  1. Can you check on the receiving side if there is any more information about why the messages were marked as spam?

  2. If you are hosting the DNS domain on another system, make sure you create the DKIM records on that system. There is a "Recommended DNS Records" link on the left menu in Virtualmin to show what records should be created.

Hi,

  1. We didn't receive any error message but if we enable SSL in our php scripts then connections are timed out.

  2. Yes, I'm using the remote DNS for the domain. but I'm not sure how to add this DKIM record in DNS panel.

Please assist us.

You may want to try using telnet to verify that the server your PHP script is running on can communicate with the port it needs to connect to... I'm not sure whether that's connecting to port 465 or 587, both are secured ports.

Also, it's difficult to say how to add a DKIM record in your DNS control panel. What we can offer is that you'd need to create a TXT record, using the record that Jamie described.

However, it looks like you're using Virtualmin GPL there. The support area here is for folks using Virtualmin Pro.

If you had any additional questions, you'd actually want to ask those in the Forums. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!