[imp] Horde - [error]

Steve Perkins sp at barsense.net
Tue Feb 27 19:39:57 PST 2007


Hi Joao

Yeah, I had this problem a couple of weeks ago. I don't know how much these
comments apply to Plesk defaults in general or whether it was just the
system I was messing about on but the solution in my case was quite
straightforward:

1. Turn on incoming IMAP Server (port 143) in the firewall settings. In
Normal mode Firewall, this is Pleask Admin Page ->Virtuozzo->Firewall->Add
Rule-> Tick IMAP (v2) Server, and select OK. 
2. vi /etc/psa-horde/imp/servers.php and make sure that the 'server'
parameter is '127.0.0.1' (or $ServerName which should be a valid resolveable
domain name available on the server eg 'xyz.com'). Don't use 'localhost', as
its not configured under Plesk or at least it wasn't on the server I was
playing with !
3. set the 'smtphost' to '127.0.0.1' not localhost, as again 'localhost'
doesn't resolve. Don't set this to a domain name as the system won't relay
mails other than for the local address.

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => $ServerName,
    'hordeauth' => true,
    'protocol' => 'imap/notls',
    'port' => 143,
    'maildomain' => $DomainName,
    'smtphost' => '127.0.0.1', 
    'smtpport' => 25,
    'realm' => '',
    'preferred' => '',
);


Hope this helps.

Regards
Steve 

-----Original Message-----
From: imp-bounces at lists.horde.org [mailto:imp-bounces at lists.horde.org] On
Behalf Of João Rodolfo
Sent: 26 February 2007 20:13
To: imp at lists.horde.org
Subject: [imp] Horde - [error] 

It sees if it can help me!

My system: Fedora Core 2
Control Painel: Plesk 8.1
My PHP 4.3.11

My webmail horde, it has presented the following problem: An user tries
login with user at domain.com and password, but show me Falied Login.

The Log of Horde:
/var/log/psa-hord/hord.log show:

Feb 23 15:22:48 HORDE [error] [imp] FAILED LOGIN 201.63.163.4 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]
Feb 23 15:25:36 HORDE [error] [imp] FAILED LOGIN 201.63.163.4 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]
Feb 23 15:26:19 HORDE [error] [imp] FAILED LOGIN 201.63.163.4 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]
Feb 23 15:26:52 HORDE [error] [imp] FAILED LOGIN 201.63.163.4 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]
Feb 23 15:34:01 HORDE [error] [imp] FAILED LOGIN 200.162.199.81 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]
Feb 23 15:35:12 HORDE [error] [imp] FAILED LOGIN 200.162.199.81 to
127.0.0.1:143[imap/notls] as user at domain.com [on line 258 of
"/usr/share/psa-horde/imp/lib/Auth/imp.php"]

That is, all time that user tries login it does not obtain why of falied
login and horde registre this log.

Already I verified the configurations of:

PHP:
in the line session.auto_start = 0 is all right.

/etc/psa-horde/imp/serveres.php


$servers['_prompt'] = array(
'name' => _("Choose a mail server:")
);

// get hostname from http URL (patch for Plesk) $headers = getallheaders();
$ServerName = preg_replace('/^webmail\./', '', preg_replace('/^www\./', '',
$headers['Host'])); $DomainName = ($ServerName != '') ? $ServerName :
'@DEFAULT_SERVERNAME@';

$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'loclahost',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
'maildomain' => $DomainName,
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
);

I neet emergency to solve this problem.

Very Thanks.

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently
Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
imp-unsubscribe at lists.horde.org



More information about the imp mailing list