Anyone have any idea on this?

On 31/03/2016 11:25, [email protected] wrote:
Does anyone know if this is possible?

Basically we have an issue whereby if a mail is sent to a group distribution list and one of those members has a vacation alert enabled the sender will receive an alert. I've considered adding "Precedence: List" to all group mails however this won't work as both group lists and users additional address are treated as email aliases (regardless of the email addresses I enter into the email addresses box on the vacation tab).

Basically I want to change it so instead of this -

    if allof (
        not exists ["list-help", "list-unsubscribe", "list-subscribe",
    "list-owner", "list-post", "list-archive", "list-id",
    "Mailing-List"],
        not header :comparator "i;ascii-casemap" :is "Precedence"
    ["list", "bulk", "junk"],
        not header :comparator "i;ascii-casemap" :matches "To"
    "Multiple recipients of*"
    ) {
        vacation
            :days 1
            :addresses [comma_separated_list_of_addresses_here ]
            text:
                I am currently on annual leave.
            ;
    }


to -

    if allof (
        not exists ["list-help", "list-unsubscribe", "list-subscribe",
    "list-owner", "list-post", "list-archive", "list-id",
    "Mailing-List"],
        not header :comparator "i;ascii-casemap" :is "Precedence"
    ["list", "bulk", "junk"],
        not header :comparator "i;ascii-casemap" :matches "To"
    "Multiple recipients of*",
        address :is "to" ["[email protected]", "[email protected]"]
    ) {
        vacation
            :days 1
            :addresses ["[email protected]", "[email protected]"]
            text:
                I am currently on annual leave.
            ;
    }


Is this possible?
--
[email protected]
https://inverse.ca/sogo/lists

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to