[Dovecot] is there a script to find a message from a given username easily?

Gary Kline kline at thought.org
Fri Nov 27 09:53:53 EET 2009


	Hello people,

	I used primarily mutt and sendmail for many years.  (And elm
	before mutt.)  All my mail was saved into ~/Mail.  Messages
	from, say, smith at foo.ber were stored in ~/Mail/smith; all mail
	from smith was catenated into one file, and if I wanted to
	find something that smith had written, I would just cd to
	~/Mail and grep or egrep on a likely word or phrase.

	Is there a script that can reach into my server into My
	maildirectory and cp or symlink (say) ~/Maildir/smith's files:

 2 -rw-------  1 kline  kline   780 Apr 18  2008 1208585354.91013_3.aristotle:2,S
 2 -rw-------  1 kline  kline   731 May 15  2008 1210901757.55602_4.aristotle:2,S
 2 -rw-------  1 kline  kline   566 May 18  2008 1211140486.77700_3.aristotle:2,S
 2 -rw-------  1 kline  kline   578 May 20  2008 1211326880.95596_4.aristotle:2,S
 2 -rw-------  1 kline  kline   578 May 21  2008 1211393732.2283_3.aristotle:2,S
 2 -rw-------  1 kline  kline   673 Apr 13  2009 1239636788.1457_3.aristotle:2,S
 6 -rw-------  1 kline  kline  4242 Apr 14  2009 1239748901.16354_4.aristotle:2,S

	into somthing named ~/Mail/smith, with all files catted
	together?  

	tia,

	gary kline

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.31a release of Jottings: http://jottings.thought.org/index.php



More information about the dovecot mailing list