Generated bug emails should be sent in a single SMTP transaction

Bug #2064683 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Hi,

It seems Launchpad sends emails for bugs to each recipient in separate SMTP transactions:

| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: 98649803E5: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: 9C79F80415: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: A099380431: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: A41E380465: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: A870D8046D: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: AC3888046F: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: B2CE480472: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: B66B180473: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: B9D98804A2: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: BD8BD804ED: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: C11C580500: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: C4E468055B: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: C9BDE80587: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: CDE3A8059E: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: D170B805AC: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: D50E5805B5: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: D8BEF805B9: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: DCA90805D5: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: E1262805D6: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: E4EB5805D9: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: E913D805EE: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: ED12280620: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<REDACTED@163.com> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: F0E0E80637: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>

Searching for each (two from the above as an example):

| ubuntu@juju-98d295-prod-launchpad-16:~$ fgrepmail-logs E4EB5805D9
|
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/smtpd[214420]: E4EB5805D9: client=localhost[127.0.0.1]
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: E4EB5805D9: message-id=<171469732418.1676253.4563505263479121621.malone@juju-98d295-prod-launchpad-7>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: E4EB5805D9: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:56:55 juju-98d295-prod-launchpad-16 postfix/qmgr[206010]: E4EB5805D9: from=<email address hidden>, size=3418, nrcpt=1 (queue active)
| May 3 00:59:30 juju-98d295-prod-launchpad-16 postfix/smtp[215439]: E4EB5805D9: to=<email address hidden>, relay=launchpad.smtp.canonical.com[185.125.188.250]:25, delay=255, delays=100/155/0.04/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 06CBC5B46E)
| May 3 00:59:30 juju-98d295-prod-launchpad-16 postfix/qmgr[206010]: E4EB5805D9: removed
| ubuntu@juju-98d295-prod-launchpad-16:~$ fgrepmail-logs B9D98804A2
|
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/smtpd[214420]: B9D98804A2: client=localhost[127.0.0.1]
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: B9D98804A2: message-id=<171469732418.1676253.4563505263479121621.malone@juju-98d295-prod-launchpad-7>
| May 3 00:55:14 juju-98d295-prod-launchpad-16 postfix/cleanup[214422]: B9D98804A2: warning: header Subject: [Bug 2061265] Re: fluentd stock image in 2023.2 will not start from localhost[127.0.0.1]; from=<email address hidden> to=<email address hidden> proto=ESMTP helo=<[10.131.215.246]>
| May 3 00:56:54 juju-98d295-prod-launchpad-16 postfix/qmgr[206010]: B9D98804A2: from=<email address hidden>, size=3532, nrcpt=1 (queue active)
| May 3 00:59:29 juju-98d295-prod-launchpad-16 postfix/smtp[215464]: B9D98804A2: to=<email address hidden>, relay=launchpad.smtp.canonical.com[185.125.188.251]:25, delay=255, delays=100/155/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 803B64DB39)
| May 3 00:59:29 juju-98d295-prod-launchpad-16 postfix/qmgr[206010]: B9D98804A2: removed

Any chance we could group them having LP send a batch in a single SMTP transaction? This would greatly reduce the load on the SMTP relays used.

Tags: email lp-bugs
Haw Loeung (hloeung)
information type: Proprietary → Public
affects: landscape → launchpad
Guruprasad (lgp171188)
tags: added: email lp-bugs
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
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.