Re: [gentoo-user] postfix with openLDAP

2006-09-13 Thread Brett Schroeder
bijayant kumar wrote:
> Hi,
>   I am trying to configure postfix and courier-imap with openLDAP.
> But i am not getting any good documents on this topic. I have posted my
> problem 4 days before also. But didnt get any reply. Please please help
> me. I will be very thankful to you.
> 
For a postfix problem, rather go here http://www.postfix.org/documentation.html
and for LDP in particular try this http://www.postfix.org/LDAP_README.html.

> Send instant messages to your online friends http://uk.messenger.yahoo.com
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Postfix, LDAP, courier-imap, how do i get them to talk to each other?

2005-09-03 Thread Brett Schroeder

All the answers are here http://www.postfix.org/documentation.html

Jose Gonzalez Gomez wrote:

2005/9/2, Jakub Krajcovic <[EMAIL PROTECTED]>:


Hello all,

I am finishing the installation of a gentoo server, and $SUBJECT is
the last thing that i need to do.
The server's primary purpose is to server as a PDC for a windows
domain. The user accounts (both posix and samba) are stored in ldap,
as are the machine accounts (i followed the instructions on
samba.idealx.org to set it up). The accounts in ldap are valid unix
accounts (posix - like i mentioned earlier), the only thing is that
they do not have a shell, (eg /bin/false) because the users only use
samba, and do not connect to the server itself for shell access. Each
user has a valid home directory (eg /home/group/user) and of course,
a password.

I configured postfix to relay mail, and now i need to configure it to
receive mail, pass it to courier-imap (configure courier-imap), and
make courier look for delivery info in the ldap database, and deliver
the friggin email. I need the email stored in Maildir format, and
preferably, i would want it to be stored in /home/group/user/.maildir
(eg ~user/.maildir)

Could someone please help me with this? I have followed this guide:
http://gentoo-wiki.com/HOWTO_Postfix-
LDAP_virtual_users_with_qmail_schema and did some configuration
according to this, but i was not able to get it working, as this
deals primarily with virtual users, but my users are "real". I
googled, checked the forums, but i found nothing that would solve my
problem.

Also, i am using qmailSchema for the users that i need to give email
to. The fields that are defined for "mail-enabled" users are:

mail: [EMAIL PROTECTED]
accountStatus: active
mailMessageStore: /home/group/user/.maildir (is this correct?)


In case anyone would be willing to assist, but you would need the
config files, please let me know, and i will post them on my server.

thanks in advance to anyone willing to help


S pozdravom / Best regards
jakub krajcovic




Sometime ago I had some installation with that software and a similar
setup, although I don't remember the exact details. Anyway I seem to
remember that the mail wasn't delivered to the home directory of every
user, as it's a bit tricky to do so: the MTA should have write access
to all the home directories. I'm currently using Cyrus IMAP and
delivering mail through LMTP.

Anyway, you may treat your users as virtual and store the mail
anywhere else. Keep in mind that storing mail in the user's home
directory is intended for systems where users access mail directly in
their file system (as they used some time ago) instead of going
through a POP3/IMAP server, as it's mainly done nowadays. Moreover,
you're not giving your users shell access, so you don't have to worry
for giving direct access to mail files (unless you're mounting those
directories from anywhere else).

HTH,
Jose



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Thunderbird and local LDAP server

2005-08-14 Thread Brett Schroeder
The OpenLDAP client is *not* needed on the machine running T-bird - do 
something like the following to convince yourself that t-bird does *not* 
require the ldap client


grep -i ldap /var/db/pkg/mail-client/mozilla-thunderbird-1.0.6-r2/{,R,P}DEPEND

All the work is in setting up the server. Thunderbird itself requires only a 
few simple pieces of info.


See this

http://www.mozilla.org/projects/thunderbird/specs/ldap.html

and here's some more links (somewhat dated now but they get you thinking in 
the right direction)


http://collingrady.com/2004/07/02/moz-ldap/
http://www.topology.org/comms/ldap.html

The best way to get this working (as is the case for any client-server 
software) is to use ethereal/tcpdump to capture the network requests made by 
t-bird. Then you will see exactly what requests are being sent to & from the 
server. This requires that you understand the protocol and how your server has 
 implemented it


http://www.ietf.org/rfc/rfc2251.txt
http://www.openldap.org/doc/admin23/

LDAP schemas & servers are way too much fun ;-)

Brett

Ralph Slooten wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Abraham,

I have been looking at LDAP myself for ages now, but understand almost
nothing of it ;-) Anyways, your (first) mail got me thinking to test it
myself again. I hit the same brick wall you did. It seems that the
current thunderbird does *not* support LDAP at all (although it does
present it as an option). I tried from an example on a website (to test
with their ldap), aswell as random "off-my-head" values but it does not
append it to the address book.

Maybe it's a thunderbird bug, I don't know (I haven't looked yet)?

All I'm doing here is confirming your problem, not solving it (although
I would be interested if there is a solution) ;-) Maybe it requires
openldap to be installed (I only installed it so far on my server, not
workstation)?

Greetings
Ralph

Abraham Marín Pérez wrote:


Hi everyone:

  I recently had some problems sharing my contacts with more than one
mail client, so I decided to run a local LDAP server. I emerged OpenLDAP
and checked it with phpLDAPadmin. I can browse server's database and
add/remove/modify contacts with phpLDAPadmin, but I can't connect to it
with a mail application; I tried both Evolution and Thunderbird and I
got nothing.

  The one I care the most is Thunderbird. I tried to add a link to the
server from the Address Book: FILE -> NEW -> LDAP DIRECTORY; I typed
what I think is the right parameters and tried, but nothing happened. Am
I doing anything wrong?

Thanks,
Abraham



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC/2RoCt0ZF9kLPvYRAstoAJ9/ihBTodPdb2kyYzgaVPIuO3nJvgCdECS9
wUCsVBdH5EsfmYUTsvCplqI=
=818N
-END PGP SIGNATURE-


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Which IMAP is happiest with gentoo?

2005-05-15 Thread Brett Schroeder
[EMAIL PROTECTED] wrote:

> Wow. I caused quite a fuss, for which I'm very sorry.
>
> To explain:
>
> 1. I do know what hijacking a thread means, and I know that it is
> bad.
>
> 2. I did indeed start this thread by taking another email and changing
> the subject line. I didn't realize that this would still be connected to
> the previous thread, so while this was a mistake on my part, it was
> unintentional
>
> I am very sorry for the confusion I caused, and now I know not to do
> this again.
>
> By the way, how is the thread information retained, even if the subject
> line is changed?

It is maintained as a list of "references" in the message headers. MUAs
(Thunderbird etc). Here's a cut 'n paste of some of the headers from
this message

>> snip
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Which IMAP is happiest with gentoo?

In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Precedence: bulk
List-Post: 
List-Help: 
 snip


>
> Sincerely,
> Michael
>
>
> On Sun, 15 May 2005, Stroller wrote:
>
>>
>> On May 15, 2005, at 12:07 am, THUFIR HAWAT wrote:
>>
>>> On 5/14/05, Stroller <[EMAIL PROTECTED]> wrote:
>>> ...
>>>
 And saying it will probably continue not to help, because you
 haven't said what thread hi-jacking is. Anyone who starts a new
 thread by replying to an old one & changing the subject is
 unlikely to be doing so out of maliciousness. ...
>>>
>>>
>>> I brought it up again specifically because there was no
>>> acknowledgement when Michael was first called on it.
>>
>>
>> And if accused in a mailing-list thread of dongle-flopping, many
>> people would ignore that, too, not know what it means.
>>
>>> Since I started
>>> the first thread, I felt entitled to do so.
>>
>>
>> Very reasonably, I'd say.
>>
>>> No, it wasn't a crime,
>>> but the confusion it created, as I said before, is annoying.
>>
>>
>> Indeed.
>>
>>> I regret
>>> saying anything about it, as I seem to be at fault for doing so.
>>
>>
>> No, that's not the case. But saying "you hi-jacked my thread" to
>> someone is just likely to be ignored if they don't know WTF you're on
>> about. Anyone who does so is probably ignorant of what they've done
>> and the problem it causes, so bitching about it will only help if you
>> EXPLAIN.
>>
>> Stroller.
>>
>> -- 
>> gentoo-user@gentoo.org mailing list
>>
>>
>>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] "error exiting GDM" on system halt

2005-05-01 Thread Brett Schroeder
Richard Watson wrote:

>Hi - I get "error exiting GDM" when shutting down my computer. I have xdm
>running at default level with the display manager set to gdm. Anyone any
>ideas. It's not a serious matter but it would be nice to know.  
>
>Regards, Richard
>
>
>  
>
Same here - been like that ever since I installed Gentoo a few months
ago. Never figured it out (but never tried that hard either :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] VLC emerge failure - ffmpeg related

2005-04-24 Thread Brett Schroeder
All

VLC media player failed to build - seems to be complaining about a
syntax error in ffmepg.c line 299

Not sure if this is relevant but I have
media-video/ffmpeg-0.4.9_p20050226-r3 installed.

Any clues much appreciated

Brett

 snip
make[6]: Entering directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/codec/ffmpeg'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..  
-DSYS_LINUX -I../../../include `top_builddir="../../.."
../../../vlc-config --cflags builtin ffmpeg` -Wsign-compare -Wall 
-finline-limit-3 -pipe -MT libffmpeg_a-ffmpeg.o -MD -MP -MF
".deps/libffmpeg_a-ffmpeg.Tpo" \
  -c -o libffmpeg_a-ffmpeg.o `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \
then mv -f ".deps/libffmpeg_a-ffmpeg.Tpo" ".deps/libffmpeg_a-ffmpeg.Po"; \
else rm -f ".deps/libffmpeg_a-ffmpeg.Tpo"; exit 1; \
fi
ffmpeg.c: In function `InitThread':
ffmpeg.c:299: error: syntax error before "LIBAVCODEC_BUILD_STR"
make[6]: *** [libffmpeg_a-ffmpeg.o] Error 1
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/codec/ffmpeg'
make[5]: *** [all-ffmpeg] Error 1
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.6.2 failed.
!!! Function src_compile, Line 178, Exitcode 2
!!! make failed
>>> snip
-- 
gentoo-user@gentoo.org mailing list