SMTPRecipientsRefused
Python 2.4: /usr/bin/python2.4
Fri May 9 15:16:23 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.4/site-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
  558         """Runs the handler, flushes the streams, and ends the request."""
  559         try:
  560             protocolStatus, appStatus = self.server.handler(self)
  561         except:
  562             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi_fork.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi_fork.WSGIServer object>>
 /usr/lib/python2.4/site-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
 1096             self._appLock.acquire()
 1097         try:
 1098             result = self.application(environ, start_response)
 1099             try:
 1100                 for data in result:
result = None, self = <flup.server.fcgi_fork.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler instance>, environ = {'DOCUMENT_ROOT': '/www/pfdny/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.pfdny.com', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response>
 /usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler instance>, environ={'DOCUMENT_ROOT': '/www/pfdny/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.pfdny.com', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>)
  152         try:
  153             request = WSGIRequest(environ)
  154             response = self.get_response(request.path, request)
  155         finally:
  156             db.db.close()
response undefined, self = <django.core.handlers.wsgi.WSGIHandler instance>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler instance>>, request = <DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, request.path = '/agents/zpagnamenta/'
 /usr/lib/python2.4/site-packages/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler instance>, path='/agents/zpagnamenta/', request=<DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
  112                     request_repr = "Request repr() unavailable"
  113                 message = "%s\n\n%s" % (self._get_traceback(), request_repr)
  114                 mail_admins(subject, message, fail_silently=True)
  115                 return self.get_friendly_error_response(request, resolver)
  116 
mail_admins = <function mail_admins>, subject = 'Coding error (EXTERNAL IP): /agents/zpagnamenta/', message = 'Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', fail_silently undefined, builtin True = True
 /usr/lib/python2.4/site-packages/django/core/mail.py in mail_admins(subject='Coding error (EXTERNAL IP): /agents/zpagnamenta/', message='Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', fail_silently=True)
   42     "Sends a message to the admins, as defined by the ADMINS constant in settings.py."
   43     from django.conf.settings import ADMINS, SERVER_EMAIL
   44     send_mail(EMAIL_SUBJECT_PREFIX + subject, message, SERVER_EMAIL, [a[1] for a in ADMINS], fail_silently)
   45 
   46 def mail_managers(subject, message, fail_silently=False):
global send_mail = <function send_mail>, global EMAIL_SUBJECT_PREFIX = '[Django] ', subject = 'Coding error (EXTERNAL IP): /agents/zpagnamenta/', message = 'Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', SERVER_EMAIL = 'root@localhost', a = ('Graham Higgins', 'gjh-pfdny@bel-epa.com'), ADMINS = (('Graham Higgins', 'gjh-pfdny@bel-epa.com'),), fail_silently = True
 /usr/lib/python2.4/site-packages/django/core/mail.py in send_mail(subject='[Django] Coding error (EXTERNAL IP): /agents/zpagnamenta/', message='Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', from_email='root@localhost', recipient_list=['gjh-pfdny@bel-epa.com'], fail_silently=True)
   10     of the recipient list will see the other recipients in the 'To' field.
   11     """
   12     return send_mass_mail([[subject, message, from_email, recipient_list]], fail_silently)
   13 
   14 def send_mass_mail(datatuple, fail_silently=False):
global send_mass_mail = <function send_mass_mail>, subject = '[Django] Coding error (EXTERNAL IP): /agents/zpagnamenta/', message = 'Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', from_email = 'root@localhost', recipient_list = ['gjh-pfdny@bel-epa.com'], fail_silently = True
 /usr/lib/python2.4/site-packages/django/core/mail.py in send_mass_mail(datatuple=[['[Django] Coding error (EXTERNAL IP): /agents/zpagnamenta/', 'Traceback (most recent call last):\n\n File "/usr...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', 'root@localhost', ['gjh-pfdny@bel-epa.com']]], fail_silently=True)
   34         msg['From'] = from_email
   35         msg['To'] = ', '.join(recipient_list)
   36         server.sendmail(from_email, recipient_list, msg.as_string())
   37         num_sent += 1
   38     server.quit()
server = <smtplib.SMTP instance>, server.sendmail = <bound method SMTP.sendmail of <smtplib.SMTP instance>>, from_email = 'root@localhost', recipient_list = ['gjh-pfdny@bel-epa.com'], msg = <email.MIMEText.MIMEText instance>, msg.as_string = <bound method MIMEText.as_string of <email.MIMEText.MIMEText instance>>
 /var/tmp/python2.4-2.4-root/usr/lib/python2.4/smtplib.py in sendmail(self=<smtplib.SMTP instance>, from_addr='root@localhost', to_addrs=['gjh-pfdny@bel-epa.com'], msg='Content-Type: text/plain; charset="us-ascii"\nMIM...gi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>', mail_options=[], rcpt_options=[])
  686             # the server refused all our recipients
  687             self.rset()
  688             raise SMTPRecipientsRefused(senderrs)
  689         (code,resp) = self.data(msg)
  690         if code != 250:
global SMTPRecipientsRefused = <class smtplib.SMTPRecipientsRefused>, senderrs = {'gjh-pfdny@bel-epa.com': (550, 'Verification failed for <root@localhost>\nUnrouteable address\nSender verify failed')}

SMTPRecipientsRefused: {'gjh-pfdny@bel-epa.com': (550, 'Verification failed for <root@localhost>\nUnrouteable address\nSender verify failed')}
      args = ({'gjh-pfdny@bel-epa.com': (550, 'Verification failed for <root@localhost>\nUnrouteable address\nSender verify failed')},)
      recipients = {'gjh-pfdny@bel-epa.com': (550, 'Verification failed for <root@localhost>\nUnrouteable address\nSender verify failed')}