Re: Re: Ispman-users digest, Vol 1 #833 - 2 msgs

Jim <[email protected]>
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hi Marco,

In looking at the spec file you provided, it appears that it is indeed 
compiling with LDAP support. I haven't tried the spec file you provided, 
but it appears to me that it should work.

The configure options that you want enabled are (and it appears these 
are enabled in the spec file you provided):
--enable-maildropldap
--with-ldapconfig=%courier_confdir/%confldap

Have you edited /usr/lib/courier-imap/etc/maildrop-ldap.conf to reflect 
your ldap settings?

As a side note, I had some problems getting the source rpm to compile 
the way I wanted it to. I actually gave up on compiling the rpm and 
configured/installed it manually. You might want to try that route as a 
last resort.

Something else to try: I had to make maildrop suid root before it would 
deliver mail to the user's mailboxes. chmod u+s maildrop will take care 
of that for you.

I'm not sure why you are having the dependency problems. I'd think that 
the symlink would take care of it, but I honestly do not know. I'd 
assume that the configure script would pick up on the correct perl 
location for you. Maybe if you configured it manually instead of 
building the rpm it would help.

Hope this helps.
Jim

Marco Carcano wrote:

>
>> Date: Tue, 28 Dec 2004 22:29:41 -0500
>> From: Jim <[email protected]>
>> Subject: Re: [Ispman-users] ISPman + CourierIMAP + maildrop + Postfix
>
>
>> I'd check to ensure that maildrop is accessing LDAP successfully. Have
>> you configured maildrop to use LDAP? If not, you need to compile
>> maildrop with LDAP support (if it is not already compiled in), then you
>> need to edit /etc/maildrop/maildropldap.config to reflect your LDAP
>> settings.
>
>
> First of all thank you for your interest, Jim.
> I'm not sure that maildrop is compiled with ldap support:
> I followed (also for postfix configuration) this howto:
>
> http://www.atix.com.br/~alexb/ispserver/
>
> so I downloaded maildrop-1.7.0-1.3.src.rpm and performed an
>
> rpmbuild -ta maildrop-1.7.0-1.3.src.rpm
>
> then I installed it with rpm -Uvh
>
> So now I have trie this:
>
> rpm -ivh maildrop-1.7.0-1.3.src.rpm
>
> now I have maildrop sources ready to be compiled in 
> /usr/src/redhat/SOURCES and
> maidrop.spec in /usr/src/redhat/SPECS
>
> but if I try to edit it with vi I'm not able to find directives to 
> enable ldap support:
>
> searching the net with google I found this spec file (of the same 
> version)
>
> http://altlinux.org.ua/devel/RPM/SPECS/classic/maildrop.spec
>
> there I could find 2 ldap directives:
> %define courier_confdir    /etc/courier-imap ---> Notice I changed it 
> to /usr/lib/courier-imap/etc
> %define confldap maildrop-ldap.conf
>
> then I rebuild it with (in SPECS dir)
> rpmbuild -ba maidrop.spec
> but I noticed that when I have rebuilt it the specs file is restored 
> to its default: the 2 lines I have added are not there
>
> notice thet when I installed courier imap I have been able to build it 
> without any warnings, but when I tried to install it
> I got a failed dependencies with /usr/local/bin/perl. I have perl 
> installed in /usr/bin/perl so I did a symlink in /usr/local/bin to
> it and did the install with --nodeps. Courier-imap seems to work properly
>
> The same trouble (with perl dependecies) is with maildrop installation
>
> what do you think about?
>
> Thanks
>
> Marco Carcano
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.824 / Virus Database: 562 - Release Date: 28/12/2004
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Ispman-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ispman-users




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.