Custom logic

Steve Meier smeier at webster.edu
Sat Dec 19 02:51:03 CET 2015


Hello,


I am evaluating automx for potential use within our environment.  I have set up an instance of automx for testing and am looking into how we can implement some programming logic needed to get a correct response needed to support our different use-cases.


The general logic needed is-


1) User has provided a "username at domain.edu" address

2) Query our LDAP server by the uid=username and retrieve the mailRoutingAddress attribute.

3) mailRoutingAddress will follow one of three rules-

  a) the "username at servername.domain.edu"

  b) an external "forwarding address" that has been assigned by the user (for example a gmail, a yahoo, etc)

  c) "username at tenant.onmicrosoft.com" (in other words, an institution-specific Office 365 instance)


4) Based on the rules above, we need to send the correct response, respectively

  a) respond with settings for IMAP+SMTP email service (based off username, servername)

  b) don't send a response (or possibly fall back to settings using a different LDAP attribute)

  c respond with a redirect to Microsoft O365 autodiscover.outlook.com



I have read through the documentation and it appears it may be possible to do this using automx, but I am not sure yet.  The documentation referenced this listserv, so I thought I would ask.


Can anyone provide some insight into whether or not above would be possible, and if so, the general approach to go about it?  I can see it may require a combination of things (filters, custom scripts, LDAP, etc).


Thanks and Happy Holidays =)

-SteveM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.sys4.de/pipermail/automx-users/attachments/20151219/2903b513/attachment.html>


More information about the automx-users mailing list