[Mailman-Users] mailman not sending email to all the members of mailing list

2022-11-25 Thread Ninad via Mailman-Users

Dear All,

Myself Ninad and we are using mailman 2.1.29 from long time. From last 
few days, I have observed a strange behavior in mailman. mailman not 
sending email to all the members of mailing list and the mail is getting 
posted to random members of the list.


Even "nomail" option is also not set for the members. I observed this 
issue with random mailing lists. Below are the some logs form the smtp 
log. I dont know how can I debug this issue. I kindly request all to 
guide me in this regard.


Nov 22 17:20:41 2022 (1322) 
 
smtp to list1 for 11 recips, completed in 1.202 seconds
Nov 22 17:20:41 2022 (1322) 
 
smtp to list1 for 4 recips, completed in 0.028 seconds
Nov 22 18:27:20 2022 (1322) 
 
smtp to list1 for 10 recips, completed in 0.283 seconds
Nov 04 11:09:42 2022 (1343) 
 
smtp to list1 for 11 recips, completed in 5.258 seconds


Nov 23 17:49:54 2022 (1322) 
<88544ba3992180de5188352919b97...@iitb.ac.in> smtp to list22 for 62 
recips, completed in 0.064 seconds
Nov 23 20:14:49 2022 (1322) 
<5565d2bfa86e838052cca3abea808...@iitb.ac.in> smtp to list22 for 63 
recips, completed in 0.397 seconds
Nov 14 08:00:03 2022 (1343) 
 smtp to list22 for 1 
recips, completed in 0.012 seconds
Nov 14 08:00:05 2022 (1343) 
 smtp to list22 for 2 
recips, completed in 0.010 seconds
Nov 14 09:41:49 2022 (1343) 
<86ef86895b0f73e7ad7022618706a...@iitb.ac.in> smtp to list22 for 62 
recips, completed in 0.033 seconds
Nov 14 12:49:04 2022 (1343) 
<850359ef924e3a0baccf7d61e6fc4...@iitb.ac.in> smtp to list22 for 63 
recips, completed in 0.025 seconds
Nov 14 15:28:20 2022 (1343) 
<4245de3a59b019b8f21e7266c30b7...@iitb.ac.in> smtp to list22 for 62 
recips, completed in 0.175 seconds
Nov 14 15:35:20 2022 (1343) 
 smtp to list22 for 63 
recips, completed in 0.027 seconds
Nov 14 16:33:39 2022 (1343) 
<7073bbae72718616732bd391fa1aa...@iitb.ac.in> smtp to list22 for 63 
recips, completed in 0.294 seconds


Regards,

Ninad.

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Disabling the version disclosure.

2025-03-25 Thread Ninad via Mailman-Users

Hi Steve,

Thank you so much the solution.

1st method suggested by you worked.

copied the template files and configured the settings.py files as 
suggest worked without changing actual html files.


Thanks again.

Regards,

Ninad.

On 25-03-2025 17:56, Stephen J. Turnbull wrote:

Ninad N. Shaha via Mailman-Users writes:

  > Please let me know if there are any settings that I can set. I
  > don't want to change any html code for the same.

It helps to explain why you don't want to change the HTML code,
because there are several ways to do this, with different implications
both for the page's appearance and for future maintenance.  The
visually cleanest way to do this is to copy the files

site-packages/postorius/templates/postorius/base.html
site-packages/hyperkitty/templates/hyperkitty/base.html

to

/etc/mailman3/templates/postorius/base.html
/etc/mailman3/templates/hyperkitty/base.html

search for '_VERSION' and delete or edit the version stanzas near the
end of those files, add

TEMPLATES[0]['DIRS'].append('/etc/mailman3/templates')
somewhere in /etc/mailman3/settings.py, and restart mailman-web
(typically as root, using 'systemctl restart mailmanweb').

Alternatively and less visually appealing you can clear the version
variable itself with a file 'site-packages/version_hack.py' containing
the lines

def suppress_version(request):
 return {"HYPERKITTY_VERSION": "Wouldn't you like to know?",
 "POSTORIUS_VERSION": "Wouldn't you like to know?"}

... you probably want to change the strings to empty strings ... and
add the lines

TEMPLATES[0]['OPTIONS']['context_processors'].append(
 'version_hack.suppress_version'
 )

somewhere in /etc/mailman3/settings.py, and restart mailman-web.  The
former method of overriding the templates is a supported API, and very
unlikely to be obsoleted any time soon.  The latter method of patching
the variables is something of a hack, and also leaves the tags like
"Postorius version" visible in the page.

Steve

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
 https://mail.python.org/archives/list/mailman-users@python.org/
Member address: ni...@iitb.ac.in

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org