vault plugin

vault-plugin

vault_mailbox

The vault plugin performs the job of storing the incoming mail first to ARCHIVE and if that succeeded, then to user’s INBOX. It also adds the Seen flag to the message. You can enable it with:

protocol lmtp
     { mail_plugins = $mail_plugins vault
       plugin
         {
           vault_mailbox = ARCHIVE
         }
     }