20180830000001_setting_delivery_temporary_failed.rb 712 B

123456789101112131415161718192021
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. class SettingDeliveryTemporaryFailed < ActiveRecord::Migration[5.1]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Setting.create_if_not_exists(
  7. title: 'Defines postmaster filter.',
  8. name: '0955_postmaster_filter_bounce_delivery_temporary_failed',
  9. area: 'Postmaster::PreFilter',
  10. description: 'Defines postmaster filter to identify postmaster bounced - reopen ticket on permanent temporary failed.',
  11. options: {},
  12. state: 'Channel::Filter::BounceDeliveryTemporaryFailed',
  13. frontend: false
  14. )
  15. end
  16. end