Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-09-2006, 09:32 AM   #1
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
Script to sort maildir messages


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


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?


Old 08-10-2006, 07:24 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Sounds like you need procmail.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A script to convert maildir to mailbox format i_s Linux - General 7 12-14-2009 03:20 PM
bash script to sort files by extension otheralex Programming 7 08-19-2005 02:40 AM
Script to send messages to Phone aldrinn Linux - General 1 03-25-2004 11:30 AM
can you sort messages by subject with tin? amphibious Linux - Software 0 12-01-2003 09:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration