Hello Kevin, Monday, November 7, 2005, 2:49:46 PM, you wrote:
Hello Adis,
On the first part of your error message:
Warning: fopen(./logs/errors): failed to open stream:
You need to make sure the files in the /logs directory are writable. There is another post in the mailing list that describes the correct way of doing this. Just chmod'ing to 777 is probably not the best idea.
On the second part of your error message:
IMAP Error in (): Authentication failed (LOGIN): "a001 NO LOGIN failed"
Do you have the latest version of RoundCube (20051021) ? If you are using an install from a previous version the u% variable was not introduced until 20051021. (Some one correct me if I am wrong.)
If you are not using an install that supports the u% variable then, yes it will not log you in correctly.
Kevin L.
Ok i chmod logs and temp directory to 777 (as i dont have shell access i am on shared hosting) and now i dont have error about the Permision in saving error log to logs/errors.
But i still have this error: [10-Nov-2005 03:03:30 -0500] IMAP Error: Authentication failed (LOGIN):<br>"a001 NO LOGIN failed" in on line 0
I downloaded CVS from today 10.11.2005 and before i have RoundCube (20051021) version. Do i need to change anything more or only in main.inc.php to add: $rcmail_config['smtp_user'] = '%u' . '@domain.com';
I did that above and changed the domain.com with my domain but without success.
Thnx
Adis Salcin wrote:
$rcmail_config['smtp_user'] = '%u' . '@domain.com';
I did that above and changed the domain.com with my domain but without success.
$rcmail_config['smtp_user'] is not involved while login(correct me if I'm wrong) , it's only needed while sending email/connecting to your smtp server (in deep short).
You can try my way, by changing the main index.php, all it does:
same site for different vhosts).
Wojtek
--- index.php Thu Nov 10 09:24:29 2005 +++ index.php~ Thu Nov 10 09:24:29 2005 @@ -116,18 +116,13 @@ if ($_action=='login' && $_task=='mail') { $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host'];
$_SERVER['HTTP_HOST']);
// check if client supports cookies if (empty($_COOKIE)) { show_message("cookiesdisabled", 'warning'); }
rcmail_login($userdn, $_POST['_pass'], $host))
rcmail_login($_POST['_user'], $_POST['_pass'], $host)) { // send redirect header("Location: $COMM_PATH");
I'm sorry, I switched files in diff, correct version bellow.
--- index.php~ Thu Nov 10 09:24:29 2005 +++ index.php Thu Nov 10 09:24:29 2005 @@ -116,13 +116,18 @@ if ($_action=='login' && $_task=='mail') { $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host'];
$_SERVER['HTTP_HOST']);
// check if client supports cookies if (empty($_COOKIE)) { show_message("cookiesdisabled", 'warning'); }
rcmail_login($_POST['_user'], $_POST[ '_pass'], $host))
rcmail_login($userdn, $_POST['_pass'] , $host)) { // send redirect header("Location: $COMM_PATH");