Forum Discussion

Michael_Frank_6's avatar
Michael_Frank_6
Icon for Nimbostratus rankNimbostratus
Oct 29, 2012

smtp recipient validation via ldap

Hello, before I spend too much time going further down this rabbit trail I'm wondering A, is this even possible to do and B, do you think it would give me adequate performance.

 

 

I'm bassically looking into whether the F5, via iRule, could check smtp recipients against an ldap server. If it is possible what are your thoughts on performance seeing as how it would be an extremely high number of recipients/sec. Thanks for your input.

 

1 Reply

  • I believe you would need to research:

     

    - How do I parse SMTP

     

    - How do I query and LDAP server

     

     

    I believe you would need to implement both client protocols yourself.

     

     

    As far as performance, I would guess your bottleneck will be your LDAP servers, not the iRule.

     

     

    For the LDAP query, maybe you could also look into the APM module:

     

    https://devcentral.f5.com/wiki/APM.HomePage.ashx

     

     

    For SMTP, the PSM modules adds some security features to the protocol, but does not seem to add protocol parsing that can be used from iRules, like SMTP events and data structures... would be cool though.