%META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+ Using the Virtuoso Mail Verification Service %TOC% The Virtuoso Mail Verification Service verifies Email Addresses (also known as mailto:-scheme URIs) against WebIDs (which may use various URI schemes). ---++Why is it Important? 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. Making these Addresses verifiable fills a critical gap in the puzzle of Internet- and Web-scale verifiable identity. ---++How Do I Use It? Perform the following steps: 1 [[http://id.myopenlink.net/certgen/][Obtain an X.509 certificate with a WebID watermark]] . 1 [[http://id.myopenlink.net/ods/webid_demo.html][Verify your WebID-watermarked X.509 certificate]] . 1 Install the [[https://virtuoso.openlinksw.com/download/][ods_framework_dav.vad]] package which includes this functionality. 1 Go to default endpoint for the service, http://<cname>/mv 1 Enter your Email Address 1 Check your inbox for a email message of the form: Please click on the link below to confirm your email. https:///mv/mc.vsp?confirm={hash} Example: https://id.myopenlink.net/mv/mc.vsp?confirm=b29e6a2dcd201d1e98321c474f80c7a1 1 Click on the Link in your mail and then identity yourself using WebID, if your identity is verified the process is complete 1 View the descriptor document generated from this verification process via the URL pattern: http:///mv/data/{hash} Example: http://id.myopenlink.net/mv/data/494253e4df395054402e8ca04dbdcade26bc558b ---+++Service Endpoint Virtuoso Mail Verification Service endpoint is available at <http://cname/mv/> . ---+++REST Interaction Patterns The service supports mbox parameter, which takes the Email Address to be verified as its value: URL pattern: http:///mv/mv.vsp?mbox={Email Address} Example: http://id.myopenlink.net/mv/mv.vsp?mbox=xx@domain.com ---++++Usage Scenario 1 In this case, we look at the simple Email Address verification via an HTML page associated with the service. ---+++++ Prerequisites Make sure the [[https://virtuoso.openlinksw.com/download/][ods_framework_dav.vad]] package is installed. ---+++++Steps 1 Go to http://id.myopenlink.net/mv/ : %BR%%BR%%BR%%BR% 1 Enter your mail address: %BR%%BR%%BR%%BR% 1 Click "Verify". 1 The following message should be shown: A confirmation mail was sent, please check your mail box. %BR%%BR%%BR%%BR% 1 Open your mail client associated with your mail box. 1 A new message should arrive, respectively with: * *Subject* Mail verification service * *Content* Please click on the link below to confirm your email. https://id.myopenlink.net/mv/mc.vsp?confirm=fab83a65a15de7ccf4965e7fd004f4ba %BR%%BR%%BR%%BR% 1 Click on the link. 1 You should be redirected to the Virtuoso Mail Verification Service, and be presented with a message that the email address has been confirmed: %BR%%BR%%BR%%BR% 1 View the descriptor document that results of this service by clicking the presented link: %BR%%BR%%BR%%BR% ---++++Usage Scenario 2 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 WebID watermarked X.509 Certificate: 1 Go to the [[http://id.myopenlink.net/certgen/][Virtuoso X.509 certificate WebID-watermark Generator]] %BR%%BR%%BR%%BR% 1 In the presented form enter: * "E-mail": e.g., demo@openlinksw.com * "WebID (manual selection): http://id.myopenlink.net/dataspace/person/demo#this %BR%%BR%%BR%%BR% 1 Click "Lookup". 1 Should be presented new "Mail verification URI" to be used, for example: http://id.myopenlink.net/mv/mv.vsp %BR%%BR%%BR%%BR% 1 Click the "Check" button 1 Should be redirected to the Virtuoso Mail Verification Service with message for successfully sent message for confirmation: %BR%%BR%%BR%%BR% ---++Related * [[http://ods.openlinksw.com/wiki/ODS/][OpenLink Data Spaces]] * [[http://ods.openlinksw.com/wiki/ODS/OdsMail][ODS-Webmail]] * [[http://id.myopenlink.net/certgen/][Virtuoso Generator for X.509 certificate with a WebID watermark]] * [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateX509Certificate][Generating WebID-watermarked X.509 Certificates for Use with ODS]] * [[VirtSPARQLSecurityWebID][WebID Protocol & SPARQL Endpoint ACLs Tutorial]] * [[http://ods.openlinksw.com/dataspace/dav/wiki/ODS/ODSOpenID][ODS OpenID support]]