Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: Ga Go on February 12, 2018, 06:53:41 AM

Title: Problem with mail and with ssl
Post by: Ga Go on February 12, 2018, 06:53:41 AM
Hello , recently i installed on my CWP SPF/DKIM to my domains and my email getting error when i try to send a mail somewhere
like (http://prntscr.com/idhfqh)
and before i install was working but the emails were sent in SPAM box , can anyone help me out how i can fix both issues to mails go to inbox and .

My second issue is my main page shows issue like this :(http://prntscr.com/idhgbl) and other pages normaly secured like this (http://prntscr.com/idhgln)

Thanks in advance if someone has or have this issue solved please help
Title: Re: Problem with mail and with ssl
Post by: n8v8r on February 12, 2018, 09:47:51 AM
is there a rDNS/PTR record in place for the domain the main is being sent from?

The second is not quite clear. Can you drop a screenshot?

Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 12, 2018, 09:56:31 AM
i post a links from screenshots but i am not sure why you can't view them anyway i can do it in like 1 hour and thank you for your replay i will do my best to post another screenshots in next 1 hour because right now my server is down for some reason i am not sure why..
Title: Re: Problem with mail and with ssl
Post by: n8v8r on February 12, 2018, 10:12:10 AM
try another image hoster (e.g. postimg.org)

The other issue (SSL) is likely unrelated to SPF/DKIM. Perhaps some mishap in the server config and/or a problem with the certificate (self-generated or issued by a CA?)
Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 13, 2018, 12:25:41 AM
The ssl on my site najdime.mk works just on home page it says The site is not fully secured
Attackers might be able to see images that you are looking and trick you by modify them and the other part i install DKIM / SPF to my mail now my mail give error when i click send and i can't send any email + before while it was not installed all mails was sent to spam .
Title: Re: Problem with mail and with ssl
Post by: n8v8r on February 13, 2018, 10:31:42 AM
the SSL matter is not really part of CWP. You can inspect the offending elements through the browser's developer tools (F12), like this in FF, and rectify your server zone/directory settings accordingly

(https://s17.postimg.org/u2mmy336n/ssl_issue.png)

About SPF/DKIM, what are the settings and you have a MX record in place with a corresponding A record and rDNS/PTR?

Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 13, 2018, 10:47:09 AM
For SPF/DKIM i have records but give me error when i want to send and all mails before were go in SPAM and for SSL that means that i should delete all pictures from my home page or what ?
Title: Re: Problem with mail and with ssl
Post by: n8v8r on February 13, 2018, 11:23:28 AM
Seems that the images are loaded dynamically by a (WP?) java script. Whilst most are loaded through https some are not. That needs to be looked into and rectified. However, it is beyond the scope of this CWP forum and my time constrains.

What is the error when sending emails?

You may also utilize online tools to check, e.g.

https://www.mail-tester.com/spf-dkim-check
https://protodave.com/tools/dkim-key-checker
https://port25.com/authentication-checker
https://vamsoft.com/support/tools/spf-policy-tester
http://dkimvalidator.com/
Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 14, 2018, 02:39:54 AM
here is screenshot of my issue with mail http://prntscr.com/iefbbg it would be great if this is fixed.
Title: Re: Problem with mail and with ssl
Post by: n8v8r on February 14, 2018, 03:13:43 AM
Sounds like a discrepancy between the hostname set in the email server and the MX/PTR record

https://support.symantec.com/en_US/article.TECH94715.html
Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 14, 2018, 06:09:29 AM
all were working fine until i install DKIM/SPF anyway i can fix it with reinstalling the cwp that's ok just something else that i am interested in why mails go to spam ?
That strange the ip is not blacklisted new server and everything was working fine  just problem is when you sent go to spam .
Title: Re: Problem with mail and with ssl
Post by: PavelZh on February 16, 2018, 08:17:13 PM
here is screenshot of my issue with mail http://prntscr.com/iefbbg it would be great if this is fixed.

incorrect HELO in server settings, or HELO doesn’t match to hostname
check
smtpd_banner =
myhostname =

in postfix main.cf
Title: Re: Problem with mail and with ssl
Post by: Ga Go on February 17, 2018, 01:52:24 PM
Hello Thank you all for your help , i didn't find correct fix for this but thank you all for your time and help + effort .