[exim] [wishlist] ACL's called like functions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Wakko Warner
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] [wishlist] ACL's called like functions
After playing with ACLs and having duplicated code to do mostly the same
type of task, I moved it to an acl by itself and used acl_c* to pass
parameters to it.  For something like this, it would be nice if one could do
something like:
    acl = acl_function{param1:param2:param3:...}


I would prefer () instead of {} but it doesn't fit in to the exim way =)

and 
acl_function:
    accept    condition = ${if eq{$acl_p1}{this}}
    ...
    ...


--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???