This file is indexed.

/etc/horde/ingo/fields.php is in php-horde-ingo 3.2.16-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
 * This file defines the set of default match items to display when creating
 * a new filter rule.
 *
 * IMPORTANT: DO NOT EDIT THIS FILE!
 * Local overrides MUST be placed in fields.local.php or fields.d/.
 * If the 'vhosts' setting has been enabled in Horde's configuration, you can
 * use fields-servername.php.
 *
 * These fields will only appear if the driver can handle it.
 *
 * Users will have to manually insert the name of the header on the rule
 * creation screen if it does not appear in this list.
 *
 * Format of $ingo_fields array:
 * 'LABEL' => array(
 *     MANDATORY:
 *     'label' => (string)  The gettext label for the entry.
 *     'type'  => (integer) The type of test. Either:
 *                          Ingo_Storage::TYPE_HEADER  --  Header test
 *                          Ingo_Storage::TYPE_SIZE    --  Message size test
 *                          Ingo_Storage::TYPE_BODY    --  Body test
 *     OPTIONAL:
 *     'tests' => (array)   Force these tests to be used only.
 *                          If not set, will use the fields generally
 *                          available to the driver.
 * )
 */
$ingo_fields = array(
    'To' => array(
        'label' => _("To"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Subject' => array(
        'label' => _("Subject"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Sender' => array(
        'label' => _("Sender"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'From' => array(
        'label' => _("From"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Cc' => array(
        'label' => _("Cc"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Bcc' => array(
        'label' => _("Bcc"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Resent-from' => array(
        'label' => _("Resent-From"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Resent-to' => array(
        'label' => _("Resent-To"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'List-Id' => array(
        'label' => _("List-ID"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Received' => array(
        'label' => _("Received"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'X-Spam-Level' => array(
        'label' => _("X-Spam-Level"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'X-Spam-Score' => array(
        'label' => _("X-Spam-Score"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'X-Spam-Status' => array(
        'label' => _("X-Spam-Status"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'X-Priority' => array(
        'label' => _("X-Priority"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'To,Cc,Bcc,Resent-to' => array(
        'label' => _("Destination (To, Cc, Bcc, etc.)"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'From,Sender,Reply-to,Resent-from' => array(
        'label' => _("Source (From, Reply-to, etc.)"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'To,Cc,Bcc,Resent-to,From,Sender,Reply-to,Resent-from' => array(
        'label' => _("Participant (From, To, etc.)"),
        'type' => Ingo_Storage::TYPE_HEADER
    ),
    'Size' => array(
        'label' => _("Size"),
        'type' => Ingo_Storage::TYPE_SIZE,
        'tests' => array('greater than', 'less than')
    ),
    'Body' => array(
        'label' => _("Body"),
        'type' => Ingo_Storage::TYPE_BODY,
        'tests' => array(
            'contains', 'not contain', 'is', 'not is', 'begins with',
            'not begins with', 'ends with', 'not ends with', 'regex',
            'not regex', 'matches', 'not matches'
        )
    )
);