NSD1184 Configure OTP Server to Send E-mail Containing Prefetched OTP's to a Static E-mail Receiver
Fact
Nordic Edge One Time Password Server
Situation
Configure OTP Server to send e-mail containing prefetched OTP's to a static e-mail receiver
Solution
Installation:
Download and unzip the PrefetchStaticMail.zip.
Copy the files to:
| File | Destination Folder | Comment |
| PrefetchStaticMail.cfg | [drive] …/OTP Server/ | The OTP Server directory (where the OTPServer.exe resides) |
| PrefetchStaticMail.class | [drive] …/OTP Server/ext | Folder for OTP Server external code |
| neotppf.jsp | If Prefetch for Tomcat is used, replace current neotppf.jsp with this one |
Edit LoginAdmin.aspx (for the ASP.NET platform)
Bring up the LoginAdmin.aspx (usually in C:InetpubwwwrootOtpPreFetch) in an editor.
Add the bold row from the sample below to the LoginAdmin.aspx:
<asp:DropDownList ID="dlSendAttrib" runat="server" Width="150px" class="input">
<asp:ListItem Value="mobile">SMS</asp:ListItem>
<asp:ListItem Value="mail">e-mail</asp:ListItem>
<asp:ListItem Selected="True" Value="email2admin">e-mail (to admin)</asp:ListItem>
</asp:DropDownList>
Edit the PrefetchStaticMail.cfg
Please edit the PrefetchStaticMail.cfg to achieve a static email receiver:
Remove the hashmark (#) before #Mail= and add your email address.
#PrefetchStaticMail.cfg
#ScanAttribute The attribute to detect
ScanAttribute=email2admin
#Mail The static mail address, if not specified, the SMTP mailto address will be used
Mail=staticEmail@company.com
In the OTP Server configurator:
-
Choose Radius & Clients.
-
Select a client and click 'Edit Client'.
-
Select a User Database which is configured for prefetch OTP's and and press the 'Edit' button.
-
(Figure below) In the section 'Advanced Options'. Check the checkbox for 'External Databasehandler' and write 'ext.PrefetchStaticMail'
-
Press OK and save the configuration
-
Restart the OTP Server
Disclaimer
The origin of this information may be internal or external to Nordic Edge™. Nordic Edge™ makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Nordic Edge™ makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.
Nordic Edge Support – www.nordicedge.se
