<docbook><section><title>VirtTipsAndTricksMailVerificationService</title><title> Using the Virtuoso Mail Verification Service</title> Using the Virtuoso Mail Verification Service
<para>The Virtuoso Mail Verification Service verifies Email Addresses (also known as mailto:-scheme URIs) against <ulink url="WebIDs">WebIDs</ulink> (which may use various URI schemes).</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Why is it Important?</bridgehead>
<para>Email Addresses are one of the most universally used, and intuitively understood, personal identifiers in use across both the World Wide Web and the Internet.</para>
<para>Making these Addresses verifiable fills a critical gap in the puzzle of Internet- and Web-scale verifiable identity.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">How Do I Use It?</bridgehead>
<para>Perform the following steps:</para>
<orderedlist spacing="compact"><listitem><ulink url="http://id.myopenlink.net/certgen/">Obtain an X.509 certificate with a WebID watermark</ulink> . </listitem>
<listitem><ulink url="http://id.myopenlink.net/ods/webid_demo.html">Verify your WebID-watermarked X.509 certificate</ulink> . </listitem>
<listitem>Install the <ulink url="https://virtuoso.openlinksw.com/download/">ods_framework_dav.vad</ulink> package which includes this functionality.
</listitem>
<listitem>Go to default endpoint for the service, http://&lt;cname&gt;/mv </listitem>
<listitem>Enter your Email Address </listitem>
<listitem>Check your inbox for a email message of the form: <programlisting>Please click on the link below to confirm your email.
https://&lt;cname&gt;/mv/mc.vsp?confirm={hash}

Example: 
https://id.myopenlink.net/mv/mc.vsp?confirm=b29e6a2dcd201d1e98321c474f80c7a1
</programlisting></listitem>
<listitem>Click on the Link in your mail and then identity yourself using <ulink url="WebID">WebID</ulink>, if your identity is verified the process is complete </listitem>
<listitem>View the descriptor document generated from this verification process via the URL pattern: <programlisting>http://&lt;cname&gt;/mv/data/{hash}

Example: http://id.myopenlink.net/mv/data/494253e4df395054402e8ca04dbdcade26bc558b
</programlisting></listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Service Endpoint</bridgehead>
<para> Virtuoso Mail Verification Service endpoint is available at &lt;<ulink url="http://cname/mv/&gt;&lt;/code">http://cname/mv/&gt;</ulink>&gt; .</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">REST Interaction Patterns</bridgehead>
<para>The service supports mbox parameter, which takes the Email Address to be verified as its value:</para>
<programlisting>URL pattern: http://&lt;cname&gt;/mv/mv.vsp?mbox={Email Address}

Example: http://id.myopenlink.net/mv/mv.vsp?mbox=xx@domain.com
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h4">Usage Scenario 1</bridgehead>
<para>In this case, we look at the simple Email Address verification via an HTML page associated with the service.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5"> Prerequisites</bridgehead>
<para>Make sure the <ulink url="https://virtuoso.openlinksw.com/download/">ods_framework_dav.vad</ulink> package is installed.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h5">Steps</bridgehead>
<orderedlist spacing="compact"><listitem>Go to <ulink url="http://id.myopenlink.net/mv/">http://id.myopenlink.net/mv/</ulink> : <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf1.png" /></figure> </listitem>
<listitem>Enter your mail address: <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf2.png" /></figure> </listitem>
<listitem>Click &quot;Verify&quot;.
</listitem>
<listitem>The following message should be shown: <programlisting>A confirmation mail was sent, please check your mail box.
</programlisting><figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf3.png" /></figure> </listitem>
<listitem>Open your mail client associated with your mail box.
</listitem>
<listitem>A new message should arrive, respectively with: <itemizedlist mark="bullet" spacing="compact"><listitem> <emphasis>Subject</emphasis> <programlisting>Mail verification service
</programlisting></listitem>
<listitem> <emphasis>Content</emphasis> <programlisting>Please click on the link below to confirm your email.
https://id.myopenlink.net/mv/mc.vsp?confirm=fab83a65a15de7ccf4965e7fd004f4ba
</programlisting><figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf4.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>Click on the link.
</listitem>
<listitem>You should be redirected to the Virtuoso Mail Verification Service, and be presented with a message that the email address has been confirmed: <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf5.png" /></figure> </listitem>
<listitem>View the descriptor document that results of this service by clicking the presented link: <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/vf6.png" /></figure></listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Usage Scenario 2</bridgehead>
<para>This example demonstrates integration with the Virtuoso X.509 Certificate Generator whereby the Mail Verification service ensures that only verified Email Addresses are added to the claims in a <ulink url="WebID">WebID</ulink> watermarked X.509 Certificate:</para>
<orderedlist spacing="compact"><listitem>Go to the <ulink url="http://id.myopenlink.net/certgen/">Virtuoso X.509 certificate WebID-watermark Generator</ulink> <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/cr1.png" /></figure> </listitem>
<listitem>In the presented form enter: <itemizedlist mark="bullet" spacing="compact"><listitem>&quot;E-mail&quot;: e.g., <ulink url="demo@openlinksw.com">demo@openlinksw.com</ulink> </listitem>
<listitem>&quot;<ulink url="WebID">WebID</ulink> (manual selection): <ulink url="http://id.myopenlink.net/dataspace/person/demo#this">http://id.myopenlink.net/dataspace/person/demo#this</ulink> <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/cr2.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>Click &quot;Lookup&quot;.
</listitem>
<listitem>Should be presented new &quot;Mail verification URI&quot; to be used, for example: <programlisting>http://id.myopenlink.net/mv/mv.vsp
</programlisting><figure><graphic fileref="VirtTipsAndTricksMailVerificationService/cr3.png" /></figure> </listitem>
<listitem>Click the &quot;Check&quot; button </listitem>
<listitem>Should be redirected to the Virtuoso Mail Verification Service with message for successfully sent message for confirmation: <figure><graphic fileref="VirtTipsAndTricksMailVerificationService/cr4.png" /></figure></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/">OpenLink Data Spaces</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/OdsMail">ODS-Webmail</ulink> </listitem>
<listitem><ulink url="http://id.myopenlink.net/certgen/">Virtuoso Generator for X.509 certificate with a WebID watermark</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/wiki/ODS/ODSGenerateX509Certificate">Generating WebID-watermarked X.509 Certificates for Use with ODS</ulink> </listitem>
<listitem><ulink url="VirtSPARQLSecurityWebID">WebID Protocol &amp; SPARQL Endpoint ACLs Tutorial</ulink> </listitem>
<listitem><ulink url="http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSOpenID">ODS OpenID support</ulink></listitem>
</itemizedlist></section></docbook>