SQUATTER script and non English folders
Ken Murchison
murch at andrew.cmu.edu
Thu Oct 27 10:29:28 EDT 2005
lkolchin at univ.haifa.ac.il wrote:
> OK, Thanks
>
> Could you tell me please how to run SQUATTER as an EVENT from cyrus.conf?
> How the configuration should look like?
Add something like the following to the EVENTS section of cyrus.conf:
squat cmd="squatter -r user" at=0300
This will run the given command at 3am every day.
>
> -----Original Message-----
> From: Ken Murchison [mailto:murch at andrew.cmu.edu]
> Sent: Thursday, October 27, 2005 4:07 PM
> To: לאון קולצ'ינסקי
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: SQUATTER script and non English folders
>
> lkolchin at univ.haifa.ac.il wrote:
>> Hello All,
>>
>> I have 2 questions:
>>
>> 1) I'm running the following script as a cronjob every night:
>> #!/bin/bash
>> su - cyrus -c "/usr/lib/cyrus/bin/squatter -r user/*"
>
> Why not run this from cyrus.conf as an EVENT? There is no good reason that I can think of to not keep all Cyrus related stuff in cyrus.conf.
>
>
>> But, it creates cyrus.squat file only in subfolders of the users INBOX,
>> i.e. /var/spool/imap/user/username/ doesn't include cyrus.squat but
>> /var/spool/imap/user/username/Drafts/ does include cyrus.squat after
>> running the above script.
>>
>> What's wrong with my syntax?
>
> I believe David's assessment is correct.
>
--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University
More information about the Info-cyrus
mailing list