Cyrus authentication with ADS

2007-04-13 Thread ram
Is there a how to of authenticaing cyrus against and ADS server 
Can I use sasl with PAM and configure the ADS in my /etc/ldap.conf 


Thanks
Ram



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


Re: Aliases in Cyrus ?

2007-04-13 Thread Ing. Andrea Vettori


This was the little problem. Now, my big problem.

The LDAP have user names like uidXXX, where XXX are numbers.
Autentification is OK, work really well. but having mailbox like
[EMAIL PROTECTED] is not really what i want.

Is there a way to bind a uid to a mailbox ? using my uid to log in,  
but

using [EMAIL PROTECTED] to send/receive mail.



I'm using sendmail virtusertable for this.

--
Ing. Andrea Vettori
Consulente per l'Information Technology



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


Re: Cyrus authentication with ADS

2007-04-13 Thread Dmitriy Kirhlarov
On Fri, Apr 13, 2007 at 01:38:09PM +0530, ram wrote:
 Is there a how to of authenticaing cyrus against and ADS server 
 Can I use sasl with PAM and configure the ADS in my /etc/ldap.conf 

AD can authenticate users as standard ldap server.
Take a look to saslauthd.

WBR.
Dmitriy

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


Re: Aliases in Cyrus ?

2007-04-13 Thread Wolfgang Hennerbichler


On 13.04.2007, at 09:59, [EMAIL PROTECTED] wrote:

Is there a way to bind a uid to a mailbox ? using my uid to log in,  
but

using [EMAIL PROTECTED] to send/receive mail.


This all depends on your MTA and is not cyrus related. I've done the  
whole (sendmail-virtusertable-like) aliasing in ldap+exim, if you use  
exim I can provide you some help, but you will need to do a lot of  
reading.



Sincerely,
Daniel Sipasseuth


wogri

--
www.vix.at // www.aco.net // www.sth.ac.at
[EMAIL PROTECTED] // WH844-RIPE
Vienna University Computer Center
Tel: +43 1 4277-14031 // Fax: -9140




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


Group list

2007-04-13 Thread c1090
Hi,

For a Migration I need a list of group members (without going through cyrweb).

Any ideas?

Thanks



This email and any files transmitted with it is confidential and intended 
solely for the person or organisation to whom it is addressed. 

If you are not the intended recipient, you must not read, copy or disseminate 
the information or take any action in reliance on it and it would be 
appreciated if you would also notify the sender by reply email and then delete 
this email immediately.

All messages passing out of this gateway are checked for viruses but Northern 
Constabulary strongly recommends that you check for viruses using your own 
virus scanner as Northern Constabulary will not take responsibility for any 
damage caused as a result of virus infection.

Tha am Post D seo agus faidhlichean sam bith na luib diomhair agus a-mhain 
airson an neach no aneagrachadh gu bheil e air a chur.

Mar a deach a chur thugad-sa chan eil coir agad a leughadh, sgaoileadh no 
letbhreac a dheanamh de fhiosrachadh sam bith a th'ann no bhith an urra ris an 
fhiosrachadh sin airson gniomh sam bith agus bhiodhte nad chomain nan cuireadh 
tu fios air ais air Post D chun neach a chuir thugad e agus an uairsin nan 
cuireadh tu as dhen Phost D anns a' bhad.

Tha gach teachdaireachd a tha a' dol tron t-sioltachan seo air an sgrudadh 
airson galaran ach tha Northern Constabulary a' moladh gu laidir gun dean thu 
sgrudadh airson galaran a' cleachdadh na h-uidheim sgrudaidh agad fhein oir cha 
ghabh Northern Constabulary uallach airson milleadh sam bith a th'air 
adhbhrachadh air sgath ghalaran.

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

Réf. : Re: Réf. : Re: Aliases in Cyrus ?

2007-04-13 Thread daniel . sipasseuth

 Is there a way to bind a uid to a mailbox ? using my uid to log in,
 but
 using [EMAIL PROTECTED] to send/receive mail.

This all depends on your MTA and is not cyrus related. I've done the
whole (sendmail-virtusertable-like) aliasing in ldap+exim, if you use
exim I can provide you some help, but you will need to do a lot of
reading.

 Sincerely,
 Daniel Sipasseuth

wogri

I can't modify the LDAP schema. :(
And i don't really understand how LDAP works.
To me, it's like a super read-optimized database representing objects like
in a unix filesytem.

If you have good docs about how the protocols works, i'll read them. :)

 Thanks for the quick reply.

 So the only way to do this is to use the virtual users ability of
 the MTA
 ?

Don't know if it's the only method. But cyrus takes the name of the
user mailbox from the MTA so I think it's the MTA that should
translate between email address and cyrus user name.

Hope this helps

 The LDAP have user names like uidXXX, where XXX are numbers.
 Autentification is OK, work really well. but having mailbox like
 [EMAIL PROTECTED] is not really what i want.

what values of this parameters in your imapd.conf:
defaultdomain
virtdomains
?

WBR
Dmitiry

i don't have any virtual domain set.
i'm actually trying to configure this.
need some time to understand the way postfix  cyrus handle them :)

Thanks for your help :)

Cordialement,

Daniel Sipasseuth
PSA PEUGEOT CITROËN
DINQ/DSIN/INSI/ISSI/MESG
[EMAIL PROTECTED]


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


Managing Cyrus partitions managing from php?

2007-04-13 Thread Kristaps Armanis
Hello!

Have done moving  upgrading here to 2.3.8 and brand new
hardware.
Old system was managed through perl using Cyrus::IMAP::Admin
Moving user to another partition for balancing was easy:
$client-renamemailbox(user/$username,user/$username,$partition)
or warn moveuser:  . $client-error;

Anyone can sugest how to do this from php?


And is there a way to quickly switch which partition is used
by autocreate patch partition-default: /var/spool/imap8
I read the patch and found function get_partition() before
creation, but how it can be used?
Else all users get partition default.



Thank you! Any help would be nice! ;)
--
krisha



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


simple mailbox accounting

2007-04-13 Thread Alain Spineux

Hi

It should be interesting to have mailbox accounting about :

- number of emails delivered into a mailbox
- number of bytes delivered into a mailbox (this is not quota)

These counters could be stored like ANNOTATION, the same way expire is stored.

And the counters could be maintained the same way the quota is.

Any comment ?


--
Alain Spineux
aspineux gmail com
May the sources be with you

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


Re: remove entry from deliver.db

2007-04-13 Thread Derek T. Yarnell
On Thu, 2007-04-12 at 13:40 -0400, Greg A. Woods wrote:
 At Thu, 12 Apr 2007 11:32:49 -0400, Derek T. Yarnell wrote:
 Subject: remove entry from deliver.db
  
  Is there a way to remove an entry from the deliver.db?  Like a
  spam/virus solution quarantined a message, we delivered it into the
  cyrus mailbox and user deleted it.  We tried to re-deliver the message
  and it now gets caught in the duplicate checker.
 
 That sounds like a design flaw in your spam/virus system.
 
 The delivery of a message to Cyrus should only ever have to happen once.
 The quarantine area could just be another folder.

Well I am not really here to debate the design of the spam/virus system
because it is coming from another department. But it may be a design
flaw not to allow a management of of the deliver.db so my initial
question stands, is there a way to delete entries out of the deliver.db
before they are just purged in the normal (3day in redhat) cycle?

 If the user accidentally deletes a message then restoring it from
 backups should be no different for a message in the Junk folder
 vs. one in any other folder, no?

Depends, you need to know more of the circumstances and in this case it
happened minutes after it was delivered so yeah, backups won't help.

 Alternately the quarantine system could simply send a separate unique
 notification message to the user and then only deliver the quarantined
 message if the user requests it somehow.  I really don't like that idea
 for many reasons though.

The message is untouched by the quarantine, so to munge a new message id
would be the wrong way to approach this IMHO.

-- 
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
[EMAIL PROTECTED]



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


Re: remove entry from deliver.db

2007-04-13 Thread Andrew Morgan

On Fri, 13 Apr 2007, Derek T. Yarnell wrote:


On Thu, 2007-04-12 at 13:40 -0400, Greg A. Woods wrote:

At Thu, 12 Apr 2007 11:32:49 -0400, Derek T. Yarnell wrote:
Subject: remove entry from deliver.db


Is there a way to remove an entry from the deliver.db?  Like a
spam/virus solution quarantined a message, we delivered it into the
cyrus mailbox and user deleted it.  We tried to re-deliver the message
and it now gets caught in the duplicate checker.


That sounds like a design flaw in your spam/virus system.

The delivery of a message to Cyrus should only ever have to happen once.
The quarantine area could just be another folder.


Well I am not really here to debate the design of the spam/virus system
because it is coming from another department. But it may be a design
flaw not to allow a management of of the deliver.db so my initial
question stands, is there a way to delete entries out of the deliver.db
before they are just purged in the normal (3day in redhat) cycle?


There are no tools shipping with Cyrus to modify deliver.db.  You'd have 
to write your own, unless someone else in Cyrus land has already done so.



If the user accidentally deletes a message then restoring it from
backups should be no different for a message in the Junk folder
vs. one in any other folder, no?


Depends, you need to know more of the circumstances and in this case it
happened minutes after it was delivered so yeah, backups won't help.


The delayed expunge feature of Cyrus 2.3 could help in this case.


Alternately the quarantine system could simply send a separate unique
notification message to the user and then only deliver the quarantined
message if the user requests it somehow.  I really don't like that idea
for many reasons though.


The message is untouched by the quarantine, so to munge a new message id
would be the wrong way to approach this IMHO.


I'm still a little confused why you are trying to deliver the same message 
a second time...


If you expect to be delivering duplicate messages on a regular basis, then 
you should probably turn of duplicate delivery suppression in Cyrus.  :)


Andy

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