[Date Prev][Date Next] [Chronological] [Thread] [Top]

prevent mail loops using constraint overlay



Hi,

some user always try to build mail loops, creating a
mailForwadingAddress attribute with the value of one of their mail
attribute.

according to the manpage SLAPO-CONSTRAINT(5):

       [...]
       constraint_attribute cn,sn,givenName set
                "(this/givenName + [ ] + this/sn) & this/cn"
       [...]
       it requires  the  values of the
       attribute cn to be constructed by pairing values of the
       attributes sn and givenName, separated by a space, 
       [...]

I understand the syntax of the constraint overlay in that way, that the
expression after the "set" command has to be true.

But if I try to use 

       constraint_attribute mail,mailForwardingAddress set 
                "this/mail | this/mailForwardingAddress"

it takes no effect. It should require that there can be a attribute mail
with value X OR a value mailForwardingAddress with value X.

Is it not valid to use the | operator?

Regards 
Ole

Attachment: signature.asc
Description: PGP signature