[imp] need some help

Edwin Culp eculp@encontacto.net
Fri, 27 Sep 2002 06:12:41 -0700


Quoting wesley gam <jamal.gam@consultant.com>:

 | hi all,
 | i wanted to know if there is someone who might help me in configuring imp
 | with cyrus postfix & ldap.
 | i tried firstly to configure it locally on a laptop to see how it works but
 | without success.
 | 
 | --OpenldapV3 is correctly installed  and tested.
 | --i configured cyrus2.0.16 and created mailboxes(i can read mail using
 | netscape )
 | --also no problems with postfix.
 | i've setup all this with RPMs on a suse8 system.
 | --mysql doesn't run automatically so everyboot i have to run it manually. 
 | 
 | but the problem is that i can't log on to imp...i get uncorrect password.
 | i uncomment ['auth']['login'] in the registry.php to see if i can logon to
 | horde but i get an error saying that there's no authentication specified for
 | 'hostpecs' [on line 81 of "/mypath/horde/lib/Auth/ldap.php]. See the same
 | thing in /tmp/horde.log
 | maybe mysql it's the source of the problem.but i use ldap ...:o|
 | i'm confused with all this. 
 | 
 | all i want is to make it work locally on my laptop with ldap !! 
 | can someone guide me PLZ ??!
 | 
 | here's my horde.php:
 | 
 | $conf['auth']['driver'] = 'ldap';
 | $conf['auth']['params'] = array();
 | $conf['auth']['params']['dsn'] = '{127.0.0.1:143/imap}INBOX';
I may be wrong but I think there may be some confusion on the above.  I
use 

$conf['auth']['driver'] = 'application';
$conf['auth']['params']['app'] = 'imp';

To authenticate to horde throught imp and my courier imap server to only
login once to both imp and horde.  It sounds like that is what you want to 
do.  If you want to use ldap for horde then I doubt you can mix and match
with your imap server but I haven't tried it.  AFAIK, you would need to
add your ldap params rather than the dsn that you have.

 | $conf['prefs']['driver'] = 'ldap';
 | $conf['prefs']['params'] = array();
 | $conf['prefs']['driver'] = 'ldap';
 | $conf['prefs']['params']['hostspec'] = '127.0.0.1';
 | $conf['prefs']['params']['port'] = '389';
 | $conf['prefs']['params']['basedn'] = 'o=gamos.com';
 | $conf['prefs']['params']['uid'] = 'mail';

The above prefs params look fine, of course it will depend on your
directory structure and acl's.  

 | $conf['mailer']['type'] = 'sendmail';
 | $conf['mailer']['params'] = array();
 | 
 | 
 | servers.php:
 | 
 | $servers['_prompt'] = array(
 |     'name' => 'localhost:'
 | );
 | 
 | $servers['imap'] = array(
 |     'name' => 'IMAP Server',
 |     'server' => '',
 |     'protocol' => '',
 |     'port' => 143,
 |     'folders' => '',
 |     'namespace' => '',
 |     'maildomain' => '',
 |     'smtphost' => '',
 |     'realm' => '',
 |     'preferred' => ''
 | );
 | 
 | $servers['cyrus'] = array(
 |     'name' => 'Cyrus IMAP Server',
 |     'server' => 'localhost',
 |     'protocol' => 'imap/notls',
 |     'port' => 143,
 |     'folders' => '',
 |     'namespace' => 'INBOX.',
 |     'maildomain' => 'gamos.com',
 |     'realm' => '',
 |     'preferred' => 'true'
 | );

I don't see any issues with the horde/imp/servers.php but I don't use cyrus.
I think your problem is in the above horde/config/conf.php.

I hope this helps,

ed
 | 
 | $servers['pop'] = array(
 |     'name' => 'POP3 Server',
 |     'server' => '',
 |     'protocol' => 'pop3',
 |     'port' => 110,
 |     'folders' => '',
 |     'namespace' => 'INBOX',
 |     'maildomain' => '',
 |     'realm' => '',
 |     'preferred' => ''
 | );
 | 
 | $servers['exchange'] = array(
 |     'name' => 'Exchange 5.5 server',
 |     'server' => 'exchange.example.com',
 |     'protocol' => 'imap',
 |     'port' => 143,
 |     'folders' => '',
 |     'namespace' => '',
 |     'maildomain' => 'example.com',
 |     'realm' => '',
 |     'preferred' => ''
 | );
 | 
 | need help PLZ !
 | 
 | 
 | 
 |  
 | 
 | -- 
 | __________________________________________________________
 | Sign-up for your own FREE Personalized E-mail at Mail.com
 | http://www.mail.com/?sr=signup
 | 
 | 
 | -- 
 | IMP mailing list
 | Frequently Asked Questions: http://horde.org/faq/
 | To unsubscribe, mail: imp-unsubscribe@lists.horde.org


--