On Sat, Jul 28, 2001 at 09:16:54AM +0100, Tim Allen wrote:
I'm currently using procmail to sort incoming email into folders on an IMAP
server. Each user has a .procmailrc in their home directory. The email
clients are Outlook Express on NT4 machines. OE places sent mail in a "Sent
Items" folder on the IMAP server. Is it possible to get procmail to scan the
Sent Items folder to sort the contents into different folders, in the same
way in which it handles incoming email. One thought would be for each user
to BCC all emails to themselves, but that's a bit clumsy.
Any suggestions much appreciated.
Is the IMAP server a unix box? Cron is your friend.
Set up a crontab for each user that does something like this:
cat Sent\ Items | formail -s procmail sentrc
Where sentrc is your procmailrc for sorting the sent items.
This might also work, saving a process or two...
formail -s procmail sentrc < Sent\ Items
--
Andrew Edelstein - andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail