Allowed targets
From version 5.3.8, a farm administrator decides which mail and SMS servers Virto Notifications & Alerts On-Premises may connect to. The notifications of all sites are sent by the Virto Alerts Notification Timer Job. It connects to the mail server, the SMS gateway or the XMPP server with the rights of the server, not with the rights of the site owner who created the communication settings on a site. On the Allowed targets page, the farm administrator lists the servers that the job may use.
Open the page
In Central Administration, on the home page, find the group Virto Notifications & Alerts and click Allowed targets. The group and the link appear when the product is installed or updated to version 5.3.8. Only farm administrators can open the page. A saved change reaches all web servers of the farm in about two minutes.

Mail and SMS servers
The Mail and SMS servers list holds each server as host and port, for example smtp.contoso.com:25. Add the servers that the communication settings of the sites use:
- your own SMTP servers (see SMTP);
- SMS servers (see SMS Adjustment);
- Office Mobile Service and XMPP servers.
The outgoing e-mail server of the web application, which the Default SMTP connection uses, doesn’t need an entry. The list doesn’t apply to Clickatell SMS Gateway connections either: they need no entry, because the product always connects to Clickatell itself, over HTTPS on port 443.
To add a server, type its host and port in the field of the new entry, select Accept the certificate of this server if needed, and click Add. Remove deletes an entry.
Accept the certificate of this server lets the job use the server even when its certificate is not valid: the name in the certificate doesn’t match the name of the server, the certificate has expired, or its issuer is not trusted, as with a self-signed certificate. Select it only for servers you trust. In the entry of a server on the list, the option is a button that shows a check mark while it is on; click it to turn it on or off.

Restriction
Restriction sets how strictly the list applies. Select one option and click Save:
- New uses need an allowed target; uses that were in place before keep working — the default on a farm updated from an earlier version. The communication settings that existed before the update keep working as before (see After an update from an earlier version). A setting created after the update follows the rules of the next option.
- Every use needs an allowed target — the default of a new installation. The job connects only to the servers on the list, offers the Windows account of the timer job only to servers on the list, and accepts a certificate that is not valid only when the entry of the server accepts it.
- No restriction — the job connects to any server, as before version 5.3.8.
Servers in use and not approved yet
The block In use and not approved yet lists the servers that the settings of the sites already use but that are not on the list, with what is special about each of them:
- certificate not valid with the reason: the name in the certificate doesn’t match the name of the server, the certificate has expired, or its issuer is not trusted (for example, a self-signed certificate);
- the Windows account of the timer job is offered — the setting connects to its own SMTP server without a user name and password, so the job offers its Windows account when the server asks for a login. A server that is not on the list still gets the account only because the setting existed before the update.

The block fills when the timer job, which runs every minute, meets such a server. Click Approve the targets in use to add all of them to the list at once. For a server with a certificate that is not valid, this also turns on Accept the certificate of this server, and the message after the click names these servers: “Saved. The certificate of these servers is not valid and is now accepted: server names. You can switch this off for each server in the list.” When no such server is approved, the message is “Saved.” You can turn the option off in the entry of each server.

After an update from an earlier version
An update to version 5.3.8 doesn’t stop the notifications that already work:
- The communication settings that existed before the update work exactly as before: a server that is not on the list is used, the Windows account of the timer job is offered where a setting used it, and a certificate that is not valid (for example, a self-signed one) is accepted.
- Restriction is set to New uses need an allowed target; uses that were in place before keep working, and the page shows the note Not restricted yet: alerts through your own SMTP server, SMS (SMPP, Office Mobile Service) and XMPP keep working without a check because they were in use before the allowed targets existed.
- Each such use is listed under In use and not approved yet with what is special about it. It is also written once per run to the log of the job run and to the SharePoint log (level Monitorable).
A setting counts as one that existed before the update only while its server and port stay the same. A setting created after the update, or one whose server or port was changed later, is new: a server that is not on the list is not used, the Windows account of the timer job is offered only to servers on the list, and a certificate that is not valid is accepted only when the entry of the server accepts it.
What to do after the update
- Wait until the timer job has run (it runs every minute) and open Allowed targets. The block In use and not approved yet lists the servers that the sites use.
- Click Approve the targets in use. Check the list: for servers with a certificate that is not valid, Accept the certificate of this server is turned on. Turn it off where it isn’t needed.
- Under Restriction, select Every use needs an allowed target and click Save.
When a server is refused
The job doesn’t connect to a server that it refuses. The alert shows a message in the language of the site in its status and as Last Error in the run log (see Alerts managing). The message says what happened, which server, why, and that a farm administrator corrects it on the Allowed targets page in Central Administration. For example:
- for a server that is not on the list: “The mail or SMS server ‘smtp.contoso.com:25’ is not on the list of allowed servers. A farm administrator allows it in Central Administration, Virto Notifications & Alerts, Allowed targets.”
- for a certificate that is not valid and that the entry of the server doesn’t accept: “The server ‘smtp.contoso.com:465’ was not used: its certificate is not valid (reason) and the entry of the server does not accept it.” The message goes on with where a farm administrator accepts the certificate. The reason is that the name in the certificate doesn’t match the name of the server, the certificate has expired, the issuer is not trusted, or the certificate could not be checked.
- for your own SMTP server that is used without a user name and password, is not on the list and asks for a login: “The server ‘smtp.contoso.com:25’ did not accept the connection without a login. The Windows account of the timer job is offered only to servers on the list, and this server is not on it. A farm administrator puts the server on the list in Central Administration, Virto Notifications & Alerts, Allowed targets.”
The log of the job run and the SharePoint log carry the same text. The messages are available in all 14 languages of the product. When the Windows account of the timer job is not offered to a server, both logs also get a warning, always in English, that the default credentials of the timer job are not offered to the server because it is not on the list.