procmail
[Top] [All Lists]

automated archival of mails?

1998-10-30 10:33:22

I would like to set up a certain account for archiving majordomo lists.
However there are some details that I am not sure how to deal with.

First of all, all messages would be TO<list>@transmeta.com. It would be
great if procmail could take the output of ls or a file and yank out the
list names and use that as a location to deliver to a particular inbox.
Additionally the inbox will not be created automatically and needs to
manually created if it doesn't exist.. Now my questions are how do I grok
and pass variables back to procmail and have it continue on...


1) mail to/cc foo(_at_)transmeta(_dot_)com comes in.
2) procmail figures out that this is a valid list name
3) check if mailbox exists, if not use mbxcreat +majordomo/<list>
4) if it does, use dmail +majordomo/<list>

mbxcreat and dmail are tools for manipulating imap folders. This way, the
archived mail can be accessible via imap public folders.

Any pointers/help/recipes would be greatly appreciated.

--Jauder

<Prev in Thread] Current Thread [Next in Thread>