Debian Bug report logs - #919970
mailman3: Creating template causes mail to stop sending mail

version graph

Package: mailman3; Maintainer for mailman3 is Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>; Source for mailman3 is src:mailman3 (PTS, buildd, popcon).

Reported by: Abhijith PA <abhijith@disroot.org>

Date: Mon, 21 Jan 2019 07:21:02 UTC

Severity: important

Tags: moreinfo

Found in version mailman3/3.2.0-4

Done: Jonas Meurer <jonas@freesources.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Mon, 21 Jan 2019 07:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Abhijith PA <abhijith@disroot.org>:
New Bug report received and forwarded. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Mon, 21 Jan 2019 07:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Abhijith PA <abhijith@disroot.org>
To: submit@bugs.debian.org
Subject: mailman3: Creating template causes mail to stop sending mail
Date: Mon, 21 Jan 2019 12:49:11 +0530
Package: mailman3
Version: 3.2.0-4
Severity: important

Hello.

When creating custom templates for mailing list from webapps. The
mailman3 stop distributing mails. Steps to reproduce.

After creating mailing lists.

1. Go to particular list profile by clicking from the landing page
(assuming /postorius/lists/) .
2. Find the templates section and create a new template. ( I created
footer for non-digest regular message )
3. After saving template start sending mail to the list and see the logs.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mailman3 depends on:
pn  dbconfig-sqlite3 | dbconfig-pgsql | dbconfig-mysql | dbconfig-n  <none>
ii  debconf [debconf-2.0]                                            1.5.69
ii  logrotate
3.14.0-4
ii  lsb-base
9.20170808
ii  python3                                                          3.6.6-1
pn  python3-aiosmtpd                                                 <none>
pn  python3-alembic                                                  <none>
pn  python3-click                                                    <none>
pn  python3-dnspython                                                <none>
pn  python3-falcon                                                   <none>
pn  python3-flufl.bounce                                             <none>
pn  python3-flufl.i18n                                               <none>
pn  python3-flufl.lock                                               <none>
pn  python3-lazr.config                                              <none>
pn  python3-passlib                                                  <none>
pn  python3-psycopg2 | python3-pymysql                               <none>
pn  python3-public                                                   <none>
ii  python3-requests
2.18.4-2
pn  python3-sqlalchemy                                               <none>
pn  python3-zope.component                                           <none>
pn  python3-zope.configuration                                       <none>
pn  python3-zope.event                                               <none>
pn  python3-zope.interface                                           <none>
ii  ucf                                                              3.0038

Versions of packages mailman3 recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.91-7

Versions of packages mailman3 suggests:
ii  chromium [www-browser]                                    69.0.3497.92-1
ii  firefox-esr [www-browser]                                 60.3.0esr-1
pn  mailman3-doc                                              <none>
pn  postgresql | default-mysql-server | virtual-mysql-server  <none>
ii  w3m [www-browser]                                         0.5.3-36+b1



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Tue, 22 Jan 2019 00:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pierre-Elliott Bécue <peb@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Tue, 22 Jan 2019 00:21:03 GMT) (full text, mbox, link).


Message #10 received at 919970@bugs.debian.org (full text, mbox, reply):

From: Pierre-Elliott Bécue <peb@debian.org>
To: Abhijith PA <abhijith@disroot.org>, 919970@bugs.debian.org
Subject: Re: Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Tue, 22 Jan 2019 01:16:59 +0100
[Message part 1 (text/plain, inline)]
tags -1 + moreinfo

Le lundi 21 janvier 2019 à 12:49:11+0530, Abhijith PA a écrit :
> Package: mailman3
> Version: 3.2.0-4
> Severity: important
> 
> Hello.
> 
> When creating custom templates for mailing list from webapps. The
> mailman3 stop distributing mails. Steps to reproduce.
> 
> After creating mailing lists.
> 
> 1. Go to particular list profile by clicking from the landing page
> (assuming /postorius/lists/) .
> 2. Find the templates section and create a new template. ( I created
> footer for non-digest regular message )
> 3. After saving template start sending mail to the list and see the logs.

Hi,

Can you provide such logs?

Cheers!

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
[signature.asc (application/pgp-signature, inline)]

Added tag(s) moreinfo. Request was from Pierre-Elliott Bécue <becue@crans.org> to control@bugs.debian.org. (Tue, 22 Jan 2019 01:51:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Wed, 23 Jan 2019 03:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Abhijith PA <abhijith@disroot.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Wed, 23 Jan 2019 03:39:03 GMT) (full text, mbox, link).


Message #17 received at 919970@bugs.debian.org (full text, mbox, reply):

From: Abhijith PA <abhijith@disroot.org>
To: Pierre-Elliott Bécue <peb@debian.org>
Cc: 919970@bugs.debian.org
Subject: Re: Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Wed, 23 Jan 2019 09:07:03 +0530
Hi Pierre-Elliott Bécue

On Tuesday 22 January 2019 05:46 AM, Pierre-Elliott Bécue wrote:
> tags -1 + moreinfo
> 
> Le lundi 21 janvier 2019 à 12:49:11+0530, Abhijith PA a écrit :
>> Package: mailman3 Version: 3.2.0-4 Severity: important
>> 
>> Hello.
>> 
>> When creating custom templates for mailing list from webapps.
>> The mailman3 stop distributing mails. Steps to reproduce.
>> 
>> After creating mailing lists.
>> 
>> 1. Go to particular list profile by clicking from the landing
>> page (assuming /postorius/lists/) . 2. Find the templates section
>> and create a new template. ( I created footer for non-digest
>> regular message ) 3. After saving template start sending mail to
>> the list and see the logs.
> 
> Hi,
> 
> Can you provide such logs?

Will do.
BTW, have you able to reproduce from what I shared ?

--abhijith



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Sun, 27 Jan 2019 23:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jonas Meurer <jonas@freesources.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Sun, 27 Jan 2019 23:27:03 GMT) (full text, mbox, link).


Message #22 received at 919970@bugs.debian.org (full text, mbox, reply):

From: Jonas Meurer <jonas@freesources.org>
To: Abhijith PA <abhijith@disroot.org>, 919970@bugs.debian.org, Pierre-Elliott Bécue <peb@debian.org>
Subject: Re: [Pkg-mailman-hackers] Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Mon, 28 Jan 2019 00:23:18 +0100
[Message part 1 (text/plain, inline)]
Abhijith PA:
> Hi Pierre-Elliott Bécue
> 
> On Tuesday 22 January 2019 05:46 AM, Pierre-Elliott Bécue wrote:
>> tags -1 + moreinfo
>>
>> Le lundi 21 janvier 2019 à 12:49:11+0530, Abhijith PA a écrit :
>>> Package: mailman3 Version: 3.2.0-4 Severity: important
>>>
>>> Hello.
>>>
>>> When creating custom templates for mailing list from webapps.
>>> The mailman3 stop distributing mails. Steps to reproduce.
>>>
>>> After creating mailing lists.
>>>
>>> 1. Go to particular list profile by clicking from the landing
>>> page (assuming /postorius/lists/) . 2. Find the templates section
>>> and create a new template. ( I created footer for non-digest
>>> regular message ) 3. After saving template start sending mail to
>>> the list and see the logs.
>>
>> Hi,
>>
>> Can you provide such logs?
> 
> Will do.
> BTW, have you able to reproduce from what I shared ?

Hi Abhijith,

a log would be very helpful.

I tried to reproduce your bug recently, but failed to do so. For me, the
template feature in postorius works as expected. Several lists on the
list server in question have custom footer templates configured through
postorius and they're included in the list mails as expected.

Is this a new mailman3 setup or did you upgrade it from Mailman 3.1 to
3.2 recently? On one instance I discovered some leftover cruft in
templates 'file_cache' and 'templates' of the mailman3web database after
upgrading which indeed broke one particular list. After manually
removing the cruft from the database, the list worked as expected again.
Maybe that helps?

Cheers
 jonas

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Mon, 28 Jan 2019 05:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Abhijith PA <abhijith@disroot.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Mon, 28 Jan 2019 05:27:03 GMT) (full text, mbox, link).


Message #27 received at 919970@bugs.debian.org (full text, mbox, reply):

From: Abhijith PA <abhijith@disroot.org>
To: Jonas Meurer <jonas@freesources.org>
Cc: 919970@bugs.debian.org, Pierre-Elliott Bécue <peb@debian.org>
Subject: Re: [Pkg-mailman-hackers] Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Mon, 28 Jan 2019 10:39:47 +0530

On Monday 28 January 2019 04:53 AM, Jonas Meurer wrote:
...
> Hi Abhijith,
> 
> a log would be very helpful.
> 
> I tried to reproduce your bug recently, but failed to do so. For me, the
> template feature in postorius works as expected. Several lists on the
> list server in question have custom footer templates configured through
> postorius and they're included in the list mails as expected.
> 
> Is this a new mailman3 setup or did you upgrade it from Mailman 3.1 to
> 3.2 recently? On one instance I discovered some leftover cruft in
> templates 'file_cache' and 'templates' of the mailman3web database after
> upgrading which indeed broke one particular list. After manually
> removing the cruft from the database, the list worked as expected again.
> Maybe that helps?

Yes, I recently updated from mailman 3.1 to 3.2.

In my mailman3 db.I found table 'file_cache' and postorius_emailtemplate
(mailman3web db) empty.

Please confirm these were the db you meant.

> Cheers
>  jonas
> 



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>:
Bug#919970; Package mailman3. (Mon, 28 Jan 2019 10:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jonas Meurer <jonas@freesources.org>:
Extra info received and forwarded to list. Copy sent to Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>. (Mon, 28 Jan 2019 10:45:05 GMT) (full text, mbox, link).


Message #32 received at 919970@bugs.debian.org (full text, mbox, reply):

From: Jonas Meurer <jonas@freesources.org>
To: Abhijith PA <abhijith@disroot.org>
Cc: 919970@bugs.debian.org, Pierre-Elliott Bécue <peb@debian.org>
Subject: Re: [Pkg-mailman-hackers] Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Mon, 28 Jan 2019 11:42:44 +0100
[Message part 1 (text/plain, inline)]
Hi Abhijith,

Abhijith PA:
> On Monday 28 January 2019 04:53 AM, Jonas Meurer wrote:
>> a log would be very helpful.
>>
>> I tried to reproduce your bug recently, but failed to do so. For me, the
>> template feature in postorius works as expected. Several lists on the
>> list server in question have custom footer templates configured through
>> postorius and they're included in the list mails as expected.
>>
>> Is this a new mailman3 setup or did you upgrade it from Mailman 3.1 to
>> 3.2 recently? On one instance I discovered some leftover cruft in
>> templates 'file_cache' and 'templates' of the mailman3web database after
>> upgrading which indeed broke one particular list. After manually
>> removing the cruft from the database, the list worked as expected again.
>> Maybe that helps?
> 
> Yes, I recently updated from mailman 3.1 to 3.2.

Interesting. Did you use the template feature in postorius before?

> In my mailman3 db.I found table 'file_cache' and postorius_emailtemplate
> (mailman3web db) empty.
> 
> Please confirm these were the db you meant.

I meant tables `file_cache` and `template` in database `mailman3`.
Please do the following:

* remove all custom templates from your mailinglists
* make sure that all these tables are empty
* try again to add a template to a mailinglist and see whether it works

Also, *please* provide the log output in case anything failed.

Cheers
 jonas


[signature.asc (application/pgp-signature, attachment)]

Reply sent to Jonas Meurer <jonas@freesources.org>, 919970@bugs.debian.org:
You have taken responsibility. (Fri, 22 Feb 2019 21:09:05 GMT) (full text, mbox, link).


Notification sent to Abhijith PA <abhijith@disroot.org>:
Bug acknowledged by developer. (Fri, 22 Feb 2019 21:09:05 GMT) (full text, mbox, link).


Message #37 received at 919970-done@bugs.debian.org (full text, mbox, reply):

From: Jonas Meurer <jonas@freesources.org>
To: Abhijith PA <abhijith@disroot.org>
Cc: 919970-done@bugs.debian.org, Pierre-Elliott Bécue <peb@debian.org>
Subject: Re: [Pkg-mailman-hackers] Bug#919970: mailman3: Creating template causes mail to stop sending mail
Date: Fri, 22 Feb 2019 22:04:52 +0100
[Message part 1 (text/plain, inline)]
Jonas Meurer:
> Hi Abhijith,
> 
> Abhijith PA:
>> On Monday 28 January 2019 04:53 AM, Jonas Meurer wrote:
>>> a log would be very helpful.
>>>
>>> I tried to reproduce your bug recently, but failed to do so. For me, the
>>> template feature in postorius works as expected. Several lists on the
>>> list server in question have custom footer templates configured through
>>> postorius and they're included in the list mails as expected.
>>>
>>> Is this a new mailman3 setup or did you upgrade it from Mailman 3.1 to
>>> 3.2 recently? On one instance I discovered some leftover cruft in
>>> templates 'file_cache' and 'templates' of the mailman3web database after
>>> upgrading which indeed broke one particular list. After manually
>>> removing the cruft from the database, the list worked as expected again.
>>> Maybe that helps?
>>
>> Yes, I recently updated from mailman 3.1 to 3.2.
> 
> Interesting. Did you use the template feature in postorius before?
> 
>> In my mailman3 db.I found table 'file_cache' and postorius_emailtemplate
>> (mailman3web db) empty.
>>
>> Please confirm these were the db you meant.
> 
> I meant tables `file_cache` and `template` in database `mailman3`.
> Please do the following:
> 
> * remove all custom templates from your mailinglists
> * make sure that all these tables are empty
> * try again to add a template to a mailinglist and see whether it works
> 
> Also, *please* provide the log output in case anything failed.

Closing this bugreport after we didn't get further information. Feel
free to reopen and provide the requested information if you still
encounter this problem.

Cheers
 jonas

[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 23 Mar 2019 07:29:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Nov 21 22:40:41 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.