It's hard to say. This depends entirely on your mail server and its
configuration. This isn't really something we can just answer, only guess.

You may want to make sure that you don't have a username/password set for
the mail configuration when you save it (as it looks like that's the error
you're seeing). The browser may have filled in these fields based on your
Review Board log in, due to the field names.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Nov 6, 2009 at 6:40 AM, zinou <zinou...@gmail.com> wrote:

>
> Hello,
>
> i've installed reviewboard 1.0.5 and i configured smtp server
> correctly and checked "Send e-mails for review requests and reviews",
> the problem is when i post a new reveiew or comment, i got an error
> due to enability to send emails to reviewers, i know this because i
> received emails with the trace back (see bellow) on admin email
> address configured when i ve create site with the command rb-site
> install .., is it normal that review board can send an email to the
> administrator of website but not to the reviewers with the same smtp
> configuration?
>
> Traceback (most recent call last):
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/handlers/base.py", line 92, in get_response
>    response = callback(request, *callback_args, **callback_kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/views/decorators/cache.py", line 44, in _wrapped_view_func
>    response = view_func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5.5-py2.6.egg/
> djblets/webapi/decorators.py", line 59, in _checklogin
>    response = view_func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/views/decorators/http.py", line 37, in inner
>    return func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/webapi/json.py", line 1124, in
> review_reply_draft_save
>    mail_reply(request.user, reply)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/reviews/email.py", line 228, in mail_reply
>    'reply': reply})
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/reviews/email.py", line 114, in send_review_mail
>    message.send()
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 266, in send
>    return self.get_connection(fail_silently).send_messages([self])
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 166, in send_messages
>    new_conn_created = self.open()
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 137, in open
>    self.connection.login(self.username, self.password)
>
>  File "/usr/lib/python2.6/smtplib.py", line 552, in login
>    raise SMTPException("SMTP AUTH extension not supported by
> server.")
>
> SMTPException: SMTP AUTH extension not supported by server.
>
>
> <ModPythonRequest
> path:/reviewboard/api/json/reviewrequests/1/reviews/1/replies/draft/
> save/,
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'dummy': [u'']}>,
> COOKIES:{'collapsediffs': 'True', 'rbsessionid':
> '087493a678a90e58933a60ff74047f9d'},
> META:{'AUTH_TYPE': None,
>  'CONTENT_LENGTH': '6',
>  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HTTP_ACCEPT': 'application/json, text/javascript, */*',
>  'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
>  'HTTP_ACCEPT_LANGUAGE': 'fr',
>  'HTTP_CACHE_CONTROL': 'no-cache',
>  'HTTP_CONNECTION': 'Keep-Alive',
>  'HTTP_CONTENT_LENGTH': '6',
>  'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded',
>  'HTTP_COOKIE': 'rbsessionid=087493a678a90e58933a60ff74047f9d;
> collapsediffs=True',
>  'HTTP_HOST': '192.168.52.128',
>  'HTTP_REFERER': 'http://192.168.52.128/reviewboard/r/1/',
>  'HTTP_UA_CPU': 'x86',
>  'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
> 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
>  'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
>  'PATH_INFO': u'/reviewboard/api/json/reviewrequests/1/reviews/1/
> replies/draft/save/',
>  'PATH_TRANSLATED': None,
>  'QUERY_STRING': None,
>  'REMOTE_ADDR': '192.168.52.1',
>  'REMOTE_HOST': None,
>  'REMOTE_IDENT': None,
>  'REMOTE_USER': None,
>  'REQUEST_METHOD': 'POST',
>  'SCRIPT_NAME': '',
>  'SERVER_NAME': 'ubuntu',
>  'SERVER_PORT': 80,
>  'SERVER_PROTOCOL': 'HTTP/1.1',
>  'SERVER_SOFTWARE': 'mod_python'}>
>
> Thanks in advance
>
> On Nov 5, 6:26 pm, Kunjal <kunjal.par...@gmail.com> wrote:
> > THANKS !!
> > I fix it now.
> >
> > On Nov 4, 12:21 pm, Christian Hammond <chip...@chipx86.com> wrote:
> >
> > > Sounds like you specified a username/password for the mail server, but
> the
> > > mail server doesn't support authentication.
> >
> > > Christian
> >
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
> >
> > > On Wed, Nov 4, 2009 at 9:20 AM, Kunjal <kunjal.par...@gmail.com>
> wrote:
> >
> > > > THANKS...It started working now.
> >
> > > > One issue I see is this....
> >
> > > > For the existing review, If I add more people and click on Publish
> > > > changes, I get below error.
> > > > What is this regarding?
> >
> > > > SMTPException at /api/json/reviewrequests/9/publish/
> > > > SMTP AUTH extension not supported by server.Request Method: POST
> > > > Request URL:
> > > >http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/9/publish/
> > > > Exception Type: SMTPException
> > > > Exception Value: SMTP AUTH extension not supported by server.
> > > > Exception Location: /opt/lampp/lib/python2.5/smtplib.py in login,
> line
> > > > 554
> > > > Python Executable: /tools/bin/python
> > > > Python Version: 2.5.2
> > > > Python Path: ['/opt/lampp/htdocs/reviewboard/conf', '/opt/lampp/lib/
> > > > python2.5/site-packages/django', '/opt/lampp/lib/python2.5/site-
> > > > packages/reviewboard', '/opt/lampp/lib/python2.5/site-packages/
> > > > MySQL_python-1.2.2-py2.5-linux-i686.egg', '/opt/lampp/lib/python2.5/
> > > > site-packages/setuptools-0.6c9-py2.5.egg', '/opt/lampp/lib/python2.5/
> > > > site-packages/ReviewBoard-1.0.3.1-py2.5.egg', '/opt/lampp/lib/
> > > > python2.5/site-packages/pytz-2009l-py2.5.egg', '/opt/lampp/lib/
> > > > python2.5/site-packages/flup-1.0.3.dev_20090716-py2.5.egg', '/opt/
> > > > lampp/lib/python2.5/site-packages/Pygments-1.1.1-py2.5.egg', '/opt/
> > > > lampp/lib/python2.5/site-packages/Djblets-0.5.3-py2.5.egg', '/opt/
> > > > lampp/lib/python2.5/site-packages/django_evolution-0.0.0-py2.5.egg',
> '/
> > > > opt/lampp/lib/python2.5/site-packages/Django-1.1-py2.5.egg', '/opt/
> > > > lampp/lib/python2.5/site-packages/PIL-1.1.6-py2.5-linux-i686.egg', '/
> > > > opt/lampp/lib/python2.5/site-packages/RBTools-0.2beta2-py2.5.egg', '/
> > > > opt/lampp/lib/python2.5/site-packages/simplejson-2.0.9-py2.5-linux-
> > > > i686.egg', '/opt/lampp/lib/python2.5/site-packages/python_ldap-2.3.9-
> > > > py2.5-linux-i686.egg', '/opt/lampp/lib/python25.zip',
> '/opt/lampp/lib/
> > > > python2.5', '/opt/lampp/lib/python2.5/plat-linux2', '/opt/lampp/lib/
> > > > python2.5/lib-tk', '/opt/lampp/lib/python2.5/lib-dynload',
> '/opt/lampp/
> > > > lib/python2.5/site-packages']
> > > > Server time: Wed, 4 Nov 2009 09:19:16 -0800
> >
> > > > On Nov 3, 11:20 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > > > > What mail server do you use?
> >
> > > > > Also, give this a try:
> >
> > > > >     rb-site manage /path/to/site shell
> >
> > > > > At the prompt:
> >
> > > > >     from django.core.mail import send_mail
> > > > >     send_mail("Test Subject", "This is a test", "
> > > > youraddr...@yourdomain.com",
> > > > > ["youraddr...@yourdomain.com"], fail_silently=False)
> >
> > > > > That *should* send an e-mail to the address you specify, using the
> e-mail
> > > > > settings in Review Board. If that fails, hopefully you'll see why.
> >
> > > > > Christian
> >
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.reviewboard.org
> > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > On Tue, Nov 3, 2009 at 5:04 PM, Kunjal <kunjal.par...@gmail.com>
> wrote:
> >
> > > > > > Chris,
> >
> > > > > > I have set the correct smtp host/port etc. but I still do not get
> > > > > > email.
> > > > > > Do I need to modify email.py file to get the email?
> >
> > > > > > Thanks
> > > > > > Kunjal
> >
> > > > > > On Nov 2, 3:47 pm, Christian Hammond <chip...@chipx86.com>
> wrote:
> > > > > > > You should be able to configure that in the E-mail Settings
> part of
> > > > the
> > > > > > > Admin UI. If e-mail is not working correctly, then it's an
> issue
> > > > talking
> > > > > > to
> > > > > > > the mail server.
> >
> > > > > > > Unfortunately, going through Django's e-mail infrastructure
> means
> > > > that we
> > > > > > > don't get any detailed error logging. Assuming the mail server
> is
> > > > under
> > > > > > your
> > > > > > > control, you may want to check your mail server logs if your
> e-mail
> > > > is
> > > > > > > enabled/configured properly and you're still not seeing
> anything.
> >
> > > > > > > Christian
> >
> > > > > > > --
> > > > > > > Christian Hammond - chip...@chipx86.com
> > > > > > > Review Board -http://www.reviewboard.org
> > > > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > > > On Mon, Nov 2, 2009 at 4:05 PM, Kunjal <
> kunjal.par...@gmail.com>
> > > > wrote:
> >
> > > > > > > > We have RB 1.0.3 with Perforce integration.
> > > > > > > > We have set up Apache server and everything works fine like
> posting
> > > > > > > > review, publshing review, updating diff etc.
> > > > > > > > We do not get any emails though once the review is posted
> etc.
> > > > > > > > how to configure email settings?
> >
> > > > > > > > Thanks
> > > > > > > > Kunjal
> >
> > > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > > > <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/reviewboard?hl=en
> > > > > > > > -~----------~----~----~----~------~----~------~--~---- Hide
> quoted
> > > > text
> > > > > > -
> >
> > > > > > > - Show quoted text -
> > > > > > > To unsubscribe from this group, send email to
> > > > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/reviewboard?hl=en
> > > > > > -~----------~----~----~----~------~----~------~--~---- Hide
> quoted text
> > > > -
> >
> > > > > - Show quoted text -
> > > > > To unsubscribe from this group, send email to
> > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegr­oups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/reviewboard?hl=en
> > > > -~----------~----~----~----~------~----~------~--~---- Hide quoted
> text -
> >
> > > - Show quoted text -
>
> > To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

--~--~---------~--~----~------------~-------~--~----~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to