Henning,

On 1/2/22 4:00 PM, Henning Svane wrote:
This can be parsed
acl XMail_EAS  url_beg -i /microsoft-server-activesync && XMail
but this will not
acl XMail_EAS  XMail && url_beg -i /microsoft-server-activesync
error detected while parsing ACL 'XMail_EAS' : unknown fetch method 'XMail' in 
ACL expression 'XMail'.

HAProxy does not support logical conjunctions within an ACL definition. You can use a variable as a workaround:

http-request set-var(txn.xmail_eas) bool(1) if XMail { url_beg -i /microsoft-server-activesync }
http-request tarpit if { var(txn.xmail_eas) -m bool }

Best regards
Tim Düsterhus

Reply via email to