Re: howto auto create user mailbox ?

2007-06-05 Thread Benjamin Donnachie
JOYDEEP wrote:
> But I like such an arrangement where user mail box can be created
> automatically when user successfully log into cyrus.

I think I answered that in my email timed 11:23 yesterday.

Ben

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: Ghost emails

2007-06-05 Thread Florian Gleixner
As far as i understand cyrus imapd, it does not delete the message
instantly. It marks the message and the /usr/lib/cyrus/bin/cyr_expire
job deletes the message some days later. The delete job is configured in
/etc/cyrus.conf
  # this is only necessary if using duplicate delivery suppression
  delprune  cmd="cyr_expire -E 3" at=0400
deletes duplicte messages older than 3 days every day at 4am.

But i did not yet fully understand the entire process.

Giuseppe Ravasio wrote:
> Alle 07:30, martedì 5 giugno 2007, Florian Gleixner ha scritto:
>> Your logs say:
>>
>> May 31 20:37:37 server lmtpunix[31094]: duplicate_mark:
>> <[EMAIL PROTECTED],it> [EMAIL PROTECTED]
>>
>> this means, that cyrus thinks this message is a duplicate of a existing
>> mail in the users mailbox. Some broken email clients may generate
>> non-unique Message-Ids (groupwise has this bug in one version, some
>> outlook versions, ...). Search your mail logs (/var/log/mail) whether
>> you see the Id [EMAIL PROTECTED],it
>> for different incoming mails.
> 
> I think that when a message is marked as duplicate i should see a line like:
> 
> Jun  5 09:11:24 thot lmtpunix[23224]: dupelim: eliminated duplicate message 
> to 
> user.beppe id <[EMAIL PROTECTED]> (delivery)
> 
> in fact searching the id in a month logs returns only the lines included in 
> my 
> first email... so it seems that there was no duplicate suppression.
> 
> Last but not least it doesn't explain why the message is on the FS but not in 
> the IMAP folder's index!
> 
> Giuseppe
> 
> 
> 
> 
> 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
> 


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: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted

2007-06-05 Thread Carson Gaspar

Benjamin Donnachie wrote:

JOYDEEP wrote:
  

setrlimit: Unable to set file descriptors limit to -1: Operation not
permitted


I seem to recall this either being covered in here before or in the
docs.  Basically, some operating systems let you set the file descriptor
limit to -1, which means unlimited.  Some don't and generate that error.

You can safely ignore it.


If it's meaningless, and expected, why log it at all? Logging noise is 
almost always a bad idea.


--
Carson

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: renaming INBOX

2007-06-05 Thread Dudi Goldenberg
 

 >  the hebrew version of thunderbird show "דואר נכנס" instead of inbox (as far 
 > as i remember... -  i don't like heb interface to apps..) 

Same here, but I need happy customers :-)

D.



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: renaming INBOX

2007-06-05 Thread Yedidia Klein
the hebrew version of thunderbird show " " instead of inbox (as 
far as i remember... -  i don't like heb interface to apps..)



--Y


Dudi Goldenberg wrote:


Hello list,

Is there a way to rename INBOX to something else in my native language
(Hebrew in my case)?

I have a customer that insists of having all Hebrew folder names.

My concern is that incoming messages will have no INBOX to deliver the
mail into.

Any pointers?

Dudi

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
  



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 with a NFS storage. random DBERROR

2007-06-05 Thread Paul Dekkers
Hi,

Michael Menge wrote:
> after the problem with the wiki was solved, i added a summery about
> CyrusCluster
> http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/CyrusCluster .
> Please feel free to add infos about your experience with NFS

Good suggestion. I will do some more testing, for now: I did some
experiments on FreeBSD. I noticed that NFSv3 with -L (the -o nolock
equivalent) works too for storing both metadata and data on NFSv3, and
that separating metadata to a local (UFS) partition while mounting with
normal NFS options for the data partition works too. (As with Linux. But
a little bit faster actually, while storing both metadata and data on
NFS with local locking seems to be a bit slower.)

FreeBSD and NFSv4 is a no-go: I get a bunch of "Fatal error: failed to
mmap" errors.
And I guess this also indicates what makes NFS(v3) tricky: the mmaps
have to work, not sure if this can be considered 100% safe. (Still
reluctant to put this in production therefore, but perhaps there's
nothing to fear.)

For Linux the NFSv4 worked better, seperating metadata and storing the
data on NFSv4 is fine, but putting the metadata on NFSv4 too doesn't
work that well. Performance is bad, throughput decreases and things
stall for a while eventually. I just checked with Fedora 7 too, similar
results as with RHEL 4.

So it sounds like Linux and FreeBSD share the same matrix for NFSv3,
either local locking (no NFS) for all data, or NFS locking for the data
and local (ext3/UFS in my case) metadata. NFSv4 doesn't really add much.

Not sure what much testing I can do to assure that it is safe to put
data on NFS while storing metadata on the local filesystem. It doesn't
give an active-active setup, but there are certainly advantages in
performance and reliability. (But perhaps GFS is still worth checking,
if not just for the metadata ;-))

Paul


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: problem with virtualdomain

2007-06-05 Thread Dmitriy Kirhlarov

JOYDEEP wrote:

I have configured cyrus-imapd also to authenticate user by LDAP. hence
during the creation of an user account
; his/her imap folder will be created automatically.  To do this I have
provided the cyrus admin user-id and password
into email-admin of egroupware. The web-interface I'm using is
felamimail. During the creation of a new account I can see the
successful loginto the cyrus by its admin user by email admin. But mail
  


1. add '[EMAIL PROTECTED]' to cyrus admins
2. use this account into email-admin for creating "user1", "user2", ...


cyrus automaticaly create "user/[EMAIL PROTECTED]" and 
"user/[EMAIL PROTECTED]" for you.


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: renaming INBOX

2007-06-05 Thread Michael Menge

Hi,

Most mailclient us an other name to display the Folder INBOX in  
language, but that is a feature of the Mailclient. The Foldername  
INBOX is fixed

(see the IMAP RFC).

Michael

Quoting Dudi Goldenberg <[EMAIL PROTECTED]>:


Hello list,

Is there a way to rename INBOX to something else in my native language
(Hebrew in my case)?

I have a customer that insists of having all Hebrew folder names.

My concern is that incoming messages will have no INBOX to deliver the
mail into.

Any pointers?

Dudi

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






M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

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: trying to build kind of dropbox

2007-06-05 Thread Michael Menge

Hi,

you can create a shared folder for usrers and set the ACL so that some  
users have read and write permission. But afaik the E-Mail will be  
marked as unread for all users that have not read the E-Mail.


Michael

Quoting Boris Andratzek <[EMAIL PROTECTED]>:


Boris Andratzek wrote:

Hej all,


I'm new to this list and trying to find a way to build this:

There shall be a shared folder in cyrus which is readable and writeable
for some users. It will be used as a dropbox. All mail in there shall be
marked as read for everybody everytime. Is this possible with pure ACL
managemant or do I have to use sieve scripts for reach user?


Hej all,

is there no idea how to build something like that??

I was hoping it should be possible!

Boris



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






M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

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: trying to build kind of dropbox

2007-06-05 Thread Boris Andratzek
Boris Andratzek wrote:
> Hej all,
> 
> 
> I'm new to this list and trying to find a way to build this:
> 
> There shall be a shared folder in cyrus which is readable and writeable
> for some users. It will be used as a dropbox. All mail in there shall be
> marked as read for everybody everytime. Is this possible with pure ACL
> managemant or do I have to use sieve scripts for reach user?

Hej all,

is there no idea how to build something like that??

I was hoping it should be possible!

Boris



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


renaming INBOX

2007-06-05 Thread Dudi Goldenberg
Hello list,

Is there a way to rename INBOX to something else in my native language
(Hebrew in my case)?

I have a customer that insists of having all Hebrew folder names.

My concern is that incoming messages will have no INBOX to deliver the
mail into.

Any pointers?

Dudi

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: problem with virtualdomain

2007-06-05 Thread JOYDEEP
Benjamin Donnachie wrote:
> JOYDEEP wrote:
>   
>> but the problem is it can't create the mail box automatically. I have
>> providewd the cyrus admin called"cyrus" and password to
>> the email admin so that during creation of a  new user it also creates
>> an imap account for that user too.
>> 
>
> Does it work for virtdomains: userid ?  What is the exact problem?  Post
> the relevant part of your logs.
>   

Dear Benjamin,
thanks for your response.  Well here I have egroupware  system which is
based on LDAP authentication.
I have configured cyrus-imapd also to authenticate user by LDAP. hence
during the creation of an user account
; his/her imap folder will be created automatically.  To do this I have
provided the cyrus admin user-id and password
into email-admin of egroupware. The web-interface I'm using is
felamimail. During the creation of a new account I can see the
successful loginto the cyrus by its admin user by email admin. But mail
boxes are not created. please note no patches are needed here
as cyradm should do this. autocreatequta is srt to 10.

here is the log when email-admin successfully loginto cyrus as admin
-
Jun  5 12:59:06 lvps87-230-8-228 imap[5251]: executed
Jun  5 12:59:06 lvps87-230-8-228 imap[5251]: accepted connection
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 fd=12 ACCEPT from
IP=127.0.0.1:57156 (IP=0.0.0.0:389)
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 op=0 BIND dn=""
method=128
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 op=0 RESULT
tag=97 err=0 text=
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 op=1 SRCH
base="dc=opendingo,dc=com" scope=2 deref=0 filter="(uid=cyrus)"
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 op=3 SRCH
base="dc=opendingo,dc=com" scope=2 deref=0 filter="(uid=cyrus)"
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: <=
bdb_equality_candidates: (uid) index_param failed (18)
Jun  5 12:59:06 lvps87-230-8-228 slapd[7371]: conn=248 op=3 SEARCH
RESULT tag=101 err=0 nentries=0 text=
Jun  5 12:59:06 lvps87-230-8-228 imap[5251]: login:
lvps87-230-8-228.dedicated.hosteurope.de [87.230.8.228] cyrus plaintext
User logged in

>   
>> but that auto-imap creation is not working here. I have to manually do
>> "cm user/[EMAIL PROTECTED] every time.
>> 
>
> Alternatively, try the UoA autocreate patch -
> http://email.uoa.gr/projects/cyrus/autocreate/
>
> You don't specify which version you're using or how you installed it.
> However, if you've used a binary install this patch may have already
> been included - try enabling some of the config options and testing.
>
> Ben
> 
> 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
>
>
>   


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: howto auto create user mailbox ?

2007-06-05 Thread BipinDas




JOYDEEP wrote:

  Dear llist,

I am a newbie in cyrus-imap server technology. I am using
cyrus-imapd-2.2.12-5.
the map server is running well. regarding user inbox I have to create it
by using cyradm tool as cyrus admin user.
But I like such an arrangement where user mail box can be created
automatically when user successfully log into cyrus.

how can I achieve this ? what may be the configuration of imapd.conf ?
thanks.


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



  

Hi JoyDeep,

Take a look at the following link

http://email.uoa.gr/projects/cyrus/autocreate/README.autocreate-cyrus-2.3

It will help you a lot

Best luck.


-- 




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: problem with virtualdomain

2007-06-05 Thread Benjamin Donnachie
JOYDEEP wrote:
> but the problem is it can't create the mail box automatically. I have
> providewd the cyrus admin called"cyrus" and password to
> the email admin so that during creation of a  new user it also creates
> an imap account for that user too.

Does it work for virtdomains: userid ?  What is the exact problem?  Post
the relevant part of your logs.

> but that auto-imap creation is not working here. I have to manually do
> "cm user/[EMAIL PROTECTED] every time.

Alternatively, try the UoA autocreate patch -
http://email.uoa.gr/projects/cyrus/autocreate/

You don't specify which version you're using or how you installed it.
However, if you've used a binary install this patch may have already
been included - try enabling some of the config options and testing.

Ben

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: howto auto create user mailbox ?

2007-06-05 Thread Toschi Pietro
Cyrus doesn't support mailbox autocreation in it's mainstream version, AFAIK
You'll need to download it from source and apply a patch available from Athen's 
University.
Please check http://email.uoa.gr/projects/cyrus/ (autocreate inbox patch for 
cyrus) for more details.
By
P



Da: [EMAIL PROTECTED] per conto di JOYDEEP
Inviato: mar 05/06/2007 12.02
A: Cyrus User's Mailing List
Oggetto: howto auto create user mailbox ?



Dear llist,

I am a newbie in cyrus-imap server technology. I am using
cyrus-imapd-2.2.12-5.
the map server is running well. regarding user inbox I have to create it
by using cyradm tool as cyrus admin user.
But I like such an arrangement where user mail box can be created
automatically when user successfully log into cyrus.

how can I achieve this ? what may be the configuration of imapd.conf ?
thanks.


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



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

howto auto create user mailbox ?

2007-06-05 Thread JOYDEEP
Dear llist,

I am a newbie in cyrus-imap server technology. I am using
cyrus-imapd-2.2.12-5.
the map server is running well. regarding user inbox I have to create it
by using cyradm tool as cyrus admin user.
But I like such an arrangement where user mail box can be created
automatically when user successfully log into cyrus.

how can I achieve this ? what may be the configuration of imapd.conf ?
thanks.


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


Cyrus wiki SquirrelMailKerberos

2007-06-05 Thread Thomas Vogt
Hello

http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/SquirrelMailKerberos
talks about patches for squirrelmail. Where can i get them? I don't see
any attached patches.

Regards,
Tom
-- 
* Thomas Vogt System Engineer - SolNet ISP (AS 9044)  *
 * phone: +41 32 686 82 22 / PGPKEY-3239B720 *


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

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: Ghost emails

2007-06-05 Thread Giuseppe Ravasio
Alle 07:30, martedì 5 giugno 2007, Florian Gleixner ha scritto:
> Your logs say:
>
> May 31 20:37:37 server lmtpunix[31094]: duplicate_mark:
> <[EMAIL PROTECTED],it> [EMAIL PROTECTED]
>
> this means, that cyrus thinks this message is a duplicate of a existing
> mail in the users mailbox. Some broken email clients may generate
> non-unique Message-Ids (groupwise has this bug in one version, some
> outlook versions, ...). Search your mail logs (/var/log/mail) whether
> you see the Id [EMAIL PROTECTED],it
> for different incoming mails.

I think that when a message is marked as duplicate i should see a line like:

Jun  5 09:11:24 thot lmtpunix[23224]: dupelim: eliminated duplicate message to 
user.beppe id <[EMAIL PROTECTED]> (delivery)

in fact searching the id in a month logs returns only the lines included in my 
first email... so it seems that there was no duplicate suppression.

Last but not least it doesn't explain why the message is on the FS but not in 
the IMAP folder's index!

Giuseppe




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