On 2010-04-15 19:01:39 +0200, Sven wrote: > Marcus Rueckert schrieb: > >my thought would be: > >make it like amavis ... > >1. your mta forwards you the mail via smtp. > >2. you munch the email (although i seriously wonder why) > >3. you send it back to your mta via smtp > >4. mta calls dovecot to deliver the mail > > > >for better suggestions, it would be nice to know what kind of > >modifications you want to do. > > > > for the moment i want to delete mails from dovecots maildir. > but i am looking for a general way for automate mail processing with > perl. not shure yet to what this will lead > sven
uhm ... you should be a bit more specific ... deleting mails could mean "all mails older than" there the expire tool could help you. in general i would use imap to delete mails, as you are independent of the used storage. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org