distribution list emails not going through

Bug #780000 reported by Robert Marianski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Paul Everitt

Bug Description

We tried sending a message to the knowledge management distribution list on production and staging, but it didn't go through on either.

On production, it looks like it tries to send a mail out, but it generates an error (from mailout.log):
2011-05-06 13:29:17,350 ERROR QueueProcessor: Error while sending mail from Robert Marianski <rmarianski@...> to e, m, c, g, o, n, a, g, i, l, l@...
Traceback (most recent call last):
  File "/srv/osfkarl/production/16/eggs/repoze.sendmail-2.2-py2.6.egg/repoze/sendmail/queue.py", line 211, in _send_message
    self.mailer.send(fromaddr, toaddrs, message)
  File "/srv/osfkarl/production/16/eggs/repoze.sendmail-2.2-py2.6.egg/repoze/sendmail/mailer.py", line 75, in send
    connection.sendmail(fromaddr, toaddrs, message)
  File "/usr/lib/python2.6/smtplib.py", line 703, in sendmail
    (code,resp)=self.rcpt(each, rcpt_options)
  File "/usr/lib/python2.6/smtplib.py", line 457, in rcpt
    self.putcmd("rcpt","TO:%s%s" % (quoteaddr(recip),optionlist))
  File "/usr/lib/python2.6/smtplib.py", line 318, in putcmd
    self.send(str)
  File "/usr/lib/python2.6/smtplib.py", line 308, in send
    raise SMTPServerDisconnected('Server not connected')
SMTPServerDisconnected: Server not connected

On staging, I don't see this error, but I don't see an indication that it tried to send any messages out either. Some email addresses are on the whitelist so it should try to send out to some users.

Tags: r3.58
Changed in karl3:
milestone: none → m55
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Certainly this looks suspicious:

ERROR QueueProcessor: Error while sending mail from Robert Marianski <rmarianski@...> to e, m, c, g, o, n, a, g, i, l, l@...

Is it splitting when "To:" for multiple fails when there aren't multiple and it is splitting a string into letters?

Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Medium
Changed in karl3:
status: New → In Progress
Revision history for this message
Robert Marianski (rmarianski) wrote :

Nat gave it a try on staging, and it looks like two emails went out to Evan, but not to anyone else.
2011-05-09 17:04 was the timestamp in the mailout log.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

This has required a fix in repoze.sendmail. A new egg for this package must be released in order to release fix for Karl.

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

It is currently availabe for testing on branch1

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Hi Nat, if you read the comment history here, you'll see that Chris thinks he has distlist emails going through on branch1. If you can confirm, we can then get him moved onto the emailin tracer.

Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → Nat Katin-Borland (nborland)
Revision history for this message
Nat Katin-Borland (nborland) wrote :

I did some testing yesterday and this morning. Emails are going out as expected, which is great news! The only issue I found is that the reply-to header is set incorrectly. In other words, if you reply to an email from <email address hidden>, the it goes to <email address hidden>.

Not a huge deal, but I just want to make sure we have consistency by the time we go live.

-Nat

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 780000] Re: distribution list emails not going through

I don't think that's a bug. In fact, if staging *did* set the reply-to as you say, then you wouldn't be able to reply. :)

You can keep it in mind for testing when we go live, but I don't think there's any action for us.

Once you decide you've concluded pre-update testing, we can consider this wrapped up and move on.

--Paul

On May 11, 2011, at 9:45 AM, Nat Katin-Borland wrote:

> I did some testing yesterday and this morning. Emails are going out as
> expected, which is great news! The only issue I found is that the
> reply-to header is set incorrectly. In other words, if you reply to an
> email from <knowledge-management-
> <email address hidden>>, the it goes to <knowledge-
> <email address hidden>>.
>
> Not a huge deal, but I just want to make sure we have consistency by the
> time we go live.
>
> -Nat
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/780000
>
> Title:
> distribution list emails not going through
>
> Status in KARL3:
> Fix Committed
>
> Bug description:
> We tried sending a message to the knowledge management distribution
> list on production and staging, but it didn't go through on either.
>
> On production, it looks like it tries to send a mail out, but it generates an error (from mailout.log):
> 2011-05-06 13:29:17,350 ERROR QueueProcessor: Error while sending mail from Robert Marianski <rmarianski@...> to e, m, c, g, o, n, a, g, i, l, l@...
> Traceback (most recent call last):
> File "/srv/osfkarl/production/16/eggs/repoze.sendmail-2.2-py2.6.egg/repoze/sendmail/queue.py", line 211, in _send_message
> self.mailer.send(fromaddr, toaddrs, message)
> File "/srv/osfkarl/production/16/eggs/repoze.sendmail-2.2-py2.6.egg/repoze/sendmail/mailer.py", line 75, in send
> connection.sendmail(fromaddr, toaddrs, message)
> File "/usr/lib/python2.6/smtplib.py", line 703, in sendmail
> (code,resp)=self.rcpt(each, rcpt_options)
> File "/usr/lib/python2.6/smtplib.py", line 457, in rcpt
> self.putcmd("rcpt","TO:%s%s" % (quoteaddr(recip),optionlist))
> File "/usr/lib/python2.6/smtplib.py", line 318, in putcmd
> self.send(str)
> File "/usr/lib/python2.6/smtplib.py", line 308, in send
> raise SMTPServerDisconnected('Server not connected')
> SMTPServerDisconnected: Server not connected
>
> On staging, I don't see this error, but I don't see an indication that
> it tried to send any messages out either. Some email addresses are on
> the whitelist so it should try to send out to some users.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris, when Nat tested this (see the comment #6 below) the reply-to is set to production, not staging. Thus he can't test it.

Changed in karl3:
assignee: Nat Katin-Borland (nborland) → Chris Rossi (chris-archimedeanco)
status: Fix Committed → In Progress
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Fixed.

Changed in karl3:
status: In Progress → Fix Committed
Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → Nat Katin-Borland (nborland)
Revision history for this message
Nat Katin-Borland (nborland) wrote :

OK, we've completely tested the full send/reply cycle, so I think we're good to go!

Changed in karl3:
assignee: Nat Katin-Borland (nborland) → Paul Everitt (paul-agendaless)
Changed in karl3:
status: Fix Committed → Fix Released
JimPGlenn (jpglenn09)
tags: added: r3.58
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.