﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
9890	EmailField bug	Özgür Vatansever	nobody	"I have a form like this:

{{{
class InvitationForm(forms.Form):
    e_mail = forms.EmailField()

}}}



when I test this form;[[BR]]

{{{
In [10]: i = InvitationForm(data={""e_mail"":""ozgur@gmail-.com""})
In [11]: i.is_valid()
Out[11]: True
}}}



However; when I tried to send an email to this email via postfix; I got that error:[[BR]]

{{{
ada:~# nc localhost smtp
220 ada.adacor.com.tr ESMTP Postfix (Debian/GNU)
MAIL FROM:can@canb.net
250 2.1.0 Ok
RCPT TO: ozgur@gmail-.com
501 5.1.3 Bad recipient address syntax
}}}

The problem is that although django.forms.EmailField accepts ""ozgur@gmail-.com"" as a valid email, however, postfix is giving me an error. 
"		closed	Forms	1.0		fixed			Accepted	1	0	0	0	0	0
