Re: Running Cyrus Imap under a different user

2010-11-04 Thread Bron Gondwana
On Thu, Nov 04, 2010 at 02:45:40PM +0100, Gabriele Bulfon wrote: > Oh yes, that's what I did infact :) but I'll have to be careful on next > downloads. > And also, should I be worried that 4.8 is not considered safe for cyrus-imap? 4.8 support has been added to upstream git - it will be in the ne

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Boutilier A: info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 12.31.24 CET Oggetto: Re: Running Cyrus Imap under a different user On 11/04/2010 07:21 AM, Gabriele Bulfon wrote: oh oh, I found that imapd configure scripts searches for -ldb starting from 4.7, going down until it finds a good one

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Patrick Boutilier
On 11/04/2010 07:21 AM, Gabriele Bulfon wrote: oh oh, I found that imapd configure scripts searches for -ldb starting from 4.7, going down until it finds a good one I was so unlucky to put 4.8 inside my environment! :) Or just modify the configure script to also search for 4.8 :-) I wil

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
WebTop2 =- Da: Gabriele Bulfon A: Simon Matter Cc: info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 11.03.40 CET Oggetto: Re: Running Cyrus Imap under a different user Yes, I also do the incdir. I did a "make clean" and re-run configure and make, now I noticed this last gcc li

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
Matter A: Gabriele Bulfon Cc: info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 10.59.58 CET Oggetto: Re: Running Cyrus Imap under a different user omg, I also noticed that saslauthd has the correct reference of libdb: [soni...@sl cyrus-sasl-2.1.23]$ ldd /sonicle/sbin/saslauthd linux-gat

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
le Bulfon > A: > Simon Matter > Cc: > info-cyrus@lists.andrew.cmu.edu > Data: > 4 novembre 2010 10.43.07 CET > Oggetto: > Re: Running Cyrus Imap under a different user > Thanx Simon, I will consider your suggestion after trying another step. > I tried this: > [soni...

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
, but sasl shows it correct, while imap shows it bad. -= Mail sent through WebTop2 =- Da: Gabriele Bulfon A: Simon Matter Cc: info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 10.43.07 CET Oggetto: Re: Running Cyrus Imap under a different user Thanx Simon, I will consider your suggestion af

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
rmann (nodens) info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 10.33.01 CET Oggetto: Re: Running Cyrus Imap under a different user The system is a Scientific Linux. The imapd process just tries to exec and then fails and exit, as you can see from the log. This happens on any process that master tri

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
ee how LD_LIBRARY_PATH looks like. > If it's difficult to get a long running imapd process you could use a > preforked cyrus.conf for that. > Simon > -= Mail sent through WebTop2 =- > -- > Da: Simo

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
=- -- Da: Simon Matter A: Gabriele Bulfon Cc: Clement Hermann (nodens) info-cyrus@lists.andrew.cmu.edu Data: 4 novembre 2010 9.50.00 CET Oggetto: Re: Running Cyrus Imap under a different user Thanx, here is the output of master proc, and it looks it has all the needed environment

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Simon Matter
reforked cyrus.conf for that. Simon > -= Mail sent through WebTop2 =- > ------------------ > Da: Simon Matter > A: Gabriele Bulfon > Cc: Clement Hermann (nodens) > info-cyrus@lists.andrew.cmu.edu > Data: 4

Re: Running Cyrus Imap under a different user

2010-11-04 Thread Gabriele Bulfon
riele. -= Mail sent through WebTop2 =- -- Da: Clement Hermann (nodens) A: info-cyrus@lists.andrew.cmu.edu Data: 3 novembre 2010 20.59.53 CET Oggetto: Re: Running Cyrus Imap under a different user Le 03/11/2010 18:03, Gabriele Bulfon a écrit : Thanx for the quick rep

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Simon Matter
behaviour) > Thanx again :) > Gabriele. > -= Mail sent through WebTop2 =- > -- > Da: Clement Hermann (nodens) > A: info-cyrus@lists.andrew.cmu.edu > Data: 3 novembre 2010 20.59.53 CET > Oggetto: Re: Running Cyrus Imap unde

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Gabriele Bulfon
our) Thanx again :) Gabriele. -= Mail sent through WebTop2 =- -- Da: Clement Hermann (nodens) A: info-cyrus@lists.andrew.cmu.edu Data: 3 novembre 2010 20.59.53 CET Oggetto: Re: Running Cyrus Imap under a different user Le

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Clement Hermann (nodens)
Le 03/11/2010 18:03, Gabriele Bulfon a écrit : > Thanx for the quick reply ;) > > Yes, environment is correctly exported. > Maybe there is something I can tell to Linux so that it gives my > environement to anyone > changing user to myuser? > You are not supposed to use sudo to do this. The correc

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Simon Matter
hat you mean? Simon > -= Mail sent through WebTop2 =- > -- > Da: Simon Matter > A: Gabriele Bulfon > Cc: info-cyrus@lists.andrew.cmu.edu > Data: 3 novembre 2010 17.56.52 CET > Oggetto: Re: Running

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Gabriele Bulfon
=- -- Da: Simon Matter A: Gabriele Bulfon Cc: info-cyrus@lists.andrew.cmu.edu Data: 3 novembre 2010 17.56.52 CET Oggetto: Re: Running Cyrus Imap under a different user Hello, I need to run cyrus as a different user, because for some reason I don't want to touch system users. I've built all the c

Re: Running Cyrus Imap under a different user

2010-11-03 Thread Simon Matter
> Hello, > I need to run cyrus as a different user, because for some reason I don't > want to touch system users. > I've built all the cyrus stuff under this different user, also using the > configure switches > (--with-cyrus-user=myuser --with-cyrus-group=mygroup). > I followed the documentation t