Add option to NOT process/store emails for a domain

Issue #106 resolved
David Fallin created an issue

The way I understand things, piler stores any emails that are delivered to it. I would like to have an option that says if none of the domains listed in the admin interface are in any of the to/from/bcc fields, do NOT store the email. the scenario is we have 1 mail server with multiple domains, i want to offer an 'add on' service to archive emails. if i have at least 1 domain on that server that wants archives, i'll need to always_cc to piler, but that will send domains that have NOT opted to be archived, so i would like the option to ignore those. This might also be helpful for unexpected traffic (like an internal spam breakout).

thanks!

Comments (1)

  1. Janos SUTO repo owner

    Just updated the master branch. Please download it, and update the piler binaries only.

    Then set archive_only_mydomains=1 in piler.conf, and try to send something not on your mydomains list, and see the maillog.

  2. Log in to comment