[Debian] Horde2/imp3 : 2x inloggen

Pagina: 1
Acties:

  • HoliemaN
  • Registratie: December 2003
  • Laatst online: 11-01 08:52
Ik heb horde2 en imp3 op m'n debian servertje geïnstalleerd. Ben onderweg redelijk wat problemen tegengekomen, maar kreeg die allemaal opgelost dankzij deze tutorial: http://flakey.info/mailserver/

Er is echter 1 probleem dat overblijft, en dat ik niet opgelost krijg.

Als je naar de webmailpagina surtt, dan wordt gevraagd om een login en passwoord (bij horde). Als je daarna je mails wilt bekijken, moet je opnieuw inloggen (bij imp). Ik krijg het maar niet ingesteld dat je in 1x voor allebei ingelogd bent.

Dit staat in m'n horde.php:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// If you want to use IMP with Horde and don't want to let the users
// login twice (once for Horde and once for IMP) you can setup Horde
// to let IMP do the authentication stuff. Just uncomment the
// auth/login/logout lines in registry.php instead of configuring the
// following settings.

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
// 'krb5' and 'radius'.
$conf['auth']['driver'] = 'imap';

// An array holding any parameters that the Auth object will need to
// function correctly.
$conf['auth']['params']['dsn'] = '{localhost:993/imap/ssl/novalidate-cert}INBOX';


In m'n registry.php staat alles ge-uncomment:
code:
1
2
3
4
5
6
7
8
9
10
/* auth: Handler for user authentication.
 * Debian puts this in a separate file to enable different debian packages
 * to add to the configuration
 */
$this->registry['imp']['login'] = 'imp';
$this->registry['imp']['logout'] = 'imp';

/* mail: Handler for sending mail. */
$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';


Als ik in m'n horde.php die twee instellingen verander door:
code:
1
$conf['auth']['driver'] = '';

en
code:
1
$conf['auth']['params']['dsn'] = '';

of een combinatie daarvan, dan kan ik niet meer inloggen.

Ik kom er echt niet uit, weet iemand misschien raad, want het is wel lullig dat je steeds 2x moet inloggen om aan je mailtjes te kunnen :p

  • urk_forever
  • Registratie: Juni 2001
  • Laatst online: 04-02 17:31
Uuuuh, ik je horde.php staat:

// If you want to use IMP with Horde and don't want to let the users
// login twice (once for Horde and once for IMP) you can setup Horde
// to let IMP do the authentication stuff. Just uncomment the
// auth/login/logout lines in registry.php instead of configuring the
// following settings.

Dusse het lijkt met makkelijk als je die settings:

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
// 'krb5' and 'radius'.
$conf['auth']['driver'] = 'imap';

// An array holding any parameters that the Auth object will need to
// function correctly.
$conf['auth']['params']['dsn'] = '{localhost:993/imap/ssl/novalidate-cert}INBOX';

Niet configureerd. Dus misschien moet je ze ff commenten dmv //

Hail to the king baby!


  • HoliemaN
  • Registratie: December 2003
  • Laatst online: 11-01 08:52
Ja, als ik die comment, dan krijg ik een foutmelding (blablabla fout in auth.php on line blablabla)
En als ik ze leeglaat, dus op '' zet, dan kan ik niet inloggen met een geldige username en pass :s

  • urk_forever
  • Registratie: Juni 2001
  • Laatst online: 04-02 17:31
heb je trouwens niks in je horde.log staan?

Hail to the king baby!


  • Tachyon
  • Registratie: Januari 2000
  • Laatst online: 05-02 22:10

Tachyon

pop the glock

Als je naar de webmailpagina surtt, dan wordt gevraagd om een login en passwoord (bij horde). Als je daarna je mails wilt bekijken, moet je opnieuw inloggen (bij imp).
Het is ook niet zo dat je via horde moet inloggen voor zowel horde als imp, maar via imp voor zowel imp als horde. Zit verschil in.

Als ik hier inklop:

code:
1
http://domein.nl/horde2/


dan moet ik eerst inloggen op horde en daarna op imp. Doe ik echter:

code:
1
http://domein.nl/horde2/imp/


dan hoef ik maar 1x in te loggen.

Ander doe je gewoon een keer dpkg-reconfigure horde2 en dpkg-reconfigure imp3 en je krijgt weer de vraag gesteld welke methode je wilt gebruiken om in te loggen. No need om te gaan liggen rommelen in config-files.

If we do not change our direction, we will likely end up where we are heading.


  • Lancer
  • Registratie: Januari 2002
  • Laatst online: 09:13

Lancer

What the......

Tip. Gebruik Horde3 en Imp4. Authenticatie is in Horde3 een stuk beter geregeld (om nog maar te zwijgen van grotere stapel van beschikbare modules, zoals bestandstoegang (gollem) en een Content Management Systeem (giapeto))

Je kunt niet in een systeem meten zonder het systeem te beinvloeden.... (gevolg van de Heisenberg onzekerheidsrelatie)


  • HoliemaN
  • Registratie: December 2003
  • Laatst online: 11-01 08:52
Tachyon schreef op vrijdag 28 januari 2005 @ 14:31:
Ander doe je gewoon een keer dpkg-reconfigure horde2 en dpkg-reconfigure imp3 en je krijgt weer de vraag gesteld welke methode je wilt gebruiken om in te loggen. No need om te gaan liggen rommelen in config-files.
Thanks! 'k Heb gewoon dpkg-reconfigure imp3 gedaan, en nu werkt het _/-\o_
Pagina: 1