In regard to: [Imap-uw] mail purge program, John Kelly said (at 4:12pm on...:
On Thu, 14 Dec 2006 11:20:57 -0700, "Matthew B. Brookover"
<[EMAIL PROTECTED]> wrote:
Please post it. Does it use the uw-imap c-client library?
I need to hack something similar that will work with mix.
Since it uses c-client, it works with any uw-imap mailbox format.
Thank you for sharing this. It looks very useful, and it also has
value as a small example of using c-client.
Another approach one might take is using the "prune" subcommand with
recent "mailutil" from the imapd distribution. We're doing that with
a wrapper script and cron:
sudo -H -u ${THEUSER} /usr/local/sbin/mailutil \
prune ${QUARANTINE} \
"before ${DATE_THIRTY_DAYS_AGO}" 1> /dev/null
THEUSER is the username, QUARANTINE is the folder name of the spam
folder we're operating on, and DATE_THIRTY_DAYS_AGO is produced with
GNU date and looks like 11-14-2006.
Tim
--
Tim Mooney [EMAIL PROTECTED]
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw