ipurge seg fault and core dump

2019-03-25 Thread James B. Byrne via Info-cyrus
Cyrus Imapd 3.0.8 on FreeBSD-12.0p3 We are obtaining these error messages on a regular basis: Mar 25 04:20:00 inet17 kernel: pid 39793 (ipurge), uid 60: exited on signal 11 (core dumped) Mar 25 04:20:00 inet17 CYRUS/master[56223]: process type:EVENT name:postmaster path:/usr/local/cyrus/sbin

Re: [SOLVED] Re: ipurge difficulties

2018-11-21 Thread John Capo via Info-cyrus
On Wed, November 21, 2018 10:20, James B. Byrne via Info-cyrus wrote: > > We had previously used the '.' as the separator. Our current settings > are: > > > /usr/local/etc/imapd.conf:unixhierarchysep: true > /usr/local/etc/imapd.conf:altnamespace: true > Change altnamespac

Re: [SOLVED] Re: ipurge difficulties

2018-11-21 Thread James B. Byrne via Info-cyrus
27;^' >>> >>> try: >>> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >>> 'user/*/INBOX.Trash' >>> >> >> Thank you. That was it exactly. >> >> My next question is: Why did the conversion to imap3 ignore us

Re: [SOLVED] Re: ipurge difficulties

2018-11-21 Thread Javier Angulo
On 11/21/18 2:38 PM, James B. Byrne via Info-cyrus wrote: > > > On Wed, November 21, 2018 03:25, Javier Angulo wrote: >> >> On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: >>> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >>> &

[SOLVED] Re: ipurge difficulties

2018-11-21 Thread James B. Byrne via Info-cyrus
On Wed, November 21, 2018 03:25, Javier Angulo wrote: > > On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: >> # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 >> 'user/x/INBOX^Trash' >> # echo $? >> 0 >> >> What is happening

Re: ipurge difficulties

2018-11-21 Thread Javier Angulo
On 11/20/18 3:29 PM, James B. Byrne via Info-cyrus wrote: > # sudo -u cyrus /usr/local/cyrus/sbin/ipurge -v -f -d 35 > 'user/x/INBOX^Trash' > # echo $? > 0 > > What is happening here? Probably you have to use a '.' instead of '^' try: # sudo -

ipurge difficulties

2018-11-20 Thread James B. Byrne via Info-cyrus
Having recently switched our mail service over to IMAPv3 I have a nagging doubt that the ipurge commands in our cyrus.conf file are not working as I anticipate. For example, my Trash folder does not seem to have been emptied since the conversion: find '/var/spool/imap/x/user/x/INBOX^Trash&#x

ipurge --dry-run

2014-08-07 Thread Vladislav Kurz
Hi all, I want to use ipurge for regular cleanup of old mails in Trash a Junk folders. However I'm not very comfortable with the mailbox-pattern syntax. It would be nice if there is an option to do a simulation, to see how much damage it is going to do. Is anything like that on the develo

ipurge problem

2012-03-08 Thread jayesh.shinde
Hi all , I am Cyrus 2.4.6-5 , and having the query about how ipurge works. RPM details :-- -- cyrus-imapd-2.4.6-5 cyrus-imapd-utils-2.4.6-5 Cyrus-imapd-devel-2.4.6-5 My Query :-- I am using below command to delete the older 7 days emails. /usr/lib/cyrus-imapd

cyrus replication - ipurge cleared old mail on master but not on slave

2010-04-19 Thread Edward Prendergast
Hi, I used ipurge to clear out all old Trash mail from my user's mailboxes: Where $user is username, and $host is hostname: /usr/lib/cyrus-imapd/ipurge -d 1 -X user/$user/tr...@$host This worked OK, but the changes weren't replicated to slave. I tried manually running: /usr/lib/c

Re: cyrus-imapd-2.2.12-10 -- ipurge and -f recursion --

2010-01-18 Thread James B. Byrne
On Mon, January 18, 2010 04:28, ram wrote: > > > > I think you mean ipurge (not impurge) Yes, ipurge is the actual name. > Even I had exactly the same issue .. I modified ipurge.c a bit so > that it will expect a "-r" switch to recurse through subfolders > along

ipurge syntax

2009-11-10 Thread Patrick Boutilier
How can you get ipurge to only work on the INBOX? If I try this nothing happens: ipurge -d 31 user.spam If I put in -f then the INBOX and every folder underneath gets processed. man page seems to indicate that only processing the INBOX is not possible: Ipurge by default only deletes mail

Re: Patch: add regex support to ipurge to improve folder selection

2009-09-10 Thread Carsten Hoeger
On Wed, Sep 09, Adam Tauno Williams wrote: > On Tue, 2009-07-21 at 11:57 -0400, Matt Selsky wrote: > > On Jul 21, 2009, at 10:43 AM, Carsten Hoeger wrote: > > > > > attached the patch to add regex pattern matching to folders for > > > ipurge. > > > &

Re: Patch: add regex support to ipurge to improve folder selection

2009-09-09 Thread Adam Tauno Williams
On Tue, 2009-07-21 at 11:57 -0400, Matt Selsky wrote: > On Jul 21, 2009, at 10:43 AM, Carsten Hoeger wrote: > > > attached the patch to add regex pattern matching to folders for > > ipurge. > > Can you add this to bugzilla for tracking? Was this ever uploaded to the bu

Re: Patch: add regex support to ipurge to improve folder selection

2009-07-21 Thread Matt Selsky
On Jul 21, 2009, at 10:43 AM, Carsten Hoeger wrote: > attached the patch to add regex pattern matching to folders for > ipurge. Can you add this to bugzilla for tracking? -- Matt Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twik

Patch: add regex support to ipurge to improve folder selection

2009-07-21 Thread Carsten Hoeger
Hi, attached the patch to add regex pattern matching to folders for ipurge. -- With best regards, Carsten Hoeger diff -urN cyrus-imapd-2.3.7.orig/imap/ipurge.c cyrus-imapd-2.3.7/imap/ipurge.c --- cyrus-imapd-2.3.7.orig/imap/ipurge.c 2009-07-21 10:43:19.0 +0200 +++ cyrus-imapd-2.3.7

No -k option for cyradm's reconstrcut [Was: Re: unexpunge Bus Error (signal 7) [Was: Re: ipurge and delayed expunge]]

2009-07-02 Thread Adam Tauno Williams
On Sat, 2009-06-27 at 10:06 -0400, Brian Awood wrote: > On Friday 26 June 2009 @ 20:47, Adam Tauno Williams wrote: > > A reconstruct works, but then none of the expunged messages appear > > (list from unexpunge -l is empty). Should a reconstruct loose > > expunged messages in delayed expunge mode?

Re: unexpunge Bus Error (signal 7) [Was: Re: ipurge and delayed expunge]

2009-06-27 Thread Brian Awood
On Friday 26 June 2009 @ 20:47, Adam Tauno Williams wrote: > > A reconstruct works, but then none of the expunged messages appear > (list from unexpunge -l is empty). Should a reconstruct loose > expunged messages in delayed expunge mode? reconstruct will remove the expunged data if you don't sp

unexpunge Bus Error (signal 7) [Was: Re: ipurge and delayed expunge]

2009-06-26 Thread Adam Tauno Williams
mon's awesome RPMs! > cyrus-imapd-2.3.14-unexpunge.patch > <http://www.invoca.ch/pub/packages/cyrus-imapd/> I've updated and ran ipurge. ipurge ran without incident and seems to have performed exactly as expected. But now if I test unexpunge on some of the mailboxes ipurge touch

Re: ipurge and delayed expunge

2009-06-26 Thread Adam Tauno Williams
On Fri, 2009-06-26 at 12:35 -0400, Brian Awood wrote: > This issue is fixed in CVS; > http://lists.andrew.cmu.edu/pipermail/info-cyrus/2009-March/030753.html Sweet, it appears this patch is included in Simon's awesome RPMs! cyrus-imapd-2.3.14-unexpunge.patch

Re: ipurge and delayed expunge

2009-06-26 Thread Brian Awood
This issue is fixed in CVS; http://lists.andrew.cmu.edu/pipermail/info-cyrus/2009-March/030753.html -Brian On Friday 26 June 2009 @ 11:23, Adam Tauno Williams wrote: > We use delayed expunge with a delay of 120 days. > > I was just playing with ipurge and it appears to 'physically

ipurge and delayed expunge

2009-06-26 Thread Adam Tauno Williams
We use delayed expunge with a delay of 120 days. I was just playing with ipurge and it appears to 'physically' delete the messages rather than just marking messages as expunged. Is it possible to have ipurge just mark messages as expunged rather than removing them? Looking at the

Re: ipurge question

2008-07-21 Thread Alain Spineux
On Mon, Jul 21, 2008 at 2:31 PM, <[EMAIL PROTECTED]> wrote: > Hello, > > I'm am trying to use the ipurge command to delete messages and have a > question. Here is the directory structure and files: > > /var/spool/imap/d/user/john > Deleted Items

ipurge question

2008-07-21 Thread dino.swanwick
Hello, I'm am trying to use the ipurge command to delete messages and have a question. Here is the directory structure and files: /var/spool/imap/d/user/john Deleted Items 07/19/2008 9:21:37 PM rwx-- cyrus Drafts 07/19/2008

Re: ipurge test mode? analysis by date

2007-09-20 Thread Adam Tauno Williams
> find is your friend here. > man find > Their is a lot of options about size and time. > This will not give you the total size of email, but you can make the sum using > some additional scripting. No, that won't work. Timestamps on the filesystem do not necessarily correspond to the date/deliver

Re: ipurge test mode? analysis by date

2007-09-20 Thread Alain Spineux
email delivered to multiple mailbox are stored only once on the filesystem. find will report any links to these emails and you will count them twice or more. On 9/20/07, Adam Tauno Williams <[EMAIL PROTECTED]> wrote: > Version: cyrus-imapd-2.2.12-27.6 > > Does ipurge have a '

ipurge test mode? analysis by date

2007-09-20 Thread Adam Tauno Williams
Version: cyrus-imapd-2.2.12-27.6 Does ipurge have a 'test mode' whereby I can run it and have it report what it would have done? Management wants to know the impact on storage & message count of purging all sent-mail older than one year and some other patterns. Besides ipurge

Re: index on custom headers for fast ipurge

2007-06-20 Thread Andrew Morgan
On Wed, 20 Jun 2007, Eric Luyten wrote: >> A Cyrus administrator can authenticate as an administrator and authorize >> as a user. You can then perform operations on behalf of the user. > > > Andrew, > > > What "commodity" mail client offers this possibility ? I've never tried to do this with a r

Re: index on custom headers for fast ipurge

2007-06-20 Thread Eric Luyten
> A Cyrus administrator can authenticate as an administrator and authorize > as a user. You can then perform operations on behalf of the user. Andrew, What "commodity" mail client offers this possibility ? Regards, Eric Luyten, VUB/ULB Computing Centre. Cyrus Home Page: http://cyrusim

Re: index on custom headers for fast ipurge

2007-06-13 Thread Andrew Morgan
or this I plan to add custom headers in al these notifications and run > ipurge for all mails with that header > > Is this possible ? I don't use ipurge, so I can't say whether ipurge can do this. > Alternatvely I could use an ImapClient script to logon to the mailboxes > and d

index on custom headers for fast ipurge

2007-06-13 Thread ram
ipurge for all mails with that header Is this possible ? Alternatvely I could use an ImapClient script to logon to the mailboxes and delete the mails. But I wont have passwords for all mailboxes ? Thanks Ram Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http

how to get rid of remaining messages after ipurge command

2006-11-05 Thread Leon Kolchinsky
Hello All, I'm running the following command and get the following result: # su cyrus -c "(/usr/lib/cyrus/bin/ipurge -d0 -f user/spamcop/spam)" Working on user/spamcop/spam... total messages 1090 total bytes 19147634 Deleted messages

cyrus ipurge

2006-10-20 Thread Paul Hendrick
Hi all, I have mailboxes in the format of [EMAIL PROTECTED], and I want to start deleting their spam on a regular basis. I'm testing this out using ipurge, so i try: ipurge -d 7 -f '[EMAIL PROTECTED]', and after running that i'm just returned to the command prompt. no erro

Re: Question about using ipurge

2006-10-18 Thread Andr�s Tarallo
days. So we execute (as cyrus) > >> this command: > >> > >> ipurge -d 30 username > >> > >> It returns almost inmediately but nothing happens and the mails remain > >> there. We didn't use -f flag because we were affraid of deleting all &

Re: Question about using ipurge

2006-10-17 Thread Ben Poliakoff
lder than 30 days. So we execute (as cyrus) > >>this command: > >> > >>ipurge -d 30 username > >> > >>It returns almost inmediately but nothing happens and the mails remain > >>there. We didn't use -f flag because we were affraid of deleting

Re: Question about using ipurge

2006-10-17 Thread Andrew Morgan
On Tue, 17 Oct 2006, Andrew Morgan wrote: On Tue, 17 Oct 2006, AndrXs Tarallo wrote: We need to clean certain mails from a mailbox. Specifically we are trying to clean mails older than 30 days. So we execute (as cyrus) this command: ipurge -d 30 username It returns almost inmediately but

Re: Question about using ipurge

2006-10-17 Thread Andrew Morgan
On Tue, 17 Oct 2006, AndrXs Tarallo wrote: We need to clean certain mails from a mailbox. Specifically we are trying to clean mails older than 30 days. So we execute (as cyrus) this command: ipurge -d 30 username It returns almost inmediately but nothing happens and the mails remain there. We

Question about using ipurge

2006-10-17 Thread Andr�s Tarallo
We need to clean certain mails from a mailbox. Specifically we are trying to clean mails older than 30 days. So we execute (as cyrus) this command: ipurge -d 30 username It returns almost inmediately but nothing happens and the mails remain there. We didn't use -f flag because we were af

ipurge / cyr_expire with recursion

2006-07-27 Thread Heinzmann, Robert
Hello, I have a problem with ipurge and cyr_expire (cyrus 2.2.3 from SuSE SLES 9). We have the requirement to delete all e-Mails in a users INBOX (non recursive) and the users SPAM and TRASH folders (recursive) after 90 day. Mails in folders created by the users should not be deleted. Lets

Re: ipurge excludes

2006-05-30 Thread Kjetil Torgrim Homme
On Sun, 2006-05-28 at 22:43 +0200, Sebastian Lemke wrote: > I have configured ipurge to remove old mails like this: > spamclean cmd="ipurge -f -d 7 user/*/Trash user/*/SPAM" at=0415 > Now I want to exclude one User from this rule – his Trash should never > be pur

ipurge excludes

2006-05-28 Thread Sebastian Lemke
Hi @all,   I have configured ipurge to remove old mails like this:     spamclean cmd="ipurge -f -d 7 user/*/Trash user/*/SPAM" at=0415   Now I want to exclude one User from this rule – his Trash should never be purged. How can I do this ?   Thanks, Sebastian  

AW: ipurge error

2006-02-23 Thread Miro Dietiker, MD Systems
Hey! :) > Von: Scott Russell [mailto:[EMAIL PROTECTED] > > I try to reask you experts for the usage of the tool ipurge: > > > >> dev:~# ipurge -f -d 0 user/miro/Test > >> usage: ipurge [-f] [-s] [-C ] [-x] [-X] [-i] {-d days | -b > >> bytes|-k Kbytes

Re: ipurge error

2006-02-22 Thread Scott Russell
Miro Dietiker, MD Systems wrote: I try to reask you experts for the usage of the tool ipurge: dev:~# ipurge -f -d 0 user/miro/Test usage: ipurge [-f] [-s] [-C ] [-x] [-X] [-i] {-d days | -b bytes|-k Kbytes|-m Mbytes} .. and so on dev:~# ipurge -f -d 0 user.miro.SPAM usage: ipurge [-f

ipurge error

2006-02-22 Thread Miro Dietiker, MD Systems
I try to reask you experts for the usage of the tool ipurge: You may explain me the reason for broken ipurge? Cyrus21 version: 2.1.18-1 (on debian sarge stable) I simply need to delete mails via script.. Other suggestions? Miro > -Ursprüngliche Nachricht- > Von: [EMAIL PRO

RE: Can't get ipurge to work

2006-02-01 Thread Dudi Goldenberg
>I can't make ipurge work at all. I am using Cyrus 2.1.18-3 on a debian testing (eth) >box (official debian package install). Try running by user cyrus, like: su - cyrus -c "/usr/sbin/ipurge -f -d 30 user.username" Works for me, also Debian etch. Regards, D.

Can't get ipurge to work

2006-02-01 Thread Josep Serrano
Dear all, I can't make ipurge work at all. I am using Cyrus 2.1.18-3 on a debian testing (eth) box (official debian package install). I try to run ipurge to clean-up all messages older than 30 days (ipurge -d 30), but I always get the same help screen. I tried also to force for a parti

Re: ipurge or expire on virtual domains?

2005-12-01 Thread Robin Rainton
Hmmm... I don't know why (perhaps someone can explain?) but messing about found that this actually works for all the domains on a site: ipurge -f -d 7 */Spam Weird, huh? Quoting Cristian Livadaru <[EMAIL PROTECTED]>: On Thu, Dec 01, 2005 at 10:28:02AM +1100, Robin Rainton wrote:

Re: ipurge or expire on virtual domains?

2005-11-30 Thread Cristian Livadaru
On Thu, Dec 01, 2005 at 10:28:02AM +1100, Robin Rainton wrote: > Hi, > > I've just moved to a virtual domain environment which seems to have broken > ipurge. Used to have stuff such this in a cron job: > > 1 0 * * * /usr/cyrus/bin/ipurge -f -d 7 user.\*.Spam > /dev/null

ipurge or expire on virtual domains?

2005-11-30 Thread Robin Rainton
Hi, I've just moved to a virtual domain environment which seems to have broken ipurge. Used to have stuff such this in a cron job: 1 0 * * * /usr/cyrus/bin/ipurge -f -d 7 user.\*.Spam > /dev/null Of course, now using 'unixhierarchysep: yes' and though I could just change the

Re: ipurge doesnt work for mailbox pattern

2005-10-26 Thread Jt Chiodi
ipurge -f -d 60 user.*.Trash will empty all users Trash mailbox that is 60 days or older at least it works for me. On 10/21/05, Ramprasad A Padmanabhan <[EMAIL PROTECTED]> wrote: > Hi, >I want to delete all older mails from my cyrus mailboxes > > If I run ipurge like &g

ipurge doesnt work for mailbox pattern

2005-10-21 Thread Ramprasad A Padmanabhan
Hi, I want to delete all older mails from my cyrus mailboxes If I run ipurge like ipurge -d 60 -f user then it works file But If I run ipurge with a pattern it fails ipurge -d 60 -f user/someuser I tried user/someuser or user.someuser etc ... doesnt help Thanks

ipurge doesn't work?

2005-09-20 Thread Martin Honermeyer
Hello Cyrus people, posting this here because no one had a solution at the Kolab mailing list. I am trying to use ipurge with Kolab. I am not successful when giving an "mboxpattern" though: su kolab-r -c "/kolab/bin/ipurge -b 0 -f user/test" There's no output and not

ipurge -- syslog summary?

2004-12-24 Thread Rupa Schomaker
When using ipurge in an EVENT there is no data captured in syslog as to what happened. squatter at least logs the mailboxes indexed... Thoughts? -- -Rupa --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http

Re: Ipurge question

2004-11-29 Thread Ken Murchison
Christiano Anderson wrote: Fellows, I'm trying to use ipurge to delete only 15 days older unread messages. I tried the following line: ipurge -d 15 -X -f -s \Unread [EMAIL PROTECTED] What's wrong with -s option? Read the manpage. The -s option doesn't take any options and has

Ipurge question

2004-11-29 Thread Christiano Anderson
Fellows, I'm trying to use ipurge to delete only 15 days older unread messages. I tried the following line: ipurge -d 15 -X -f -s \Unread [EMAIL PROTECTED] What's wrong with -s option? How can I set ipurge to delete only Unread messages? Thanks a lot for any help --- Cyrus Home

[question] ipurge took too long time to purge mails from about 30,000 users.

2004-08-18 Thread 원태환
We are using cyrus imap 2.1.9 on solaris 2.8 to serve about 30,000 users. In addition, we are using ipurge to periodically delete old mails When we executed ipurge, it took so much time and consumed all of CPU power. Our cyrus-imap configuration is 1. OS : solaris 2.8 2

ipurge hanging on empty directory

2004-05-17 Thread Ghislain ADNET
Hi, I have a little spamassassin learning script, i noticed that when i try to purge the spam from my junk folder it fail if there is no mail in it : ipurge -d 4 -f -C $PREFIX/etc/imap/imapd.conf user.$user.junk just hang up for empty mailboxes...Does any of you have the same behavior ? It

Re: ipurge with virtual domains

2004-04-19 Thread Robin M.
On Mon, 19 Apr 2004, Robin M. wrote: > On Mon, 19 Apr 2004, Robin M. wrote: > > On Mon, 19 Apr 2004, Robin M. wrote: > > > > > How can I use ipurge to delete mail from a trash folder called > > > "Deleted Items" for all users in all domains usin

Re: ipurge with virtual domains

2004-04-19 Thread Robin M.
On Mon, 19 Apr 2004, Robin M. wrote: > On Mon, 19 Apr 2004, Robin M. wrote: > > > How can I use ipurge to delete mail from a trash folder called > > "Deleted Items" for all users in all domains using ipurge. > > > > The following command succesful

Re: ipurge with virtual domains

2004-04-19 Thread Eli Cantu
n SQL brain damage. > > --On Monday, April 19, 2004 22:52 -0400 "Robin M." <[EMAIL PROTECTED]> wrote: > > > How can I use ipurge to delete mail from a trash folder called > > "Deleted Items" for all users in all domains using ipurge. > > > >

Re: ipurge with virtual domains

2004-04-19 Thread Robin M.
On Mon, 19 Apr 2004, Robin M. wrote: > How can I use ipurge to delete mail from a trash folder called > "Deleted Items" for all users in all domains using ipurge. > > The following command succesfully works, but I cannot figure out how to > wildcard the domain name port

Re: ipurge with virtual domains

2004-04-19 Thread Michael Loftis
not sure who told you % is a wildcard. you've been doing entirely too much SQL. * is the wildcard character, % is just an SQL brain damage. --On Monday, April 19, 2004 22:52 -0400 "Robin M." <[EMAIL PROTECTED]> wrote: How can I use ipurge to delete mail from a trash f

ipurge with virtual domains

2004-04-19 Thread Robin M.
How can I use ipurge to delete mail from a trash folder called "Deleted Items" for all users in all domains using ipurge. The following command succesfully works, but I cannot figure out how to wildcard the domain name portion. ./ipurge -f -d 7 "user/%/Deleted [EMAIL PROTECTED]

Re: ipurge syntax (*** SOLVED ***)

2004-03-11 Thread Jamie Penman-Smithson
On Fri, 2004-03-12 at 02:29, Craig Ringer wrote: > > Has anyone managed to get this working correctly? > > Yes. I'm using: > > purgetrashcmd="ipurge -d 14 -f user.%.Trash" at=0200 > > with no problems. Which is weird, because when I run it from t

ipurge syntax

2004-03-11 Thread Jamie Penman-Smithson
s list, I added: # clean out mail older than 1 week from users trash purgetrash cmd="ipurge -d 7 -f user.%.Trash" at=0200 to my cyrus.conf, however, it does't work, and there are no errors in the logs to give an idea of what is wrong. I've tried running 'ipurge -d 7

Re: ipurge

2004-01-07 Thread telsey
Ok, I finally figured out the syntax that will work for me when using ipurge. Initially, I was trying to use run ipurge as: ./ipurge -f -d 7 user/*/mail/Trash but nothing would happen. I would execute the command, and was imediately returned to the prompt. Anyways, to make a long story short

ipurge simply exits in between

2004-01-03 Thread Ramprasad A Padmanabhan
I want to delete all users mails older than 30 days on my cyrus imap server running on redhat linux 7.3 Thanks to members in this group , I found out I could do that with a utility called ipurge So I do a ipurge su - -c'/usr/cyrus/bin/ipurge -f -d 30 -s   user' cyrus This prog

Re: ipurge (mboxpattern problem)

2003-12-23 Thread telsey
Ok, the history of this problem is listed below, but now that I have a good test lab up and working... I thought I would let everyone know what I have found. The problem is that ipurge doesn't seem to work when I specify a mboxpattern, but if I don't specify a mboxpattern and run the

Re: ipurge

2003-12-17 Thread telsey
> > > [EMAIL PROTECTED] wrote: > >>>[EMAIL PROTECTED] wrote: >>> >>> >>>>I know this question has been asked by others, but I was unable to >>>> find a solution in my research. The problem I am having is with >>>> ipurg

squatter target wildcards (was: Re: ipurge)

2003-12-16 Thread Craig Ringer
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 us

Re: ipurge

2003-12-16 Thread Ken Murchison
[EMAIL PROTECTED] wrote: I know this question has been asked by others, but I was unable to find a solution in my research. The problem I am having is with ipurge, and when I execute the command it executes, doesn't return an error, and doesn't remove the mail. We are running cyrus

ipurge

2003-12-16 Thread telsey
I know this question has been asked by others, but I was unable to find a solution in my research. The problem I am having is with ipurge, and when I execute the command it executes, doesn't return an error, and doesn't remove the mail. We are running cyrus 2.2.1 beta, and we are usi

cyr_expire or ipurge?

2003-11-23 Thread Joakim Ryden
Hey folks - I've been looking into setting up some housekeeping on a Cyrus server and I'm a little confused about cyr_expire vs. ipurge... I've come up with an ipurge event like so: purgeold cmd="ipurge -f -d 15 user.*.Junk user.*.Trash" at=0315 Should/cou

Re: [PATCH] Use INTERNALDATE for ipurge (was: ipurge to use -d as receive date and not sent date)

2003-11-05 Thread Carsten Hoeger
On Tue, Oct 14, Henrique de Moraes Holschuh wrote: > Please try the attached patch. > > It switches default behaviour to least-surprise (INTERNALDATE), adds > -X to get the old behaviour, and enhances ipurge by adding -i to invert > match logic. I am a little bit late on this to

[PATCH] Use INTERNALDATE for ipurge (was: ipurge to use -d as receive date and not sent date)

2003-10-14 Thread Henrique de Moraes Holschuh
Please try the attached patch. It switches default behaviour to least-surprise (INTERNALDATE), adds -X to get the old behaviour, and enhances ipurge by adding -i to invert match logic. On Tue, 14 Oct 2003, Carsten Hoeger wrote: > On Tue, Oct 14, Rob Siemborski wrote: > > If a patch was

Re: ipurge to use -d as receive date and not sent date

2003-10-14 Thread Carsten Hoeger
On Tue, Oct 14, Rob Siemborski wrote: > > I recently sat down over a customer bug report and found out, that ipurge uses > > the sent date (which is what is in the Date: Header of a mail or the offset > > OFFSET_SENTDATE) to determine the age of a single message. The proble

Re: ipurge to use -d as receive date and not sent date

2003-10-14 Thread Henrique de Moraes Holschuh
On Tue, 14 Oct 2003, Carsten Hoeger wrote: > I recently sat down over a customer bug report and found out, that ipurge uses > the sent date (which is what is in the Date: Header of a mail or the offset > OFFSET_SENTDATE) to determine the age of a single message. The problem with Eek, loo

Re: ipurge to use -d as receive date and not sent date

2003-10-14 Thread Rob Siemborski
On Tue, 14 Oct 2003, Carsten Hoeger wrote: > I recently sat down over a customer bug report and found out, that ipurge uses > the sent date (which is what is in the Date: Header of a mail or the offset > OFFSET_SENTDATE) to determine the age of a single message. The problem with > t

ipurge to use -d as receive date and not sent date

2003-10-14 Thread Carsten Hoeger
Hi, I recently sat down over a customer bug report and found out, that ipurge uses the sent date (which is what is in the Date: Header of a mail or the offset OFFSET_SENTDATE) to determine the age of a single message. The problem with that is, that there's an increasing amount of messages

ipurge only for specified mailboxes

2003-10-09 Thread Sebastian Hagedorn
l too often) and those who never read their mail. This happens as well, because we have many orphaned accounts. So I thought we might use ipurge for that. However, ipurge works recursively. When I do "ipurge -f -d 365 user/xxx" (we're using both altnamespace and unixhierarchyse

Re: ipurge, or automatic expiration feature.

2003-10-08 Thread mark london
Ah. I couldn't find much information under ipurge for how to specify the mailbox, so I assumed when I did an ipurge -h and saw: -f force also to delete mail below user.* and INBOX.* that it meant that user was to be replied by the person's username. Ones. Thanks a lot! However, e

Re: ipurge, or automatic expiration feature.

2003-10-08 Thread Ken Murchison
mark london wrote: I want to be able to have messages in a folder automatically purged after the messages are a certain amount of days old. The ipurge application seems to be what I want, but I haven't gotten it working. First, I can't get it to work at all unless I run it under

ipurge, or automatic expiration feature.

2003-10-08 Thread mark london
I want to be able to have messages in a folder automatically purged after the messages are a certain amount of days old. The ipurge application seems to be what I want, but I haven't gotten it working. First, I can't get it to work at all unless I run it under the cyrus account.

Re: ipurge as an event in cyrus.conf

2003-09-23 Thread Henrique de Moraes Holschuh
On Tue, 23 Sep 2003, Lars Peterson wrote: > # purge trash every day at midnight > purgetrash cmd="ipurge -f -d 1 user/*/Trash" at= period=1440 > > # purge spam every 3 days at 1AM > purgespam cmd="ipurge -f -d 3 user/*/Spam" at=0100 period=43

Re: ipurge as an event in cyrus.conf

2003-09-23 Thread Ken Murchison
Lars Peterson wrote: Hello all, Wondering if anyone has had any success with using ipurge events in the cyrus.conf file... I would like to periodically purge all users Spam and Trash folders and was thinking something like this would work in cyrus.conf (vs. using cron): # purge trash every day

ipurge as an event in cyrus.conf

2003-09-23 Thread Lars Peterson
Hello all, Wondering if anyone has had any success with using ipurge events in the cyrus.conf file... I would like to periodically purge all users Spam and Trash folders and was thinking something like this would work in cyrus.conf (vs. using cron): # purge trash every day at midnight

Patch for ipurge

2003-03-11 Thread Patrick Boutilier
I altered ipurce.c a bit to include a -o option. The -o option will only purge messages with the deleted flag set. Attached is the diff. --- ipurge.c.orig 2002-11-14 11:47:52.0 -0400 +++ ipurge.c2003-03-11 15:55:35.0 -0400 @@ -82,6 +82,7 @@ int exact = -1; int pattern =

Re: ipurge -s option?

2002-11-12 Thread Ken Murchison
Quoting [EMAIL PROTECTED]: > What about the following? I was thinking it might be nice if ipurge > had a -s option for skipping "special" messages. That is, if you > flag certain messages as special[*], then run ipurge -s on that > folder, these flagged messages would

ipurge -s option?

2002-11-12 Thread +archive . info-cyrus
What about the following? I was thinking it might be nice if ipurge had a -s option for skipping "special" messages. That is, if you flag certain messages as special[*], then run ipurge -s on that folder, these flagged messages would not be deleted even if they otherwise matched the cr

ipurge doesn't purge?

2002-04-26 Thread Marc G. Fournier
Morning all ... Trying to use ipurge, but its not removing anything, and not generating any errors ... a 'truss' on it doesn't seem to show anything "off" ... machien is an older Solaris 2.6 machine: relay:/d/var/mail/r/user/rlanning> /usr/cyrus/bin/ipurge -

problem running ipurge

2002-01-26 Thread Bob Berman
I am trying to purge my IMAP mailboxes and am using ipurge for the task. The problem is that I am not sure of how to use it. I have looked at the code and that is not too clear. I try to use it like this: /usr/cyrus/bin/ipurge -d 30 user.testguy.Lists.cyrus-info I run this as user cyrus, I

Problem with ipurge

2001-10-28 Thread Dave McCracken
In my mail setup I re-route my high volume mailing lists to separate folders, then rely on ipurge to prune them. I upgraded to Cyrus imap 2.0.16 awhile back, and over time noticed that some mail appears to be getting deleted before the 2 week expiration I specified. In fact, I've seen a f

Re: Questions about ipurge(8)

2001-09-06 Thread Carsten Hoeger
ame,"INBOX",5)==0) || (strncasecmp(name,"user.",5)==0)) + if( ! forceall ) { +/* DON'T purge INBOX* and user.* */ +if ((strncasecmp(name,"INBOX",5)==0) || (strncasecmp(name,"user.",5)==0)) return 0; + } memset(&stats, '\

Re: Questions about ipurge(8)

2001-09-05 Thread Justin R. Miller
Thus spake Nicholas Brealey ([EMAIL PROTECTED]): > I have been looking at ipurge(8) for deleting e-mail older than a > certain number of days from users INBOXes. You might want to have a look at a little (and hackish) script I wrote called purgeimap: http://solidlinux.com/~

Questions about ipurge(8)

2001-09-05 Thread Nicholas Brealey
Hello I have been looking at ipurge(8) for deleting e-mail older than a certain number of days from users INBOXes. 1) The purge_me function ipurge.c contains the statement: /* DON'T purge INBOX* and user.* */ if ((strncasecmp(name,"INBOX",5)==0) || (strncasecmp(nam