How to fix Check Junk Failed error message in Evolution
Evolution Mail - Check Junk Failed - error message.
Fix by marking an email as junk, then go to the junk folder and mark as not junk.
Also posted here:
http://hutch120.blogspot.com/2008/12/how-to-fix-check-junk-failed-error.html
##############################################################################################################################################################################
PHP imap_open can fail if you specify a mailbox in connection string.
Recently our email parsing code written in PHP started to fail and the only indication of the problem was a PHP notice in the web server error_log that we hadn't encountered before.
"PHP Notice: Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN"
A quick support call to our web host we found they had made a change to dovecot email system http://www.dovecot.org/
A bit of to and fro of them trying various settings in dovecot got us nowhere and eventually it was escalated to cPanel support. They quickly indicated that the problem could be resolved by editing the PHP connection string in imap_open to remove the INBOX string. So this got us back up and running by removing that from the connection string.
Old Code:
$mbox = imap_open ("{imap.example.org:143/notls}INBOX", $username, $password);
New Code which works but still throws the SECURITY PROBLEM message:
$mbox = imap_open ("{imap.example.org:143/notls}", $username, $password);
But we were still getting the SECURITY PROBLEM message in the web server error_log.
New Code which works and does not throw the SECURITY PROBLEM message:
$mbox = imap_open ("{imap.example.org:143/tls/novalidate-cert}", $username, $password);
Note that we have an SSL certificate installed on our site so this may not work if you do not have an SSL certificate, I haven't tried that.
References:
http://au.php.net/imap_open
http://www.washington.edu/imap/IMAP-FAQs/index.html
http://www.sugarcrm.com/forums/archive/index.php/t-24510.html
Comments