LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Script to sort maildir messages (https://www.linuxquestions.org/questions/linux-software-2/script-to-sort-maildir-messages-472308/)

dlublink 08-09-2006 09:32 AM

Script to sort maildir messages
 
Hello,

I have a server with courier-imap using maildir. I get so many mails I have fallen behind sorting my messages.

I would like to sort messages by email address to folders.

Example: userone@domainone.tld would go into .read.userone
usertwo@domainone.tld would go into .read.peter

Etc...

Is there any script that might do this automatically for me if I give mappings like the above? Or should I just write my own?

Thanks,

David

bigrigdriver 08-10-2006 07:24 PM

Sounds like you need procmail.

http://freshmeat.net/projects/procmail/


All times are GMT -5. The time now is 12:11 AM.