Marcus Rueckert schrieb:
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

i want to move mails from some specific imap folder to some other folder on the filesystem to precess them further more.
but maybe i want to copy the mail and then set the seen flag.
i think both can be done via imap,
but maybe i want to add some tag/keyword, text or attachment from some processing skript with processing informations
thinks getting more complex ...
sven

Reply via email to