• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Failed to train sa for mailname

Frank.P

Regular Pleskian
Panel Error:

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

ERR [panel] Failed to train sa for mailname [email protected] : Failed to connect to imap server. : Too many login failures
 
Hi Javier P.,

in cases that customer(s) creates an additional folder with the name "spam" inside the INBOX - directory, spamtraining can fail. Consider to control the correct folder structure at "%plesk_dir%\Mail Servers\Mail Enable\Postoffices\YOUR-DOMAIN.COM\MAILROOT\"
 
Hi Javier P.,

in cases that customer(s) creates an additional folder with the name "spam" inside the INBOX - directory, spamtraining can fail. Consider to control the correct folder structure at "%plesk_dir%\Mail Servers\Mail Enable\Postoffices\YOUR-DOMAIN.COM\MAILROOT\"


No spam folder exist. Ths structure is ok, but error show.
 
Code:
[2017-06-29 04:57:10] PHP Warning: imap_open(): Couldn't open stream {127.0.0.1:143}Inbox\Spam; File: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Spamassassin\adapter\Imap.php, Line: 36

[2017-06-29 04:57:10] ERR [1] PHP Warning: imap_open(): Couldn't open stream {127.0.0.1:143}Inbox\Spam; File: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Spamassassin\adapter\Imap.php, Line: 36

[2017-06-29 04:57:10] ERR [panel] Failed to train sa for mailname [email protected]: Failed to connect to imap server. : Certificate failure for 127.0.0.1: Server name does not match certificate: CN=paneldomain.net

There is any way to train sa mailname without SSL conexion. The problem is I have a domain with certificate ssl and work, but from local ip get local certificate.
 
Back
Top