Harry, You can also use dbmail-export.
dbmail-export -d -u orphaned-user -m orphaned-mailbox will export and delete all messages in specified mailbox. On 03-05-11 14:41, Reindl Harald wrote: > afaik sieve does not touch existing mails > my problem is that some accounts are orphaned and i want to get > rid of the messages in a way that two weeks alter nobody can say > "why you deleted my mails?" > > Am 03.05.2011 13:26, schrieb Jorge Bastos: >> The best way will be using sieve if I'm not wrong. >> >> >>> is there a way to spit existing mails back to postfix with an external >>> target address? >>> >>> i am dreaming of a table "msg_id, target_address" which would be >>> enumerated from time to time and after the mail is forwarded remove the >>> entry from this "todo-list" >>> >>> the reason behind are some since years ignored mailboxes where i have >>> valid target at gmx for the users and before replacing their physical >>> account with a forwarder spit all the 500 mails to their gmx-address >>> since some of the users are not responsible :-( > > > > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
