What's the Perl module doing for you? Just call it in the relevant configuration section (eg authorise or authenticate section of relevant virtual server)

Alan
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.