Upgraded cyrus 3.0.1: lmtpd segfaults

2017-05-16 Thread Sandra R. S. Pisciotto

Hello everybody,


I am trying to upgrade my cyrus-2.4.17 to cyrus-3.0.1 but I have 
found some problems with lmtp segfaults as


described some time ago in this info-cyrus thread

https://lists.andrew.cmu.edu/pipermail/info-cyrus/2015-November/038585.html

   I want to know it this problem has been solved, because I can use 
autocreate in my cyrus-murder configuration.



   Is there any solution?

Thanks a lot.

Sandra



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


perl script

2014-04-16 Thread Sandra Regina de Souza
Hello!

   I'm trying to run a perl script which one do a subscribe
into a user.test.spam mailbox, for example. The mailbox user.test is ok 
(has been created first, and is in use). But I have to create another
mailbox, for every user in cyrus imap,named for example "spam".
   When I try to do a $err = $imap->subscribe("user.bob"), after
$my $Err = $Imap->create("user.test.spam")
  it does nothing.
  My cyrus imap version is : v2.4.16.

  How can I do a subscribe in perl script?

Thanks in advance.

sandra

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


help with two cyrus systems merge

2013-08-19 Thread Sandra Regina de Souza
Hi there!

We have 2 e-mail servers that have cyrus 2.3 installed on each
other. But we want to migrate these two ones to only one new server
with cyrus-2.4.
Is there a way that we could do that to preserve seen flags?
I tried to merge the two mailboxes.db into a mailboxes.txt
file , and generate a mailboxes.db, but  it did not work.
I have read that in cyrus-2.4  cyrus.index file
content is different from cyrus-2.3.
I have 5000 acconunts and  tried to use imapsync,  but it is too
slow .
Thank you for your help.

Sandra

University of Campinas - Sao Paulo - Brasil

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: upgrade problem 2.0.16 Berkeley DB 3 to 2.2.12 Berkeley DB 4

2005-07-07 Thread Sandra
I was trying the same procedure here :  upgrade problem 2.0.16 Berkeley 
DB 3 to 2.2.12 Berkeley DB 4


I have used the ctl_mboxlist -d to dump the old db3 mailboxes.db file , 
on the old machine . After a copy to the new
machine with 2.2.12 Berkeley DB 4, I did a ctl_mboxlist -u., and a new 
mailboxes.db was  created.

It was ok, running perfect.

But I would like to convert Berkeley DB do skiplist, and when I did the 
following, there was a problem  :


./cvt_cyrusdb /cyrus/imap/mailboxes.db berkeley-nosync 
/cyrus/imap/mailboxes.db.new skiplist
Converting from /cyrus/imap/mailboxes.db (berkeley-nosync) to 
/cyrus/imap/mailboxes.db.new (skiplist)

fatal error: can't open old database  <<<<

Could anybody help me? If its working with DB4 why it can't  read it?

Thanks - Sandra




which Mika Iisakkila wrote:


Pascal Mouret wrote:


Has anybody got an idea ? Where did I go wrong ? Could it be a result of
running version 2.2.12 cvt_cyrusdb while 2.0.16 is still up ?



Running two different versions (or even having them present on the
system) of BDB libraries is always somewhat a problem. Save yourself
a lot of trouble and use Cyrus' utilities to dump the mailbox database
into a text file (ctl_mboxlist -d) on the old system, then read the
database back with ctl_mboxlist -u on the new installation.

cvt_cyrusdb is used to convert between two different Cyrus database
backends, not to upgrade a Berkeley database.

--mika
---
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


DBERROR db3: PANIC: Invalid argument

2005-05-09 Thread Sandra
Hello all!
   Last week we had some file systems errors and we had to run a fsck 
on a cyrus
file system. During the fsck, it had to remove and fix a lot of files 
and directories.
The result, I think, it was a corrupted data base , mailboxes.db, 
because since
that we had to run a lot of ctl_cyrusdb -rx on it.
   And I think that there is more things wrong .
   Is there any command I can run to identify where is the 
inconsistance on the
cyrus db file (mailboxes.db) or in another file? I have ran chk_cyrus 
and it has showed
some files and directories with problems if I remove it from the 
database is  this
sufficient?
  We now run Fedora Core 1, cyrus-imapd-2.1.13, cyrus-sasl-2.1.13.

Thanks in advance - Sandra
Campinas State University-
Computing Center - System Adminastor
---
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


sieve software with mail forwarding option

2003-07-15 Thread sandra
Hi People,

   I wonder what is the sieve software package that offers mail
forwarding
option , because I'm using websieve 0.61 and it doesn't have it. And
I have found at Internet sites that there are some sieve packages that
does it.
  Does anybody know anyone to informe me?

Thanks a lot.



Re: how to convert db4 mailboxes.db to db3 ?

2003-06-05 Thread sandra
Patrick,


   I have tried to do the conversion from db4 to skiplist for the
cyrus-imap
compiled with db4, but, there is a error message:


# ./cvt_cyrusdb mailboxes.db db4 mailboxes.skiplist skilist
fatal error: unknown old backend
Why doesnt it recognize db4? I have to compile with some other parameter,
like
--with-mboxlist-db=db4 ?

Thanks

Sandra




Patrick Morris wrote:

> I'd assume this is because you're moving from a system that uses db4 to
> one using db3.  If that's the case, the easiest thing to do is to
> convert them on the first system to a format both recognize (such as
> skiplist).  Then, convert the skiplist version back to db3 on the other
> system.
>
> sandra wrote:
>
> >I want to know how I can convert the files .db cyrus uses to db3!
> >
> >Thanks a lot.
> >
> >SAndra
> >
> >
> >
> >



how to convert db4 mailboxes.db to db3 ?

2003-06-04 Thread sandra
I want to know how I can convert the files .db cyrus uses to db3!

Thanks a lot.

SAndra




Cyrus LMTPD

2003-05-27 Thread sandra
Hello ALL,

I have cyrus-imap-2.1.12, cyrus-sasl-2.1.12, postfix-2.0.6 installed
in here. (pentium  , 2GB memory)
And we are receiving mail messages from a mail server via lmtpd, and
storing in cyrus-mailboxes.

The problem is that after a lot of messages like the following one,
the system is in out of memory
and we have to kill all the process (imap, saslauthd), after lmtpd
reaches about 800 lockers.

May 27 09:56:38 athena lmtpd[8649]: DBERROR db4: 639 lockers
May 27 09:56:38 athena lmtpd[8498]: DBERROR db4: 639 lockers
May 27 09:56:38 athena lmtpd[8662]: DBERROR db4: 638 lockers

And we have looked the internet for  clues, but nothing has solved our
problem. We have tried to
install the last version of db ( db-4.1.25), but it has not worked for
us.

Please, Iwe need help. What could we do? Is there any patch for lmtpd,
or any parameter to set up?

Thanks a lot.

sandra

Computing Center

Campinas State University - UNICAMP -
Brazil




Re: migrating UW IMAP messages to CYRUS - read status

2002-10-24 Thread sandra

Hi,

   I have tested imapcopy on an UW IMAP server, tranfering data from a
Cyrus server
to a local mailbox. Is has worked fine.
   But imapcopy that comes with imap-utils package is not for Cyrus. Is
there
a version to Cyrus? How to transfer from an UW IMAP to Cryus?


thanks a lot

Sandra





Re: migrating UW IMAP messages to CYRUS - read status

2002-10-23 Thread sandra
Kenneth,

   About the imapcopy. I have been reading it and It copies a mailbox
(INBOX) from a
host to a local mailbox. But is this copy  in the same standart that
Cyrus mantain
the messages files (1. 2. 3. 4.) etc? It doesn't seem!

Sandra





migrating UW IMAP messages to CYRUS - read status

2002-10-23 Thread sandra
Hi ALL,

   I have to migrate UW IMAP messages to CYRUS sever. I have done
it before, and all the messages that have been copied to Cyrus mailboxes

were marked as unseen, even when they have already been read in the
UW IMAP server.
   Is there a way to tell Cyrus to mark as read when there is the STATUS
: RO
line on the original message?

  Thaks a lot.

Sandra





cyrus imap without sasl

2002-09-18 Thread sandra

Hi people,

We have a question about athentication with cyrus+sasl.
Here we had configured our cyrus installation to use SASL + PAM to
authenticate users in a mysql database. We have read that there is
a way to use IMAP LOGIN instead to authenticate users via SASL PLAIN .
If it is
possible, how could I do it?
Because we think that there is no need to use SASL library in the
middle of the way to authenticate via PAM+mysql. Isnt it a better
performance issue? Or we are completely wrong?

   Thanks a lot.


SAndra -
Computing Center - Unicamp




Re: PHP Interface/Web GUI

2002-04-11 Thread sandra

HI !

   I have read a message about php-cyradm .
   But I couldn't download the package , because the link
to the file is incorrect.
   Is there another site to get it from?
   Or is anybody on this list that could point to me where could I find
it?

Thanks - Sandra

-

There is a tool to manage cyrus via php:

 http://freshmeat.net/projects/php-cyradm/

 I've tried the 1.x version once and it looked quite good.

 Cheers, DafDaf


 Ah, yeah. And there was a thread about web-interfaces for IMAP servers
a
 couple of weeks ago. Just search the archives.







[Fwd: sieve language- how to translate this procmail rule to sieve?]

2002-04-04 Thread sandra

HI,

I have to translate a lot of promailrc files of my users to sieve,
and I don't
know how to migrate this one  :

procmailrc file :

...
:0
* ^From:.*[EMAIL PROTECTED]
{
  :0 fhw
  | formail -i"Content-Type: text/html"
  :0
  IN. cpqd
}

How to use a "pipe" (ie, formail) in sieve?

I have searched for it on the archive but no success yet.

Thanks in advance

Sandra



--- Begin Message ---

HI,

I have to translate a lot of promailrc files of my users to sieve,
and I don't
know how to migrate this one  :

procmailrc file :

...
:0
* ^From:.*[EMAIL PROTECTED]
{
  :0 fhw
  | formail -i"Content-Type: text/html"
  :0
  IN. cpqd
}

How to use a "pipe" (ie, formail) in sieve?

I have searched for it on the archive but no success yet.

Thanks in advance

Sandra


--- End Message ---


Re: Postfix/Procmail/Cyrus-Imap

2002-04-02 Thread sandra

Is there a way to execute promail for only one user ?
I mean, set an alias at /etc/aliases point it to procmail and then,
at procmailrc file set filters rules?

  I have been trying that way but no success!

Thanks - sandra




postfix+cyrus+procmail- master.cf setup

2002-02-22 Thread Sandra


What is the correct value of user in  from this line in master.cf ,
when I configure it to send messages to procmail?

I have copied this example from some archive message, but
every message goes to cyrus user. What could I put to it goes
to the correct user?

Thanks in advance :


procmail  unix  -   n   n   -   -   pipe flags=R
user=cyrus argv=/usr/local/bin/procmail -p /etc/procmailrc \
 USER=${user} EXTENSION=${extension}


^


Thanks a lot!

Sandra




Cyrus+procmail

2002-02-21 Thread Sandra

Hi,

   I have cyrus-imapd-2.0.16 installed with PAM+mysql and postfix, and
I will migrate uw-imap users files to cyrus, but I have to migrate
the procmail rules too.
   And I would like to know if it's possible to install procmail instead

sieve to do the filtering function. As I'm reading in the info-cyrus
archive, it seems to be possible, but I haven't found any documentation
about it.
   Where could I get it?

   Thanks in advance.

Sandra





notify

2001-09-21 Thread Sandra

HI,

I was trying to  know why unix-notify is not working in cyrus-imap +
postfix. I have
compiled cyrus to use unix-notity socket, but  the message about over
quota is
displayed in /var/log/maillog.
   Is simple_notify.pl searching this message in  /var/log/messages or
Am i  wrong?
How does it work? Do I have to configure some place to change this
search?

   thanks.

sandra





crontrib/notify_unix/notify.pl

2001-09-14 Thread Sandra

HI!

  I was testing cyrus notification , but there is no notify.pl as
crontrib/notify_unix/Readme says to
start in notify perl program.

   Where is this program?

Sandra





mkimap - directories from "a" to "z" only

2001-09-04 Thread Sandra Regina

Hello again!



  Why does mkimap only create directories from "a" to "z" only and
doesn't create , for example, "0..9" too?
  I have tried to create from 0..9, altering mkimap to do that, but
cyrus doesn't authenticate a username like 9!
  How can I create user's mailboxes with numbers only and cyrus could
understand it?
  What is the problem? This question has been asked before, but anybody
has answered yet.
And I need it so much.

  Thanks a lot.

Sandra
[EMAIL PROTECTED]





mailbox names

2001-09-04 Thread Sandra Regina

Hello!


  I have found in cyrus-imap docs that o mailbox name can be any ascii
characters.
  I want to create some mailboxes names  with numbers only ...
  I have tried to create them, and this has worked fine, but when I try
to access the same
name as an user login with squirrelmail and pam (instead of passwd), the
squirrelmail tells
me that there isn't such a user.

   Anyone has seen it before? any clues.

   Thanks a lot.

Sandra




RE:cyradm scripts in Perl

2001-08-23 Thread Sandra Regina

Thanks a lot to all of you that have help me.

How is goot to sleep in peace... now I will be able to do it... :-)

I have a question , anyway. Why can  not I use Cyrus::IMAP::Admin module
instead of IMAP::Admin?
This one come with Cyrus-Imap package ...

Thanks.

Sandra




perl scripts

2001-08-22 Thread Sandra Regina

I have been searching the archive messages for a script to create
mailbox,  but I have found it only in TCL. I have read on man pages
that  cyradm in tcl is not supported any more.
Does anyone has the following script  in Perl ?

Thanks a lot

Sandra

su first
 cyradm -file adduser.tcl

 if {$argc != 1} {
   puts "usage: No user list specifiled."
   exit 1
 }

 set infile [lindex $argv 0 ]
 set quota 512

 eval cyradm connect cyr_conn host
 eval cyr_conn authenticate -pwcommand {{
   set hostname "myhost"
   set adminid "cyrus"
   set adminpw "the password"
   list $adminid $adminpw
   }
 }

 if [catch {open $infile} IN] {
   puts stderr "Can not open file $infile: $IN"
   exit 1
 }

 while {[gets $IN mailbox] >= 0} {
   exec /usr/sbin/adduser -batch $mailbox email $mailbox $mailbox
   cyr_conn createmailbox user.$mailbox
   cyr_conn setquota user.$mailbox storage $quota
   cyr_conn createmailbox user.$mailbox.sentmail
 }
 close $IN






cyradm scripts in Perl

2001-08-22 Thread Sandra Regina

 I have been searching the archive messages for a script to create
mailbox,  but I have found it only in TCL.
Does anyone has the following script  in Perl ?

Thanks a lot

Sandra

su first
 cyradm -file adduser.tcl

 if {$argc != 1} {
   puts "usage: No user list specifiled."
   exit 1
 }

 set infile [lindex $argv 0 ]
 set quota 512

 eval cyradm connect cyr_conn host
 eval cyr_conn authenticate -pwcommand {{
   set hostname "myhost"
   set adminid "cyrus"
   set adminpw "the password"
   list $adminid $adminpw
   }
 }

 if [catch {open $infile} IN] {
   puts stderr "Can not open file $infile: $IN"
   exit 1
 }

 while {[gets $IN mailbox] >= 0} {
   exec /usr/sbin/adduser -batch $mailbox email $mailbox $mailbox
   cyr_conn createmailbox user.$mailbox
   cyr_conn setquota user.$mailbox storage $quota
   cyr_conn createmailbox user.$mailbox.sentmail
 }
 close $IN