Fwd: Patch for IMP CVS version
Jan Schneider
jan@horde.org
Wed, 19 Dec 2001 14:20:51 +0100
----- Weitergeleitete Nachricht von Antonio Dias <accdias@sst.com.br> -----
Datum: Wed, 19 Dec 2001 11:05:55 -0200
Von: Antonio Dias <accdias@sst.com.br>
Antwort an: Antonio Dias <accdias@sst.com.br>
Betreff: Patch for IMP CVS version
An: Jan Schneider <jan@horde.org>
Jan,
I am testing IMP from the CVS tree with vpopmail backend. I have several
virtual domains and I must authenticate (via pop3) using the user@realm
notation. I set realm variable in servers.php as you can see in:
$servers['qg'] = array(
'name' => 'qg.mat.br',
'server' => 'pop.qg.mat.br',
'protocol' => 'pop3',
'port' => 110,
'folders' => '',
'namespace' => '',
'maildomain' => 'qg.mat.br',
'smtphost' => 'smtp.qg.mat.br',
'realm' => 'qg.mat.br',
'preferred' => 'preferred'
);
What happens is that realm is not being passed to the authentication
engine because (I think) in imp/lib/IMP.php we are sending $imp['user'].
I change that to $imp['uniquser'] and authentication was possible so I
made a patch and put it at
<http://storm.sst.com.br/IMP.php-login-as-uniquser.patch>. Could you
please take a look at it and see if this is the right solution for the
problem?
If you need more information please feel free to ask me about.
--
Thanks in advance,
Antonio Dias
----- Ende der weitergeleiteten Nachricht -----
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::