<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>The general logic needed is-</p>
<p><br>
</p>
<p><span style="font-size: 12pt;">1) User has provided a "<b>username@domain.edu</b>" address</span></p>
<p><span style="font-size: 12pt;">2) Query our LDAP server by the <b>uid=username</b> and retrieve the
<b>mailRoutingAddress </b>attribute.</span></p>
<p><span style="font-size: 12pt;">3) <b>mailRoutingAddress </b>will follow one of
<b>three rules</b>-</span></p>
<p><span style="font-size: 12pt;"></span><span style="font-size: 12pt;">  a) the "</span><span style="font-size: 12pt;">username@<b>servername</b>.domain.edu"</span></p>
<p><span style="font-size: 12pt;">  b) an external "forwarding address" that has been assigned by the user (for example a gmail, a yahoo, etc)</span></p>
<p><span style="font-size: 12pt;">  c) "username@<b>tenant.onmicrosoft.com</b>" (in other words, an institution-specific Office 365 instance)</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">4) Based on the rules above, we need to send the correct response, respectively</span></p>
<p><span style="font-size: 12pt;">  a) respond with settings for IMAP+SMTP email service (based off <b>username, servername</b>)</span></p>
<p><span style="font-size: 12pt;">  b) don't send a response (or possibly fall back to settings using a different LDAP attribute)</span></p>
<p><span style="font-size: 12pt;">  c respond with a <b>redirect to Microsoft O365 autodiscover.outlook.com</b></span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">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.</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"></span><span style="font-size: 12pt;">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).</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Thanks and Happy Holidays =)</span><br>
</p>
<p><span style="font-size: 12pt;">-SteveM</span></p>
</div>
</body>
</html>