Re: How to activate sieve script for users?

2006-03-09 Thread Laurent Larquère

Hi,
you dont need to known user passwords to set sieve scripts.
Become the cyrus user if you can.
For each user :
- determine the directory for sieve scripts of the user
(in imapd.conf, see sievedir hashimapspool fulldirhash)
- mkdir -p the dir if not exist
- copy your script for the user in that dir (eg: s0.script)
- sievec s0.script s0.bc
- ln -s s0.bc defaultbc
- (if root) set ownership of the entire sieve hierarchy to the cyrus user

Kai Wang a écrit :



Greetings.

We are migrating from uw-imap to cyrus. I have converted our users' 
procmailrc files to sieve scripts. I have root access and know the 
user cyrus' password. But I don't know users' password. Can anybody 
tell me how to activate for them?


Thanks in advance




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: saslauthd, ldap_filter

2005-06-22 Thread Laurent LARQUÈRE

Hi
have you tried a filter with OR (|) ?

Paul van der Vlis wrote:


Hello,

I have LDAP authentification working via SSL to a Novell server, and I
am glad ;-)  But OK, a little problem:

The users are not all in the same 'container'. When I use:
ldap_filter: cn=%u,ou=lrl,o=wlg

I can authenticate some uers, but other users need:
ldap_filter: cn=%u,ou=ler,o=wlg

Is there a way to realise searching with more then one filter?

With regards,
Paul van der Vlis.

btw: my /etc/saslauthd.conf:

ldap_servers: ldaps://192.168.10.249/
ldap_auth_method: fastbind
ldap_tls_cacert_file: /path/to/rootcert.pem
ldap_filter: cn=%u,ou=lrl,o=wlg

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with cyradm - Solaris 9

2004-09-20 Thread Laurent Larquère
Hi,
in the cyrus-imapd-2.2.8/lib/imclient.c
comment out the line 238
/* hints.ai_flags = AI_CANONNAME; */
and rebuild your imapd
Nigel Cass wrote:
Hello All.
I've installed the latest version of cyrus and cyrus SASL and everything
seems to be working Ok with regard to the server.
Imtest allows me to use the plain login mechanism, which is then
authenticated against an LDAP directory using saslauthd. I've not yet
configured cyrus to use SSL, but that will be done once I'm confident
everything is working.
The problem I'm having is that when I attempt to run cyradm I *always* get
an error of the form below.
roche# cyradm localhost
imclient_connect: unknown host localhost at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Cyrus/IMAP/Admin.pm line
71.
Having done quite a lot of googleing and trawling through archives I've seen
a few people suggest that this is a bug that is limited to Solaris 9, and
one patched solution that recommends reverting to parts of a much older
cyrus codebase.
Just wondering if anybody can clarify what the issue is and what the
solution might be as to be honest I'm still inclined to think I'm doing
something stupid :)
TYIA
Nigel Cass
Systems Engineer
University of Hull
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: squatter target wildcards

2003-12-17 Thread Laurent Larquère






Hi
squatter has a -r option for recursive work
it can be used to limit the number of "known" top mailboxes.
for example squatter -r user works for me

Craig Ringer a crit:

  No, the domain is always appended to the end
of the mailboxname. Try: 

ipurge -f -d 3 user/%/mail/[EMAIL PROTECTED]

  
  
I've noticed that specifying wildcards to squatter doesn't seem to
work. This makes it rather hard to automate things like 
  
squatter -s user.% 
  
cyrus$ bin/squatter -v user.% 
error opening user.%: Mailbox does not exist 
  
from cyrus.conf - I'm currently using a cron job instead. I was
wondering if there is any way to use the same wildcard syntax that's
used in ipurge with squatter. 
  
Craig Ringer 
  


-- 

Laurent Larqure - Signature

  

  Laurent
Larqure
  
  
  AAcom - L'Informatique communicante


  Responsable
Systmes
  
  
  120
rue du Marin Blanc - Z.I. les
Paluds - 13685 Aubagne Cedex


  Tl
: 04 42 72 19 03
  
  
  
  Tl
: 04 42 72 65 69 - Fax
: 04 42 72 65 68


  Cell : 06 89 77 37
51
  
  
  http://www.aacom.fr

  






Re: plus addressing issues (puremessage followup question)

2003-12-13 Thread Laurent Larquère




Hi
have you played with the OperatorChars option in sendmail ?
by default it contains the "+" separator :
O OperatorChars=.:[EMAIL PROTECTED]/[]+
try to remove it ...

Paul Schiro a crit:

  Andrew,

No dice.  Didn't break anything, but didn't fix the issue either.

Good suggestions though, thanks!  I guess we'll just have to continue
handling quarantine manually

--
Paul Schiro
Sr. Systems Engineer
American Select
[EMAIL PROTECTED]
720-280-7023

- Original Message - 
From: [EMAIL PROTECTED]
To: "Paul Schiro" [EMAIL PROTECTED]; "cyrus info"
[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 9:38 AM
Subject: Re: plus addressing issues (puremessage followup question)


  
  
On Fri, 24 Oct 2003 [EMAIL PROTECTED] wrote:



  
So does anyone in the group have any suggestions for completely
disabling plus address handling in the cyrusv2 mailer, or anything
else that might alleviate my puremessage quarantine release woes?  I
do _not_ need [EMAIL PROTECTED] functionality, or
[EMAIL PROTECTED] or any of that to work.  We don't use that
stuff at all and never plan to.  I just would like sendmail to be able
to handle plus addresses as though it was using a typical delivery
agent.  Any suggestions would be appreciated.

--
Paul Schiro
Sr. Systems Engineer
American Select
[EMAIL PROTECTED]
720-280-7023


  
  Probably not an answer at all, but...

if you were using postfix instead of sendmail I would be able to tell
you that you can disable the delimiter '+' in the configuration files of
the postfix application.

Since you are not using postfix, I can only suggest that you might look
at disabling the delimiter in the sendmail application.  That will force
the address [EMAIL PROTECTED] to be rejected rather than processed
to [EMAIL PROTECTED].
  

Paul,
  I think you want to look at turning off "preserve_local_plus_detail" in
your sendmail configuration.  See:
  http://www.sendmail.org/m4/features.html#preserve_local_plus_detail
for details.  I would strongly recommend testing this before using it in
production, since I'm not sure what else turning this off will do.
  A line like:
define(`_PRESERVE_LOCAL_PLUS_DETAIL_', 0)
after the line that defines cyrus2 as your local mailer in your mc file
certainly seems to take out plussed-user support.
  Hope this helps, but if it eats all of your email and causes your server
to disapparate, my employer and I are not liable. :)
--
Andrew Caird


  
  
  



-- 

Laurent Larqure - Signature

  

  Laurent
Larqure
  
  
  AAcom - L'Informatique communicante


  Responsable
Systmes
  
  
  120
rue du Marin Blanc - Z.I. les
Paluds - 13685 Aubagne Cedex


  Tl
: 04 42 72 19 03
  
  
  
  Tl
: 04 42 72 65 69 - Fax
: 04 42 72 65 68


  Cell : 06 89 77 37
51
  
  
  http://www.aacom.fr

  






Re: imap and ldap

2003-12-11 Thread Laurent Larquère
Hi
you must have a ldap capable saslauthd
# saslauthd -v
saslauthd 2.1.17
authentication mechanisms: getpwent pam rimap shadow ldap
to obtain this, you have to configure  --with-ldap

Geert Reijnders wrote:

Hi all

Again I have a question. I want to setup a mail-server and the users must be retrieved 
from the ldap-server. I have heard from several people and read in several guides that 
it is possible with saslauthd -a ldap and put the following option in the imapd.conf:
sasl_pwcheck_method: saslauthd
But of course when I try to do that I get error messages. The first one is when I execute the command saslauthd -a ldap:

saslauthd[285] :set_auth_mech   : unknown authentication mechanism: ldap

the solution is not by using pam because that is not an option in saslauthd.

The second one is when I try to open a mailbox in outlook express. Then I get the messages that on line  (the line where sasl_pwcheck_method is located) that the command is unknown.

What am I missing or doing wrong? I hope anyone could help me.

Thanks in advance

Geert Reijnders





 




Re: Problems with ./configure on SunOS 9

2002-12-08 Thread Laurent Larquère
[EMAIL PROTECTED] wrote:


Hi !!!

After many tries and tracing the inner workings of the
configure-script we ran into a grinding halt with cyrus-imapd 2.1.11
The configure-script complains about not being able to find
libsasl2 ... ( or sasl.h ? ).
But the cyrus-sasl package 2.1.9 IS installed and we have (of
course :) ) used the option --with-sasl=PATH-TO-SASL-INSTALLATION
It seems to be a problem with the autoconf-script.

The question is : has anyone compiled cyrus-imapd-2.1.11 with
cyrus-sasl-2.1.9 using gcc and gnu-make on SunOS 9 ???

thank you in advance
[EMAIL PROTECTED]
 

Yes, i have
and it runs like a charm

i use CFLAGS=... CPPFLAGS=... LDFLAGS=... LIBS=... ./configure 
--prefix=...
to give -I and -L of sasl2 to the configure script



smime.p7s
Description: S/MIME Cryptographic Signature