From: Nikolaus S. <mic...@we...> - 2011-03-07 21:14:54
|
On Sat, Mar 05, 2011 at 03:19:09PM +0700, Tim Rice wrote: > I'm new to Archivemail and I want to run Archiemail daily with a cronjob. I > have it working but wondered if there is a better way to handle checking > multiple accounts. > > I have over 150 poboxes I need to check. What I'm doing now is running this > file via crontab. Is there a better way? > > # Phuket > /usr/local/bin/archivemail --delete --days=30 --include-flagged > --preserve-unread /usr/boxes/gordonfe/asia-pacific-superyachts.com/pobox1 > sleep 60 > /usr/local/bin/archivemail --delete --days=30 --include-flagged > --preserve-unread /usr/boxes/gordonfe/asia-pacific-superyachts.com/pobox2 > sleep 60 [...] You can simply list multiple mailboxes on the command line. Nikolaus |