[Mailman-Users] Re: User receiving mail, but not subscribed

2021-08-16 Thread Bruce Johnson via Mailman-Users


On Aug 16, 2021, at 10:30 AM, Jim Dory 
mailto:ja...@dorydesign.com>> wrote:

I suspect this stems from something inside this local corporation, but I'll ask 
the question:

I have a person contacting me to remove her work email from our subscription of 
our local email list, but her email is not subscribed. Usually when this 
happens, I have them forward a list message to me and I can discover which 
email it is being sent to.

Usually the messages sent are from "name of subscriber 
via"listn...@domain.com. (She gets the digest which 
I don't so not sure that is different). But when she forwards me one of these 
digest messages, it is from: "Listname 
mailto:listname-boun...@domain.com>> on behalf of 
listname-requ...@domain.com 
mailto:listname-requ...@domain.com>>"

And instead of the usual listn...@domain.com 
unsubscribe,archives,info link at the bottom of the message, it has what is 
probably an internal security link by the IT system of 
https://linkprotect.cudasvc.com/url? 
...
 (with the actual link following - and redirects to our info page). This may 
not help, but include it to show they have some kind of system within the 
corporation.

When I’ve gotten these in the past it’s almost always because someone else’s 
email, or an old email address is getting forwarded to the recipient. I don’t 
think the 'on behalf of’ stuff is actually from an O365/Exchange system, but 
whatever that linkprotect link is.

(which link, btw, my campus network won’t let me load because it’s flagged as a 
malware source…so be careful)

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] Mailman + postfix automatically adding aliases

2021-08-30 Thread Bruce Johnson via Mailman-Users
I'm setting up a new CentOS8 mailman server to take over from our ancient 
existing one, and have run into some issues trying to get it working.

I installed mailman from source, following the directions here: 

https://wiki.list.org/DOC/How%20do%20I%20upgrade%20a%20RHEL/CentOS%20Mailman%20package%20from%20source.

I'm at: 
https://www.gnu.org/software/mailman/mailman-install/postfix-integration.html

Run the bin/genaliases script to initialize your aliases file.
% cd /usr/local/mailman
% bin/genaliases

But when I do this I get the following. Am I supposed to create these 
data/aliases files manually? Where are they supposed to go? There is no data/ 
directory in /usr/lib/mailman and /var/lib/mailman has a data directory but 
nothing inside named aliases


[root@dhbmailman2 mailman]# bin/genaliases 
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## newserver_test mailing list
newserver_test:  "|/usr/lib/mailman/mail/mailman post 
newserver_test"
newserver_test-admin:"|/usr/lib/mailman/mail/mailman admin 
newserver_test"
newserver_test-bounces:  "|/usr/lib/mailman/mail/mailman bounces 
newserver_test"
newserver_test-confirm:  "|/usr/lib/mailman/mail/mailman confirm 
newserver_test"
newserver_test-join: "|/usr/lib/mailman/mail/mailman join 
newserver_test"
newserver_test-leave:"|/usr/lib/mailman/mail/mailman leave 
newserver_test"
newserver_test-owner:"|/usr/lib/mailman/mail/mailman owner 
newserver_test"
newserver_test-request:  "|/usr/lib/mailman/mail/mailman request 
newserver_test"
newserver_test-subscribe:"|/usr/lib/mailman/mail/mailman subscribe 
newserver_test"
newserver_test-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe 
newserver_test"

## mailman mailing list
mailman:  "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin:"|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces:  "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:  "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave:"|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner:"|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request:  "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe:"|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe mailman"


-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Mailman + postfix automatically adding aliases

2021-08-30 Thread Bruce Johnson via Mailman-Users


On Aug 30, 2021, at 2:02 PM, Bruce Johnson via Mailman-Users 
mailto:mailman-users@python.org>> wrote:

I'm setting up a new CentOS8 mailman server to take over from our ancient 
existing one, and have run into some issues trying to get it working.

I installed mailman from source, following the directions here:

https://wiki.list.org/DOC/How%20do%20I%20upgrade%20a%20RHEL/CentOS%20Mailman%20package%20from%20source.

I'm at: 
https://www.gnu.org/software/mailman/mailman-install/postfix-integration.html

Run the bin/genaliases script to initialize your aliases file.
   % cd /usr/local/mailman
   % bin/genaliases

But when I do this I get the following. Am I supposed to create these 
data/aliases files manually? Where are they supposed to go? There is no data/ 
directory in /usr/lib/mailman and /var/lib/mailman has a data directory but 
nothing inside named aliases

[Emily Latella ]”Never mind!”[/EL]

I forgot to restart mailman after making the changes to the mailman config file.


--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] Change email host name via withlist?

2021-10-15 Thread Bruce Johnson via Mailman-Users
due to changes in our mail infrastructure  I need to make sure all lists are 
set to our mail exchanger host name; is this changeable via a wishlist script?
host_name (general): Host name this list prefers for email.

The "host_name" is the preferred name for email to mailman-related addresses on 
this host, and generally should be the mail host's exchanger address, if any. 
This setting can be useful for selecting among alternative names of a host that 
has multiple addresses.


--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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] Moderators and admins not getting notifications of held posts

2021-10-20 Thread Bruce Johnson via Mailman-Users
We have a number of lists that are fully moderated and recently the moderators 
and admins have stopped getting notifications of held emails.

The only change that occurred prior to this was changing the hostname the list 
prefers for email, which was accomplished by changing the setting in mm_cfg.py 
and running fix_urls. List emails are going out without any issues. Thinking 
that changing the mail host would affect the aliases, I ran genaliases, then 
reloaded postfix. I have confirmed that my postfix config is correct per 
https://www.gnu.org/software/mailman/mailman-install/postfix-integration.html 

I can see the messages being sent by mailman (I have a test list I'm using to 
figure this out):

Mailman:

Oct 19 17:08:50 2021 (2708) 
 smtp to test for 1 
recips, completed in 0.005 seconds
Oct 19 17:08:50 2021 (2708) 
 smtp to test for 1 
recips, completed in 0.006 seconds


Then in the mail log (I use Postfix as an mta)

Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: CA3AB16111F: 
from=, size=6834, nrcpt=1 (queue active)
Oct 19 17:08:50 dhbmailman1 postfix/smtpd[6773]: disconnect from 
localhost.localdomain[::1]
Oct 19 17:08:50 dhbmailman1 postfix/smtp[6788]: C89DF160A61: 
to=, 
relay=smtp.pharmacy.arizona.edu[150.135.124.58]:25, delay=0.11, 
delays=0/0/0/0.11, dsn=2.0.0, status=sent (250 Ok: queued as E430F2320061)
Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: C89DF160A61: removed
Oct 19 17:08:50 dhbmailman1 postfix/smtp[6786]: CA3AB16111F: 
to=, 
relay=smtp.pharmacy.arizona.edu[150.135.124.58]:25, delay=0.14, 
delays=0/0/0/0.14, dsn=2.0.0, status=sent (250 Ok: queued as E82592B00090)
Oct 19 17:08:50 dhbmailman1 postfix/qmgr[2614]: CA3AB16111F: removed


The email to the moderated sender is recieved:

"Your mail to 'Test' with the subject

   Testing moderator messages 

Is being held until the list moderator can review it for approval.

The reason it is being held:

   Post to moderated list"


But the emails to the moderators and admins just seems to vanish.

Our MTA on the lists machine is Postfix, and it is allowed to relay to our 
actual SMTP host for general delivery. I never see the emails arrive there for 
the moderators. As I said list mails and notification emails go though just 
fine. it’s just emails to list-owner that are failing.



-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Moderators and admins not getting notifications of held posts

2021-10-20 Thread Bruce Johnson via Mailman-Users


On Oct 20, 2021, at 12:21 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 10/20/21 9:46 AM, Bruce Johnson via Mailman-Users wrote:
But the emails to the moderators and admins just seems to vanish.


Is General Options -> admin_immed_notify set to Yes.

This has been set this way all along


Our MTA on the lists machine is Postfix, and it is allowed to relay to our 
actual SMTP host for general delivery. I never see the emails arrive there for 
the moderators.


What do you see? in the Postfix log? Do you see a message arriving for 
LISTNAME-owner@... and being delivered to Mailman?

Yes


What happens if you mail LISTNAME-owner@... directly?


Nothing it neither bounced or arrives.

Thinking more upon this I think this was why we originally had the email 
hostname set to the list server FQDN instead of our domain. originally mailman 
lived on our mail server, but got moved to a different system when we moved to 
Exchange for mail (and later on to O365)  We had to create weird distribution 
lists for all the lists ( ie: a DL 
t...@pharmacy.arizona.edu<mailto:t...@pharmacy.arizona.edu> that has as it’s 
only member 
t...@lists.pharmacy.arizona.edu<mailto:t...@lists.pharmacy.arizona.edu> ) for 
everything to work.

This worked well for years until we moved to a new mail spam and security 
service and introduced stricter DMARC and DKIM settings for all our mail. This 
is what broke one of our larger lists (our alumni outreach list, and of course 
it’s Homecoming next week, and the last email resulted in 650+ bounces for 
DMARC failures..mostly from aol and yahoo. )

Is it possible to have the email addresses of the mailman administrivia 
addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set 
to just the domain?


--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Moderators and admins not getting notifications of held posts

2021-10-20 Thread Bruce Johnson via Mailman-Users


On Oct 20, 2021, at 12:58 PM, Bruce Johnson via Mailman-Users 
mailto:mailman-users@python.org>> wrote:

Thinking more upon this I think this was why we originally had the email 
hostname set to the list server FQDN instead of our domain. originally mailman 
lived on our mail server, but got moved to a different system when we moved to 
Exchange for mail (and later on to O365)  We had to create weird distribution 
lists for all the lists ( ie: a DL 
t...@pharmacy.arizona.edu<mailto:t...@pharmacy.arizona.edu><mailto:t...@pharmacy.arizona.edu>
 that has as it’s only member 
t...@lists.pharmacy.arizona.edu<mailto:t...@lists.pharmacy.arizona.edu><mailto:t...@lists.pharmacy.arizona.edu>
 ) for everything to work.

This worked well for years until we moved to a new mail spam and security 
service and introduced stricter DMARC and DKIM settings for all our mail. This 
is what broke one of our larger lists (our alumni outreach list, and of course 
it’s Homecoming next week, and the last email resulted in 650+ bounces for 
DMARC failures..mostly from aol and yahoo. )

Is it possible to have the email addresses of the mailman administrivia 
addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set 
to just the domain?

And I reset my test list to use the FQDN of the list server and it now works, 
so that’s the issue.  :-(



--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Moderators and admins not getting notifications of held posts

2021-10-20 Thread Bruce Johnson via Mailman-Users
Thanks! I will try this!

On Oct 20, 2021, at 1:39 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 10/20/21 12:58 PM, Bruce Johnson via Mailman-Users wrote:
Thinking more upon this I think this was why we originally had the email 
hostname set to the list server FQDN instead of our domain. originally mailman 
lived on our mail server, but got moved to a different system when we moved to 
Exchange for mail (and later on to O365)  We had to create weird distribution 
lists for all the lists ( ie: a DL 
t...@pharmacy.arizona.edu<mailto:t...@pharmacy.arizona.edu> that has as it’s 
only member 
t...@lists.pharmacy.arizona.edu<mailto:t...@lists.pharmacy.arizona.edu> ) for 
everything to work.
This worked well for years until we moved to a new mail spam and security 
service and introduced stricter DMARC and DKIM settings for all our mail. This 
is what broke one of our larger lists (our alumni outreach list, and of course 
it’s Homecoming next week, and the last email resulted in 650+ bounces for 
DMARC failures..mostly from aol and yahoo. )
Is it possible to have the email addresses of the mailman administrivia 
addresses (-owner -bounces, etc) be the FQDN, but outgoing list traffic be set 
to just the domain?


You could try this patch

=== modified file 'Mailman/MailList.py'
--- old/Mailman/MailList.py 2020-05-18 17:01:51 +
+++ new/Mailman/MailList.py 2021-10-20 20:31:06 +
@@ -190,7 +190,8 @@
def getListAddress(self, extra=None):
if extra is None:
return '%s@%s' % (self.internal_name(), self.host_name)
-return '%s-%s@%s' % (self.internal_name(), extra, self.host_name)
+return '%s-%s@%s%s' % (self.internal_name(), extra, 'lists.',
+   self.host_name

# For backwards compatibility
def GetBouncesEmail(self):


And a similar patch to the get_site_email function in Mailman/Utils.py.

--
Mark Sapiro mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Charter occasionally bouncing mail

2021-11-29 Thread Bruce Johnson via Mailman-Users


On Nov 29, 2021, at 5:31 AM, Stephen J. Turnbull 
mailto:stephenjturnb...@gmail.com>> wrote:

Jayson Smith writes:

Good point about DMARC. Does anyone know if Charter suddenly started
caring about some DMARC policies on or around this past Friday?

I for one don't know.  You'd have to ask their postmaster, or get the
subscriber to do so, to be sure.  I think it's as likely that they got
an update to their filters from a vendor.  That could be sensitive to
DMARC from alignment, or it could be something else.

I have my list set to munge the From: lines of messages from
senders E.G. AOL, Yahoo, etc. that publish a DMARC rejection
policy.

You could try setting up your list mail to participate in the ARC
protocol.[1]  I think most MTAs have options or plugins for this by
now.  Also Mailman 3 has an option to handle it itself, but it is
preferable for the MTA to handle it as Mailman 3 can't validate SPF.

On a slightly different topic, I've heard from a few Outlook users
that list messages are consistently ending up in their junkmail
folders.

All of the big providers have this problem occasionally, although my
impression that it's more of a problem with Microsoft than Google or
Yahoo!.  Again, ARC might help.


Yes, this mailman list has suddenly started going into my junk folder.

If you can get the problematic user to forward the entire message (forward as 
attachment) you can examine the headers for the source that sent it to junk 
mail; normally there are several. They will usualy have some simple-to-cryptic 
message in the headers that will say how it examined the message, what score it 
gave it and what score is required.  There are also headers for DKIM status and 
SPF status.

For example, I think this is the one from our Barracuda system (I think) :

X-BESS-Spam-Status: SCORE=0.50 using account:ESS35309 scores of 
QUARANTINE_LEVEL=0.0 KILL_LEVEL=5.0 tests=BSF_SC0_SA085, BSF_SC0_SA085b, 
BSF_SC0_MISMATCH_TO
Received-SPF: pass 
(mx-inbound46-171.us-east-2c.ess.aws.cudaops.com: 
domain of 
mailman-users-bounces+johnson=pharmacy.arizona@python.org
 designates 188.166.95.178 as permitted sender)
X-BESS-Spam-Report: Code version 3.2, rules version 3.2.2.236178 [from 
cloudscan13-
165.us-east-2a.ess.aws.cudaops.com]
Rule breakdown below
pts rule name  description
 -- 
0.10 BSF_SC0_SA085  META: Custom Rule SA085
0.40 BSF_SC0_SA085b META: Custom Rule SA085b
0.00 BSF_SC0_MISMATCH_TOMETA: Envelope rcpt doesn't match header
X-BESS-Spam-Score: 0.50
X-BESS-BRTS-Status: 1

So this is the last step before O365, and in my case it’s %@$#*#& Microsoft 
O365, because  we have a hybrid Exchange setup and our email is delivered 
through our Barracuda antispam servers, so the O365 anti-spam process is 
starved of spam, and apparently has quotas to meet or it’ll be fired, so it 
just false-positives a ton of messages, and sadly they’re mainly Mailman lists 
I NEED to keep up on, and their whitelisting process is, inexplicably, entirely 
based on the From: sender address. :-(

X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;auth:0;dest:J;OFR:SpamFilterAuthJ;ENG:(910001)(944506458)(944626604)(920097)(930097)(3100021);RF:JunkEmail;

This has just started happening in the last few weeks, so I think they’ve  
turned on some stupid setting; my Exchange365 settings are to NOT send anything 
to my junk folder.

I've had issues with other mailing lists, and in one we have to munge the 
‘from’ addresses for all traffic not just the Yahoo ones :-/

Is this a user-enableable setting?

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] Tracking -owner notification emails

2022-01-25 Thread Bruce Johnson via Mailman-Users
I have a mailing list where the moderators are not recieving notifications of 
held messages.

Our email system is complex, but the list server (running postfix) relays 
through our SMTP server; our incoming email server is an in-the-cloud Barracuda 
spam and email security service, and end delivery it to O365 mailboxes.

My test email list, of course, works as expected as do the other lists on this 
server; and the setup for this particular list doesn’t look different than 
other lists like it.  :-(

This is the mail log for the arrivale and dispostion of the test (moderated) 
message:

Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: connect from 
localhost.localdomain[::1]
Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: E0AAF16006A: 
client=localhost.localdomain[::1]
Jan 25 16:18:48 dhbmailman1 postfix/cleanup[2123]: E0AAF16006A: 
message-id=mailto:mailman.5289.1643152728.2706.pharmtox_facu...@pharmacy.arizona.edu>>
Jan 25 16:18:48 dhbmailman1 postfix/qmgr[16969]: E0AAF16006A: 
from=mailto:pharmtox_faculty-boun...@pharmacy.arizona.edu>>,
 size=1426, nrcpt=1 (queue active)
Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: disconnect from 
localhost.localdomain[::1]
Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: connect from 
localhost.localdomain[::1]
Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: E2F4B160ADE: 
client=localhost.localdomain[::1]
Jan 25 16:18:48 dhbmailman1 postfix/cleanup[2123]: E2F4B160ADE: 
message-id=mailto:mailman.5291.1643152728.2706.pharmtox_facu...@pharmacy.arizona.edu>>
Jan 25 16:18:48 dhbmailman1 postfix/qmgr[16969]: E2F4B160ADE: 
from=mailto:pharmtox_faculty-boun...@pharmacy.arizona.edu>>,
 size=13239, nrcpt=1 (queue active)
Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: disconnect from 
localhost.localdomain[::1]

I can see the message in the Mailman vette log

Jan 25 16:18:48 2022 (2706) PharmTox_Faculty post from 
bjohn...@arizona.edu held, 
message-id=<054ec6b4-9607-4a04-968b-e93deaf93...@email.arizona.edu>:
 Post by non-member to a members-only list


But I cannot find a record of Mailman sending the messages to the moderators. 
How do I find those so I can find the message ID’s to track them?

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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: Tracking -owner notification emails

2022-01-25 Thread Bruce Johnson via Mailman-Users
I may be looking in the wrong logs; the first set was from /var/maillog

I don’t see the expected messages sent to the -owner lists in 
/var/logs/mailman/smtp , even for lists we are getting the correct 
notifications from.


> On Jan 25, 2022, at 6:16 PM, Mark Sapiro  wrote:
> 
> On 1/25/22 16:27, Bruce Johnson via Mailman-Users wrote:
>> This is the mail log for the arrivale and dispostion of the test (moderated) 
>> message:
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: connect from 
>> localhost.localdomain[::1]
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: E0AAF16006A: 
>> client=localhost.localdomain[::1]
>> Jan 25 16:18:48 dhbmailman1 postfix/cleanup[2123]: E0AAF16006A: 
>> message-id=
>> Jan 25 16:18:48 dhbmailman1 postfix/qmgr[16969]: E0AAF16006A: 
>> from=, size=1426, nrcpt=1 
>> (queue active)
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: disconnect from 
>> localhost.localdomain[::1]
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: connect from 
>> localhost.localdomain[::1]
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: E2F4B160ADE: 
>> client=localhost.localdomain[::1]
>> Jan 25 16:18:48 dhbmailman1 postfix/cleanup[2123]: E2F4B160ADE: 
>> message-id=
>> Jan 25 16:18:48 dhbmailman1 postfix/qmgr[16969]: E2F4B160ADE: 
>> from=, size=13239, nrcpt=1 
>> (queue active)
>> Jan 25 16:18:48 dhbmailman1 postfix/smtpd[2120]: disconnect from 
>> localhost.localdomain[::1]
> 
> 
> which is strange. I would expect to see Postfix log messages similar to this.
> 
> Jan 25 16:57:41 msapiro postfix/local[109148]: 57AAE3403CE: 
> to=, relay=local, delay=0.4, delays=0.15/0.09/0/0.15, 
> dsn=2.0.0, status=sent (delivered to command: /var/MM/21/mail/mailman post 
> list1)
> 
> 
> However, it appears that the first 
> message-id=
>  is a message from mailman to pharmtox_faculty-owner and the second 
> message-id=
>  is Mailman's resend of that to the actual owner address.
> When Mailman holds a message it may send a notice to the sender of the 
> message and then if owner/moderator should be notified, it sends that notice 
> to the -owner address and then when it receives that it resends it to the 
> actual owners/moderators.
> 
> There is also info about sent messages including message-ids in Mailman's 
> smtp log
> 
> -- 
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> 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/

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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: Tracking -owner notification emails

2022-01-25 Thread Bruce Johnson via Mailman-Users
Is there a way to tell which is which?

> On Jan 25, 2022, at 7:06 PM, Mark Sapiro  wrote:
> 
> On 1/25/22 17:51, Bruce Johnson via Mailman-Users wrote:
>> I may be looking in the wrong logs; the first set was from /var/maillog
>> I don’t see the expected messages sent to the -owner lists in 
>> /var/logs/mailman/smtp , even for lists we are getting the correct 
>> notifications from.
> 
> They don't say they are to the owner. Here's a typical set
> 
> Jan 25 18:02:15 2022 (1840)  
> smtp to list1 for 1 recips, completed in 0.034 seconds
> Jan 25 18:02:15 2022 (1840)  
> smtp to list1 for 1 recips, completed in 0.015 seconds
> Jan 25 18:02:27 2022 (1840)  
> smtp to list1 for 1 recips, completed in 0.065 seconds
> 
> Message  is the notice to the 
> user
> 
> The first  is the notice to 
> list1-owner and the second one is the delivery to the actual owner.
> 
> 
> -- 
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> 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/

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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] Auto Discard messages FROM list address?

2022-03-24 Thread Bruce Johnson via Mailman-Users
I cannot think of any reason the list should be mailing to itself; I’m 
wondering about putting the list address on the ‘always discard’ list in 
Privacy Options > Sender Filters

(just had to go through and discard another one of those stupid fake ‘I hacked 
your computer and watched you look at porn’ extortion spams from dozens and 
dozens of lists; which would be quite the feat for a virtual mailman server :-)

These always come through addressed FROM the address they’re sent to: 
From:myl...@example.com To:myl...@example.com 

Is there any reason I should NOT add the list address to that group?

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] Allow any non-member from specific domains to send email to a list without moderation

2022-04-01 Thread Bruce Johnson via Mailman-Users
I would like to enable a particular list to automatically accept postings from 
any address in our top level domain, eg: anyone with an @*.arizona.edu address

would I just enter ^@*.arizona.edu in the "List of non-member addresses whose 
postings should be automatically accepted.” box?

Would that include usern...@arizona.edu as well or do I need to add 
^@arizona.edu ?

regexes are not remotely my strong suit.
 


-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Allow any non-member from specific domains to send email to a list without moderation

2022-04-01 Thread Bruce Johnson via Mailman-Users
Thank you, Mark, as always, you’re a lifesaver!

On Apr 1, 2022, at 3:13 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 4/1/22 10:57, Bruce Johnson via Mailman-Users wrote:
I would like to enable a particular list to automatically accept postings from 
any address in our top level domain, eg: anyone with an 
@*.arizona.edu<http://arizona.edu> address
would I just enter ^@*.arizona.edu<http://arizona.edu> in the "List of 
non-member addresses whose postings should be automatically accepted.” box?
Would that include usern...@arizona.edu<mailto:usern...@arizona.edu> as well or 
do I need to add ^@arizona.edu ?
regexes are not remotely my strong suit.


The regexp you want is

^.*[@.]arizona\.edu$

This will match any address ending in `arizona.edu<http://arizona.edu>` 
immediately preceded by `@` or `.`. Essentially what that regexp says is start 
at the beginning of the string, match zero or more characters followed by `@` 
or `.` followed by `arizona.edu<http://arizona.edu>` at the end of the string.


--
Mark Sapiro mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Hotmail complaint about list message, but complainant says she never marked anything as junk?

2022-04-06 Thread Bruce Johnson via Mailman-Users
I don’t know about hotmail/msn specifically but Yahoo and AOL (if AOL actually 
still exists!) are notorious for deciding for a user that something is spam and 
generating a complaint. I know I’ve seen similar issues on another list I 
manage (not using mailman, though)

On Apr 6, 2022, at 3:40 PM, Jayson Smith 
mailto:jayb...@bluegrasspals.com>> wrote:

Hi,


I run a relatively low traffic Email list on my VPS at Linode. Twice within the 
last two weeks, I've received an Email from 
st...@hotmail.com with the subject "Complaint about 
message from XX.XX.XX.XX" where XX.XX.XX.XX is my IP. I'm signed up for 
Microsoft's Junkmail Reporting Program, and this is the first time I've ever 
received a complaint from them. Using message headers, I've identified the 
complainant to be the same list member both times. The actual Emails from 
st...@hotmail.com have nothing in the body, and the 
complained about message as an attachment.


Obviously I can't have complaints tarnishing my Email sending reputation, so I 
contacted her to see if she was legitimately marking messages as spam/junk, or 
was doing it by accident, etc. Her response is that she has never marked any 
Emails from my list as spam or junk. In case it matters as far as the user 
interface goes, her Email address is at the msn.com domain. 
Obviously *something* has to be causing complaints to be generated, so if she's 
not doing it, what could be causing this? Are there any automated processes at 
Microsoft that could cause a complaint of this type to be generated? Is she 
somehow marking messages as spam or junk without realizing it?


Thanks for any thoughts,


Jayson


--
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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: [ext] How do I send an email to all list admins?

2022-04-26 Thread Bruce Johnson via Mailman-Users


On Apr 26, 2022, at 3:01 AM, Ralf Hildebrandt 
mailto:ralf.hildebra...@charite.de>> wrote:

* Stephen J. Turnbull 
mailto:stephenjturnb...@gmail.com>>:
Ralf Hildebrandt writes:

How do I send an email to all list admins?

AFAIK, one by one, or you could make a mailing list for them.

IF you have access to the command-line of the server, this might help

I have a script I wrote (or rather I’m pretty sure I have one of Mark’s scripts 
that  I modified :-) that gets the name and address of every list on our system 
and exports a tab-delimited file with  the admin and moderator emails as 
separate lists .  Something similar could be used to just get all the admins 
out into a flat file, then use

./sync_members -w=no -g=no -d=no -a=no -f admins_file admins_list

to routinely generate the list and resynch it via cron, so you don’t have to 
worry about manually keeping it up to date.


#!/usr/bin/env python
'''
List info for internal links page
'''

import os
import time
DEBUG = 0
#print "List,Description,Owner(s),Moderator(s)"
def list_lister(mlist):
last = time.strftime('%m-%d-%Y',time.localtime(mlist.last_post_time))
owner = ''
out = open('./listoflists', 'a')
try:
if len(mlist.owner)>1:
owner = ';'.join(mlist.owner)
else:
owner = mlist.owner[0]
except IndexError:
owner = 'none'
moderator=''
try:
if len(mlist.moderator)>1:
moderator = ';'.join(mlist.moderator)
else:
moderator = mlist.moderator[0]
except IndexError:
moderator = 'none'
out.write( mlist.real_name + "\t" + mlist.description + "\t" + owner + "\t" + 
moderator + "\t" + last + "\n")
out.close()
print "processed %s" % (mlist.real_name)
return

(I use this script to provide the data for an easy-to-use web tool for our 
admins and moderators to access to do the parts they manage. Many of our lists 
membership management is done entirely outside of Mailman, leveraging our 
student data, campus LDAP, our own Active directory to manage ~60 lists that 
keeps up with people coming, going, changing departments, email addresses etc. )

---
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Question on outputting all lists and list owners and a process for batch disabling of lists without an owner

2022-05-27 Thread Bruce Johnson via Mailman-Users
Well some guy named Mark supported one method in the past 8-) (which I found 
googling ‘how to disable a mailman 2 list’ because I’d like to know how, too, 
since we do occasionally have need to do this.)

https://mail.python.org/pipermail/mailman-users/2010-September/070283.html

Since he appears to have shell access using the script you gave would let him 
move the list directory to someplace like /path/to/mailman/lists/[listname] to 
/path/to/mailman/disabled lists/[listname]

That would let him re-enable the list without having to recreate everything.

On May 27, 2022, at 11:49 AM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 5/27/22 10:22, John Lake wrote:
Our security department has asked me to canvas all of our lists (4,237!)—and if 
a list owner value is not defined they want me to disable the list.
  1.  Can I combine the list_lists and list_owners commands to output both 
(hopefully linked) values as a .csv?

`list_owners -w` will list the owners by list name. If a list has no owners, 
only the list name will be output for that list. You could then process that 
file to identify the lists with no owners.


  2.  Is there a script that any of you have leveraged to batch disable lists 
without a defined owner?


What do you mean by `disable`?

A withlist script like
```
def no_owner(mlist)
   if len mlist.owner == 0:
   if not mlist.Locked:
   mlist.Lock
   print('List %s has no owners, disabling.' % mlist.real_name)
   
   mlist.Save()
   mlist.Unlock()
```
saved as no_owner.py in Mailman's bin/ directory and run via
```
bin/withlist -a -r no_owner
```
You could omit the code
```
   if not mlist.Locked:
   mlist.Lock
   
   mlist.Save()
   mlist.Unlock()
```
I.e., just leave the print statement in the `if len mlist.owner == 0:` clause 
to just print the names of lists with no owner.

--
Mark Sapiro mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] Odd issue after setting Mailman to use https by default.

2022-06-21 Thread Bruce Johnson via Mailman-Users
Last week I got a notification from our SSL cert provider that the cert for our 
mailman server was expiring, so I renewed it, and realized that when I rebuilt 
the server last year I didn’t actually enable it in Apache.

So I did, and added a rewrite rule in the httpd.conf to force all traffic to 
use https.

After that, whenever a moderator or admin tried to submit a response for a held 
message, we would get a pop-up stating that “This form is insecure” , if we 
proceeded, the form submitted but nothing would happen…the message was not 
approved or discarded.

After I removed the rewrite rule, the action works now, but it drops me onto 
the http:// site not https:// .

Is there some site setting in Mailman I am missing to tell it to always use 
https:// ?

(MM version version 2.1.29 running on Rocky Linux 8.5)

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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] Held message notifications are not being sent to moderators

2022-06-22 Thread Bruce Johnson via Mailman-Users
We have numerous lists set as announcement lists by setting all members as 
moderated. However the moderators are not getting notifications for held 
messages; only the list owner is getting the notifications.

This is a new-ish phenomenon, since I know they used to be sent to all the 
moderators, too. 

I can see the held messages in the vette logfile, and the smtp logfile shows 
the message to the list owner being sent, twice, but that’s it.

vette: 

Jun 22 11:02:39 2022 (1248) Faculty post from john...@pharmacy.arizona.edu 
held, message-id=<980174d2-74f6-4c25-8e2b-a21440d9d...@pharmacy.arizona.edu>: 
Post by non-member to a members-only list

SMTP:

Jun 22 11:02:41 2022 (1260) 
 smtp to faculty for 
1 recips, completed in 0.105 seconds
Jun 22 11:02:41 2022 (1260) 
 smtp to faculty for 
1 recips, completed in 0.105 seconds

As our office gets the emails for the list owners I was able to confirm the 
message ID for the notification.

This is a problem, obviously. Is there any weird setting I could have made to 
break this? 

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Held message notifications are not being sent to moderators

2022-06-22 Thread Bruce Johnson via Mailman-Users


On Jun 22, 2022, at 2:14 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote:
We have numerous lists set as announcement lists by setting all members as 
moderated. However the moderators are not getting notifications for held 
messages; only the list owner is getting the notifications.
This is a new-ish phenomenon, since I know they used to be sent to all the 
moderators, too.
I can see the held messages in the vette logfile, and the smtp logfile shows 
the message to the list owner being sent, twice, but that’s it.


This is very strange. You see two entries in the smtp log because the notice is 
first sent to listname-ow...@example.com<mailto:listname-ow...@example.com> and 
then Mailman receives that message and resends it to the list's owners and 
moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I 
don't see how this can not include the moderators.

What is the content of the list's moderator setting?

The list administrator email addresses. Multiple administrator addresses, each 
on separate line is okay.
(Details for 
owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/owner>
The list moderator email addresses. Multiple moderator addresses, each on 
separate line is okay.
(Details for 
moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/moderator>


Anonymized but they are all valid addresses.

We have a service account created for all list ownership that goes to our it 
ticketing system.

I have never messed with that afaik:

more /usr/lib/mailman/Mailman/Handlers/OwnerRecips.py
# Copyright (C) 2001-2018 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

"""Calculate the list owner recipients (includes moderators).
"""


^L
def process(mlist, msg, msgdata):
# The recipients are the owner and the moderator
msgdata['recips'] = mlist.owner + mlist.moderator
# Don't decorate these messages with the header/footers
msgdata['nodecorate'] = 1
msgdata['personalize'] = 0

I know that getting mlist.moderator works because one of my other scripts uses 
a withlist command that gets the owners and moderators.

Not sure what the ^L is in there, though….

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Held message notifications are not being sent to moderators

2022-06-22 Thread Bruce Johnson via Mailman-Users
Well THAT did not go through as I expected it to


The list owner has one address, the list moderator has three addresses. All are 
valid, and I've cleared and re-entered the addresses just in case a hidden 
control character got stuck in there.

The only recent change in the server was setting up https:// to work properly, 
but that should have nothing to do with this.


On Jun 22, 2022, at 2:29 PM, Bruce Johnson via Mailman-Users 
mailto:mailman-users@python.org>> wrote:



On Jun 22, 2022, at 2:14 PM, Mark Sapiro 
mailto:m...@msapiro.net><mailto:m...@msapiro.net>> wrote:

On 6/22/22 11:16, Bruce Johnson via Mailman-Users wrote:
We have numerous lists set as announcement lists by setting all members as 
moderated. However the moderators are not getting notifications for held 
messages; only the list owner is getting the notifications.
This is a new-ish phenomenon, since I know they used to be sent to all the 
moderators, too.
I can see the held messages in the vette logfile, and the smtp logfile shows 
the message to the list owner being sent, twice, but that’s it.


This is very strange. You see two entries in the smtp log because the notice is 
first sent to 
listname-ow...@example.com<mailto:listname-ow...@example.com><mailto:listname-ow...@example.com>
 and then Mailman receives that message and resends it to the list's owners and 
moderators. Unless you have some change in Mailman/Handlers/OwnerRecips.py, I 
don't see how this can not include the moderators.


So I should see a smtp log entry message for one recipient, then a second for 
4, the list owner and three moderators.



What is the content of the list's moderator setting?

The list administrator email addresses. Multiple administrator addresses, each 
on separate line is okay.
(Details for 
owner)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/owner>
The list moderator email addresses. Multiple moderator addresses, each on 
separate line is okay.
(Details for 
moderator)<https://lists.pharmacy.arizona.edu/mailman/admin/faculty/?VARHELP=general/moderator>





--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Change in email routing

2022-08-02 Thread Bruce Johnson via Mailman-Users
This is a hard limit (30 emails per minute, 1800 per hour per mailbox) built 
into O365. Microsoft reccomends using  3rd party bulk mail oroviders like 
MailChimp. O365 mailboxes are not really suitable for mass emailing, and you 
can only relay through a desgnated mailbox, iirc.

This isn’t fixable with O365 as the relay host afaik. If the list server can be 
made public facing so that Postfix manages outgoing email outright (a lot more 
work because its’ another public-facing server, along with any security 
implications)

We use O365, but our SMTP is handled by Barracuda which provides anti-spam, 
anti impersonation and other services, and we can exempt specific 
hosts/addresses from these limits with that.

On Aug 2, 2022, at 7:49 AM, Stephen J. Turnbull 
mailto:stephenjturnb...@gmail.com>> wrote:

Francis Jayakanth via Mailman-Users writes:

I'm told that there are per minute and per hour restrictions of 30
and 1800 emails respectively (inbound and outbound) on o365.

I'm not sure what "limit of 30 emails/minute" means. In the below, I
am going to assume it means "addresses to be delivered." The other
meaning I could imagine would be "connections", which would make it
much easier to comply (as long as you have a few "giant" destinations
like Gmail and Yahoo).

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


--
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] How to find out the last time an email list was used?

2022-08-30 Thread Bruce Johnson via Mailman-Users
We have a large number of lists (~200) that have been set up over the years; 
the vast majority do NOT have web archives. Is there any way to determine when 
the last time the list had any traffic?
-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: How to find out the last time an email list was used?

2022-08-30 Thread Bruce Johnson via Mailman-Users
Thanks, yes it’s an old 2.1x version. That helps a great deal.

On Aug 30, 2022, at 3:09 PM, Gretchen Beck 
mailto:cmupyt...@cmu.edu>> wrote:

Hi Bruce,

There is -- at least there is in the old 2.1* versions -- and you
could probably write an easy script to do it. I don't know about the
3.* versions.

The config.pck for each list includes a "last_post_time" -- which
shows the unix timestamp of the last post to the list.
If you have command-line access, /bin/dumpdb will
decode the contents of the config.pck file for you.

--Gretchen

Gretchen Beck
Carnegie Mellon

On Tue, Aug 30, 2022 at 5:56 PM Bruce Johnson via Mailman-Users
mailto:mailman-users@python.org>> wrote:

We have a large number of lists (~200) that have been set up over the years; 
the vast majority do NOT have web archives. Is there any way to determine when 
the last time the list had any traffic?
--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Hevy resource footprint forces backdrop to mailman 2.1

2022-10-07 Thread Bruce Johnson via Mailman-Users
If you have root or sudo access on the vm host you will need to install Python2 
support via whatever mechanism the OS uses for this ( such as yum, dnf or apt 
for various Linux flavors )

On Oct 7, 2022, at 2:27 AM, Martin Lorenz 
mailto:git...@member.holoclan.de>> wrote:

Greetings,

after many years of smoothly running a mailman2 instance I had to migrate my 
virtual server to a new provider.
There I found, that mailman2 was no longer supported and tried to migrate to 
mailman3

.. with much pain and no success.
Mailman3 keeps crashing my v-server and swallows almost every mail sent to any 
of the migrated lists.

So I wanted to switch back to mailman 2.1.39 by installing from the source 
package and found that this also fails due to missing python2 support.

How to solve this?

Thank you very much
--
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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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] restoring a deleted list

2022-10-18 Thread Bruce Johnson via Mailman-Users
I deleted a bunch of old lists on our server a while back; found any list that 
had no messages in the last two years and deleted via rmlist,  but first I 
copied all the list files in /var/lib/mailman/lists to a different archive 
directory, just in case.

Now 3 months later I’ve gotten a question from someone about "where did this 
list go?”

How can I restore the list? Is it just a matter of creating a new list with the 
old name, then replacing the files in that directory with the archived ones? Or 
will just restprign the directory to /var/lib/mailman/lists suffice? It was not 
being archived so that is not an issue.

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: restoring a deleted list

2022-10-19 Thread Bruce Johnson via Mailman-Users
I can access the admin login page after doing that but trying to get into the 
list after entering the password I get

Bug in Mailman version 2.1.29

We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but the 
webmaster can find this information in the Mailman error logs or the web server 
logs.

There’s no error in he web logs, but this is in the mailman error log

Oct 19 14:45:13 2022 (495303) Failed config.pck write, retaining old state.
[Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU>.495303'
Oct 19 14:45:13 2022 admin(495303): 
admin(495303): [- Mailman Version: 2.1.29 -]
admin(495303): [- Traceback --]
admin(495303): Traceback (most recent call last):
admin(495303):   File "/usr/lib/mailman/scripts/driver", line 117, in run_main
admin(495303): main()
admin(495303):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 251, in main
admin(495303): mlist.Save()
admin(495303):   File "/usr/lib/mailman/Mailman/MailList.py", line 613, in Save
admin(495303): self.__save(dict)
admin(495303):   File "/usr/lib/mailman/Mailman/MailList.py", line 568, in 
__save
admin(495303): fp = open(fname_tmp, 'w')
admin(495303): IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU>.495303'
admin(495303): [- Python Information -]
admin(495303): sys.version =   2.7.18 (default, May 10 2022, 23:39:58)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-10)]
admin(495303): sys.executable  =   /usr/bin/python2
admin(495303): sys.prefix  =   /usr
admin(495303): sys.exec_prefix =   /usr
admin(495303): sys.path=   ['/usr/lib/mailman/pythonlib', 
'/usr/lib/mailman', '/usr/lib/mailman/scripts', '/usr/lib/mailman', 
'/usr/lib/python27.zip', '/usr/lib64/python2.7', 
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', 
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', 
'/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/dist-packages']
admin(495303): sys.platform=   linux2
admin(495303): [- Environment Variables -]
admin(495303): CONTENT_LENGTH: 39
admin(495303): HTTPS: on
admin(495303): HTTP_COOKIE:
admin(495303): SERVER_NAME: 
lists.pharmacy.arizona.edu<http://lists.pharmacy.arizona.edu>
admin(495303): SERVER_PROTOCOL: HTTP/1.1
admin(495303): PYTHONPATH: /usr/lib/mailman
admin(495303): REMOTE_ADDR: 128.196.45.237
admin(495303): REQUEST_SCHEME: https
admin(495303): SCRIPT_NAME: /mailman/admin
admin(495303): REQUEST_METHOD: POST
admin(495303): SERVER_PORT: 443
admin(495303): HTTP_HOST: 
lists.pharmacy.arizona.edu<http://lists.pharmacy.arizona.edu>
admin(495303): PATH_INFO: /kappapsi_grad
admin(495303): CONTENT_TYPE: application/x-www-form-urlencoded
admin(495303): REMOTE_PORT: 51907
admin(495303): QUERY_STRING:
admin(495303): REQUEST_URI: /mailman/admin/kappapsi_grad
admin(495303): DOCUMENT_ROOT: /var/www/html

But afaik the permissions are correct:

ls -laR /var/lib/mailman/lists/kappapsi_grad/
/var/lib/mailman/lists/kappapsi_grad/:
total 52
drwxr-sr-x   2 mailman mailman24 Oct 19 14:33 .
drwxrwsr-x 105 rootmailman  8192 Oct 19 14:32 ..
-rw-r-   1 mailman mailman 36911 Oct 19 14:33 config.pck

versus a working list:

ls -laR /var/lib/mailman/lists/kappapsi/
/var/lib/mailman/lists/kappapsi/:
total 104
drwxrwsr-x   2 mailman mailman   258 Oct 19 04:30 .
drwxrwsr-x 105 rootmailman  8192 Oct 19 14:32 ..
-rw-rw-r--   1 mailman mailman  1706 Jan 29  2001 admindbpreamble.html
-rw-rw   1 mailman mailman 12557 Aug 12  2005 config.db
-rw-rw   1 mailman mailman 12557 Aug 11  2005 config.db.last
-rw-rw   1 mailman mailman 11653 Oct 19 04:30 config.pck
-rw-rw   1 mailman mailman 11653 Oct 18 13:07 config.pck.last
-rw-rw-r--   1 mailman mailman   189 Jan 29  2001 handle_opts.html
-rw-rw-r--   1 mailman mailman  3136 Jan 29  2001 listinfo.html
-rw-rw-r--   1 mailman mailman  4106 Jan 29  2001 options.html
-rw-rw   1 mailman mailman   391 Oct 12 20:58 pending.pck
-rw-rw   1 mailman mailman20 Oct 12 21:01 request.pck
-rw-rw-r--   1 mailman mailman  1169 Jan 29  2001 roster.html
-rw-rw-r--   1 mailman mailman   185 Jan 29  2001 subscribe.html

Restarting the server did not work.

On Oct 18, 2022, at 5:42 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 10/18/22 16:45, Bruce Johnson via Mailman-Users wrote:
How can I restore the list? Is it just a matter of creating a new list with the 
old name, then replacing the files in that directory 

[Mailman-Users] Re: restoring a deleted list

2022-10-20 Thread Bruce Johnson via Mailman-Users
Thanks (as usual!) Mark!

On Oct 19, 2022, at 5:21 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 10/19/22 14:58, Bruce Johnson via Mailman-Users wrote:
I can access the admin login page after doing that but trying to get into the 
list after entering the password I get
Bug in Mailman version 2.1.29
We're sorry, we hit a bug!
...
There’s no error in he web logs, but this is in the mailman error log
Oct 19 14:45:13 2022 (495303) Failed config.pck write, retaining old state.
[Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU><http://Pharmacy.Arizona.EDU>.495303'


You have a permissions error. Permissions on /var/lib/mailman/lists/ and 
/var/lib/mailman/lists/kappapsi_grad/ should be `rwxrwsr-x` and permissions on 
/var/lib/mailman/lists/kappapsi_grad/config.pck should be `rw-rw. The owner 
is not important, but the group must be the group mailman runs as.

Mailman's `bin/check_perms -f` run as root should fix this.

--
Mark Sapiro mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: restoring a deleted list

2022-10-21 Thread Bruce Johnson via Mailman-Users
Ugh, my elation at this fixing it was short lived. It’s back to the "Bug in 
Mailman" screen. still seeing the error :

admin(76376): IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU>.76376'

Permissions appear correct per you last message:

drwxr-sr-x 2 mailman mailman  47 Oct 21 04:30 kappapsi_grad

kappapsi_grad:
total 80
-rw-rw 1 mailman mailman 36911 Oct 21 04:30 config.pck
-rw-rw 1 mailman mailman 36911 Oct 20 04:30 config.pck.last



On Oct 19, 2022, at 5:21 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 10/19/22 14:58, Bruce Johnson via Mailman-Users wrote:
I can access the admin login page after doing that but trying to get into the 
list after entering the password I get
Bug in Mailman version 2.1.29
We're sorry, we hit a bug!
...
There’s no error in he web logs, but this is in the mailman error log
Oct 19 14:45:13 2022 (495303) Failed config.pck write, retaining old state.
[Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU><http://Pharmacy.Arizona.EDU>.495303'


You have a permissions error. Permissions on /var/lib/mailman/lists/ and 
/var/lib/mailman/lists/kappapsi_grad/ should be `rwxrwsr-x` and permissions on 
/var/lib/mailman/lists/kappapsi_grad/config.pck should be `rw-rw. The owner 
is not important, but the group must be the group mailman runs as.

Mailman's `bin/check_perms -f` run as root should fix this.

--
Mark Sapiro mailto:m...@msapiro.net>>The highway is 
for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: restoring a deleted list

2022-10-21 Thread Bruce Johnson via Mailman-Users
And I see the perms error on the directory now!

On Oct 21, 2022, at 4:50 PM, Bruce Johnson via Mailman-Users 
mailto:mailman-users@python.org>> wrote:

Ugh, my elation at this fixing it was short lived. It’s back to the "Bug in 
Mailman" screen. still seeing the error :

admin(76376): IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU><http://Pharmacy.Arizona.EDU>.76376'

Permissions appear correct per you last message:

drwxr-sr-x 2 mailman mailman  47 Oct 21 04:30 kappapsi_grad

kappapsi_grad:
total 80
-rw-rw 1 mailman mailman 36911 Oct 21 04:30 config.pck
-rw-rw 1 mailman mailman 36911 Oct 20 04:30 config.pck.last



On Oct 19, 2022, at 5:21 PM, Mark Sapiro 
mailto:m...@msapiro.net><mailto:m...@msapiro.net>> wrote:

On 10/19/22 14:58, Bruce Johnson via Mailman-Users wrote:
I can access the admin login page after doing that but trying to get into the 
list after entering the password I get
Bug in Mailman version 2.1.29
We're sorry, we hit a bug!
...
There’s no error in he web logs, but this is in the mailman error log
Oct 19 14:45:13 2022 (495303) Failed config.pck write, retaining old state.
[Errno 13] Permission denied: 
'/var/lib/mailman/lists/kappapsi_grad/config.pck.tmp.dhbmailman2.Pharmacy.Arizona.EDU<http://Pharmacy.Arizona.EDU><http://Pharmacy.Arizona.EDU><http://Pharmacy.Arizona.EDU>.495303'


You have a permissions error. Permissions on /var/lib/mailman/lists/ and 
/var/lib/mailman/lists/kappapsi_grad/ should be `rwxrwsr-x` and permissions on 
/var/lib/mailman/lists/kappapsi_grad/config.pck should be `rw-rw. The owner 
is not important, but the group must be the group mailman runs as.

Mailman's `bin/check_perms -f` run as root should fix this.

--
Mark Sapiro 
mailto:m...@msapiro.net><mailto:m...@msapiro.net>>The 
highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- 
mailman-users@python.org<mailto:mailman-users@python.org><mailto:mailman-users@python.org>
To unsubscribe send an email to 
mailman-users-le...@python.org<mailto:mailman-users-le...@python.org><mailto: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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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/

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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: Override recipient filters for specific sender

2022-11-16 Thread Bruce Johnson via Mailman-Users
I have managed to train the people who do this in my organization to put all 
non-list addresses on the BCC line instead of To or CC, and list adddresses on 
the To line.

Reduces the need to go in and accept them by about 50%, which is better than 
nothing.

On Nov 15, 2022, at 10:22 AM, 
karlgsiew...@gmail.com wrote:

One of our list members sends announcements from their organization to the list 
on a regular basis. This is not a problem for us. However, because of the way 
they are structured, they get held for approval with either the "Message has 
implicit destination" or "Too many recipients to the message" errors. I then 
have to go in and accept them.

I would like to save time by allowing this specific member to bypass the 
recipient filters. Is there a way to do this?

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

--
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/