The file size doesn't matter, I have even tried a test file with only 3 email addresses in.
No issue with the host, i have enabled no TLS connections:
config show imap
imap=service
ConcurrencyLimit=400
ConcurrencyLimitPerIP=12
TCPPort=143
access=public
status=enabled
The part in the import3.php file that handles the imap info looks like this:
function getImapFolders($server,$user,$password) {
$port = "143/imap/notls";
$mbox = @imap_open("{".$server.":".$port."}",$user,$password,OP_HALFOPEN);
if (!$mbox) {
Fatal_Error($GLOBALS['I18N']->get("can't connect").": ".imap_last_error());
return 0;
}
But those variables ($server,$user,$password) are empty and should contain the info entered on the import page. if I hard code values in those variables the imap connection works:
function getImapFolders($server,$user,$password) {
$server = 'localhost';
$user = 'sales';
$password = 'mypassword';
$port = "143/imap/notls";
$mbox = @imap_open("{".$server.":".$port."}",$user,$password,OP_HALFOPEN);
if (!$mbox) {
Fatal_Error($GLOBALS['I18N']->get("can't connect").": ".imap_last_error());
return 0;
}
And yes, that includes /var/log/httpd/error_log and /var/log/httpd/access_log, enabling PHP Display Errors also shows nothing.