hi: I want to save every email copy to a Maildir format directory. just like "always_bcc", but put the mails in some directory outside normal mail storage area.
I wonder if this can be done with configuration, or I need to write some transport script. I tried to use "always_bcc=archive@localhost", but I don't know how to let postfix save mails to "archive@localhost" to "/my_want_directory". I tried to use "mailbox_transport_maps = hash:/etc/postfix/archive_local". and the file "archive_local" content is "archive local:/my_want_directory/". but the logic seems wrong. any hint for doing this job clean and easy? thanks for help!!