• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Train spamassasing using localhost

Frank.P

Regular Pleskian
TITLE:
Train spamassasing using localhost
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Windows , Plesk 17.5
PROBLEM DESCRIPTION:
PHP LOG : C:\Program Files (x86)\Plesk\admin\logs\php_error.log

Code:
[2017-08-16 03:12:03] ERR [1] PHP Warning: imap_open(): Couldn't open stream {127.0.0.1:143}Inbox\Spam; File: C:\Program Files (x86)\Plesk\admin\plib\Spamassassin\adapter\Imap.php, Line: 36

[2017-08-16 03:12:03] ERR [panel] Failed to train sa for mailname emailmydomain.net: Failed to connect to imap server. : Certificate failure for 127.0.0.1: Server name does not match certificate: CN=mydomain.com


Plesk conect to localhost and ask command "STARTTLS" , if wrong response connet to IMAP without certificate, buy if answer is right connect using TLS for secure connection.

The problem is local ip 127.0.0.1 never have a valid certificate, becase certificate only can have a domain name.

Please change C:\Program Files (x86)\Plesk\admin\plib\Spamassassin\adapter\Imap.php and never connect to IMAP using TLS.
STEPS TO REPRODUCE:
1- Create 2 or more domains.
2. Set by default a certificate
2- Set for first ip a certificate (same of default for example)
3- In second ip set an other certificate


img1.png img2.png

ACTUAL RESULT:
PHP ERROR and not connect because server name does not match certificate
EXPECTED RESULT:
Change C:\Program Files (x86)\Plesk\admin\plib\Spamassassin\adapter\Imap.php

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
From developer:

It looks like some sort of misconfiguration. We do not use Imap for train SpamAssassin in case of mailenable mail server.
Try to refresh server components.
 
Back
Top