[aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread BlackEagle
- check if the format is valid - go and connect to the smtp server of the given domain and verify if the given email exists there --- web/lib/aur.inc.php | 75 ++- 1 files changed, 74 insertions(+), 1 deletions(-) diff --git a/web/lib/aur.inc.ph

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Lukas Fleischer
On Tue, Mar 20, 2012 at 10:36:11AM +0100, BlackEagle wrote: > - check if the format is valid > - go and connect to the smtp server of the given domain and verify if > the given email exists there I'm still not convinced that this is the right way to go. This check is quite technical and looks er

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Slavi Pantaleev
Contacting the mail server to verify that the mailbox exists seems a little excessive. I think just checking for an MX/A record is good in catching some obviously fake addresses and reliable enough. Maybe we should just stop there. On Tue, Mar 20, 2012 at 12:31 PM, Lukas Fleischer wrote: > On Tue

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Ike Devolder
On Tue, Mar 20, 2012 at 11:31:32AM +0100, Lukas Fleischer wrote: > On Tue, Mar 20, 2012 at 10:36:11AM +0100, BlackEagle wrote: > > - check if the format is valid > > - go and connect to the smtp server of the given domain and verify if > > the given email exists there > > I'm still not convinced

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Florian Pritz
On 20.03.2012 10:36, BlackEagle wrote: > - check if the format is valid > - go and connect to the smtp server of the given domain and verify if > the given email exists there Good idea, but I've seen mail servers accepting all recipients during the SMTP session, but later sending a DSN because t

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Ike Devolder
2012/3/20 Florian Pritz > On 20.03.2012 10:36, BlackEagle wrote: > > - check if the format is valid > > - go and connect to the smtp server of the given domain and verify if > > the given email exists there > > Good idea, but I've seen mail servers accepting all recipients during > the SMTP ses

Re: [aur-dev] [PATCH] validate email and fully check existence of it

2012-03-20 Thread Lukas Fleischer
On Tue, Mar 20, 2012 at 12:06:03PM +0100, Ike Devolder wrote: > On Tue, Mar 20, 2012 at 11:31:32AM +0100, Lukas Fleischer wrote: > > On Tue, Mar 20, 2012 at 10:36:11AM +0100, BlackEagle wrote: > > > - check if the format is valid > > > - go and connect to the smtp server of the given domain and ver