Hello all,

it is currently impossible to disable the vacation message for one
specific sender because the vacation section is placed before the rules
section :

    require ["vacation","fileinto"];
    
    if allof ( ... ) {vacation :days 7 :addresses ["[email protected]"]     
text:
    Bla
    .
    ;
    }
    
    if anyof (address :contains ["to", "cc"] "[email protected]") {
        fileinto "Mailing lists.sogo";
    }
    elsif anyof (address :is "from" "[email protected]") {
        stop;
    }


By inverting the two sections, [email protected] will not receive
vacation message :

    require ["vacation","fileinto"];
    
    if anyof (address :contains ["to", "cc"] "[email protected]") {
        fileinto "Mailing lists.sogo";
    }
    elsif anyof (address :is "from" "[email protected]") {
        stop;
    }
    
    if allof ( ... ) {vacation :days 7 :addresses ["[email protected]"]     
text:
    Bla
    .
    ;
    }


Is it possible that theses two sections be inverted ? Second option is
to create a field for exceptions.

Should I fill a ticket ?

We have this need because we have a ticketing system that sends
automaticaly mails, it could create a loop.

Greetings.

-- 
Romain LE DISEZ / Netensia

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

Reply via email to