• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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