Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUZIq-0004Q6-N1 for pgsql-sql@arkaria.postgresql.org; Tue, 12 Nov 2019 16:46:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUZHr-0006Nb-DF for pgsql-sql@arkaria.postgresql.org; Tue, 12 Nov 2019 16:45:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUZHq-0006NP-QV for pgsql-sql@lists.postgresql.org; Tue, 12 Nov 2019 16:45:03 +0000 Received: from post.visena.com ([46.226.10.50]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.92) (envelope-from ) id 1iUZHn-0006FD-Gp for pgsql-sql@lists.postgresql.org; Tue, 12 Nov 2019 16:45:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:In-Reply-To:Message-ID:Cc:To:From:Date; bh=ouefXCJXsMCHlS7UaODwVSv9PndpCNON0+YR5AGZOJg=; b=q1mi8yFD7dwcav63L2YlJB4v60PU8DbImFDFSZekD26M8m5q2rCvJAvSiilADh90BOeKu5GO8Bb3FpZ9hwHliuhbHkwuHGRaoEegey+LJmntXiwe6dDJIml+L1D0MPnRWIIpzDCHw+x3ou225XrqV6O3nk/7mRJkBgqKa/I1k6k=; Received: from [10.0.1.10] (helo=tc7-visena.wh.internal.visena.com) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1iUZHg-0008DR-Ox; Tue, 12 Nov 2019 17:44:54 +0100 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.90_1) (envelope-from ) id 1iUZHg-0006Vf-N9; Tue, 12 Nov 2019 17:44:52 +0100 Date: Tue, 12 Nov 2019 17:44:52 +0100 (CET) From: Andreas Joseph Krogh To: Steve Midgley Cc: pgsql-sql@lists.postgresql.org Message-ID: In-Reply-To: Subject: Re: FW: Re: type for storing emails? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_255_1265220853.1573577092627" X-Mailer: Visena Mail 2.2.164 X-Spam-Score: -1.0 X-Spam-Report: SpamAssasin (score=-1.0, required 5.0 ALL_TRUSTED=-1,HTML_MESSAGE=0.001) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_255_1265220853.1573577092627 Content-Type: multipart/related; boundary="----=_Part_256_546946730.1573577092627" ------=_Part_256_546946730.1573577092627 Content-Type: multipart/alternative; boundary="----=_Part_257_979245069.1573577092637" ------=_Part_257_979245069.1573577092637 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 tirsdag 12. november 2019 kl. 16:50:35, skrev Steve Midgley < science@misuse.org >:=20 [...]=20 Not to be pedantic but in the data model, you could have a couple of=20 verification data fields (e.g. verification_code; email_verified), and actu= ally=20 send an email and record if the user comes back with the correct verificati= on=20 code. It's obviously not something that can be handled solely via specs or= =20 database, but a data model can accommodate actual email verification (as I = know=20 you know, but thought I should make clear for future readers of the archive= s).=20 My point is; There is no way to tecnichally verify that an email actually= =20 =C2=ABexists=C2=BB (as in being active and will be routed to an actual reci= pient). Yes,=20 you can do all sorts of acrobatics, and may in many attempts succeed, but t= here=20 exists no method guaranteeing this. Many email-servers will for example hap= pily=20 receive the email, respond "OK, got it", but throw the email in an "unknown= =20 recipients"-bin, effectively ignoring any email sent to a non-existing addr= ess.=20 -- Andreas Joseph Krogh ------=_Part_257_979245069.1573577092637 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 tirsdag 12. november 2019 kl. 16:50:35, skrev Steve Midgley &l= t;science@misuse.org>:
[...]
Not to be pedantic but in the data model, you co= uld have a couple of verification data fields (e.g. verification_code; emai= l_verified), and actually send an email and record if the user comes back w= ith the correct verification code. It's obviously not something that can be= handled solely via specs or database, but a data model can accommodate act= ual email verification (as I know you know, but thought I should make clear= for future readers of the archives).
=C2=A0
My point is;=C2=A0=C2=A0There is no way to tecnichally=C2=A0verify= =C2=A0that an email actually =C2=ABexists=C2=BB (as in being active an= d will be routed to an actual recipient). Yes, you can do all sorts of acro= batics, and may in many attempts succeed, but there exists no method=C2=A0g= uaranteeing this. Many email-servers will for example happily receive the e= mail, respond "OK, got it", but throw the email in an "unkno= wn recipients"-bin, effectively=C2=A0ignoring=C2=A0any email sent to a= non-existing address.
=C2=A0
">--
Andreas Joseph Krogh
------=_Part_257_979245069.1573577092637-- ------=_Part_256_546946730.1573577092627-- ------=_Part_255_1265220853.1573577092627--