[Mailman-Users] Achiving not working, no .mbox file is being created

2019-12-05 Thread Bruce Johnson
We’re running v 2.1.12 under CentOS 6. Lists have been running fine for years, 
but recently a list owner wanted to start archiving the list messages. He 
turned on archiving,  made them private, set the frequency ,, but nothing is 
being archived.

I’ve reproduced the issue for a test list; the archive directories are created, 
but no .mbox file is being created when messages are sent.

I’ve run check-perm -f to fix any permissions issues, but that did not fix it.

we’re sending email via postfix set up to relay to our actual SMTP server. 

There are no errors associated with ArchRunner in the error or qrunner logs, 
and no errors associated with the unarchived posts in any of the logs. I don’t 
see anything in the system logs either.

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Achiving not working, no .mbox file is being created

2019-12-05 Thread Bruce Johnson


On Dec 5, 2019, at 2:04 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 12/5/19 10:03 AM, Bruce  Johnson wrote:

I’ve reproduced the issue for a test list; the archive directories are created, 
but no .mbox file is being created when messages are sent.

I’ve run check-perm -f to fix any permissions issues, but that did not fix it.

we’re sending email via postfix set up to relay to our actual SMTP server.

There are no errors associated with ArchRunner in the error or qrunner logs, 
and no errors associated with the unarchived posts in any of the logs. I don’t 
see anything in the system logs either.


What is the mm_cfg.py setting for ARCHIVE_TO_MBOX. The possibilities are

#-1 - do not do any archiving
# 0 - do not archive to mbox, use builtin mailman html archiving only
# 1 - do not use builtin mailman html archiving, archive to mbox only
# 2 - archive to both mbox and builtin mailman html archiving.

Thanks, that was it, it was set to -1. If I set it to anything else this only 
affects lists that have archiving turned on?

--
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] msg marked as spam 554 5.7.1 [P4]

2020-01-05 Thread Bruce Johnson
I was the off-list person...

This was the actual bounce error from one of the offending messages:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  
[redacted]@alaskan.com

host 
inbound.gci.net
 [69.168.106.130]
SMTP error from remote mail server after end of data:
554 5.7.1 [P4] Message blocked due to spam content in the message.

It’s being bounced by some spam rule on CGI.net; it’s a global one so it’s 
something in their configuration, since none of the other providers are 
bouncing it, it’s not really recognizable as spam.

(or one user reported it as spam and they took the lazy way out and blocked all 
the emails from that list address…we have one user who routinely marks email 
from one list on our domain as ’spam’…then complains that he’s not getting 
emails from the list…sigh )



> On Jan 5, 2020, at 11:48 AM, Jim Dory  wrote:
> 
> On Sun, Jan 5, 2020 at 12:56 AM Stephen J. Turnbull <
> turnbull.stephen...@u.tsukuba.ac.jp> wrote:
> 
>> Jim Dory writes:
>> 
>> 
>>> Sometimes I do get this: host mx1.arandomserver.com [198.252.100.64]
>>>SMTP error from remote mail server after end of data:
>>>550 Headers contain illegal BOM
>>> on my personal email from the same sender (city), but not sure that is
>> same
>>> issue.
>> 
>> I don't understand.  You say it's personal mail *from the city*, but
>> you're getting the bounce message?  That should not happen; the bounce
>> message should go to the city.
>> 
>> 
>> 
> 
> I don't think the city would see a bounce because the list accepted their
> message and a lot of subscribers would see it.. but it was rejected only by
> one or two other subscriber email providers. That is my understanding
> anyway, perhaps I'm wrong.  I see the bounces as admin for the list. Isn't
> this proper behavior of the mailman software? It seems that people would
> complain (or ask about it) if they saw all the bounces caused by one of
> their messages and they never have.
> 
> 
> 
>> 
>> That's nothing.  Don't hesitate.  It's much more annoying to have to
>> go back and forth if you send incomplete headers.
>> 
>> 
>>> 
>>> Could it be that GCI needs to whitelist or something?
>> 
>> Not enough information.  It sounds like either or both the city and
>> GCI have difficulty with email since it's that particular combination,
>> but which one is whack I can't tell without a look at the delivery
>> status notice (bounce message) for the mass bounces.  This is often in
>> your mail server's log as well.
>> 
>> 
>> 
> Steve, thanks very much for replying and looking at this. I realize now I
> didn't provide sufficient info and will in the future amend my ways.
> 
> I'm going to contact GCI and see if I can get them to either whitelist or
> clean up a possible mis-configure in their system. Another kind gentlemen
> from this mailman list contacted me off-list with an offer to help - I sent
> him the complete header and reject message.. and he felt that there was
> nothing apparent to warrant an email provider to reject it.
> 
> thanks, Jim
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/johnson%40pharmacy.arizona.edu

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] auto approving Message has implicit destination

2020-01-17 Thread Bruce Johnson


On Jan 17, 2020, at 2:34 AM, 
tom.corco...@moonbade.com<mailto:tom.corco...@moonbade.com> wrote:

In the same mailing list I am regularly having to constantly approve emails 
from the same address with message: Reason:  Message has implicit destination. 
Is there a setting I can make on the mailing list admin that means the email 
comes straight through without the need to do this approval?

We run into this ALL the time with our lists; it means that the list address in 
the email is in the BCC rather than the TO or CC field.

From the FAQ: 
https://wiki.list.org/DOC/What%20does%20%22message%20has%20implicit%20destination%22%20mean%3F<https://wiki.list.org/DOC/What%20does%20"message%20has%20implicit%20destination"%20mean?>

"Alternatively, if you want to accept all BCCs to the list and get rid of this 
message entirely, go to Privacy Options / Recipient Filters and set the 
require_explicit_destination option to be "No". This should be the first option 
on the page, and by default, Mailman will set this option to be "Yes”.”


--
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Attachment issue in Outlook

2020-02-11 Thread Bruce Johnson
In my experience this is not a Mailman issue, per se, but an Exchange issue on 
the sender’s or recipient's end:

https://community.spiceworks.com/topic/2164722-outlook-exchange-email-attachments-coming-through-as-att


On Feb 11, 2020, at 2:55 AM, Kapil Dev Sharma 
mailto:kapildev.sha...@onsumaye.com>> wrote:

Hi,

We allow users to send HTML or attachments and also we have msg_header
completed empty but mail also have an attachment like ATT1.txt, It's
from mailman side or any other setting which we have to do. Please suggest!


Thanks,
Kapil Dev Sharma



On Tue, Feb 4, 2020 at 2:57 AM Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 2/3/20 5:43 AM, Kapil Dev Sharma wrote:
Hi Team,

We are using mailman 2.1.29. When sending the mail using Mailman, The
email
body content is sent as an attachment (ATT1.txt). We face this type
of
issues only in outlook. Could you please suggest us the solution for the
same.


What does your list do to this mail. I.e. have you set from_is_list or
dmarc_moderation_action to Wrap Message?

Actually, the most likely explanation is the list has set Non-digest
options -> msg_header, and the incoming message (after content
filtering) is other than a single text/plain part. This will cause the
msg_header to be added as a separate MIME part preceding the rest of the
message. If that is the reason, you may be able to adjust the list's
content filtering using things like pass_mime_types,
collapse_alternatives and convert_html_to_plaintext to ensure the
filtered message is a single text/plain part.

However, if you want to allow HTML, and or attachments, you will need to
ensure that Non-digest options -> msg_header is completely empty, or use
a mail client that is better at displaying inline text in line.

--
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>
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/kapildev.sharma%40onsumaye.com

--
Mailman-Users mailing list 
Mailman-Users@python.org<mailto:Mailman-Users@python.org>
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/johnson%40pharmacy.arizona.edu

--
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Upgrading Mailman from Centos package...

2020-02-13 Thread Bruce Johnson
Probably a dumb question, but, this should also be the process to update MM 
from a RHEL/CentOS package to a later version from source?

https://wiki.list.org/DOC/4.80%20How%20do%20I%20upgrade%20from%20Mailman%202.1.x%20to%20a%20later%20Mailman%202.1.y%3F

I've checked this:

https://wiki.list.org/DOC/RHEL%20file%20changes%20after%20version%202.1.5-20

-- 
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Upgrading Mailman from Centos package...

2020-02-13 Thread Bruce Johnson


On Feb 13, 2020, at 2:10 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 2/13/20 12:34 PM, Bruce Johnson wrote:
Probably a dumb question, but, this should also be the process to update MM 
from a RHEL/CentOS package to a later version from source?

https://wiki.list.org/DOC/4.80%20How%20do%20I%20upgrade%20from%20Mailman%202.1.x%20to%20a%20later%20Mailman%202.1.y%3F

I've checked this:

https://wiki.list.org/DOC/RHEL%20file%20changes%20after%20version%202.1.5-20

Have you also seen which is linked from that?


Yes I did, and based on everything I looked at in our system it looks like it’s 
supposed to.

The one thing I was worried about was the line " You can find the ./configure 
line you used last time by looking in the config.status file in old source 
tree."

Since I don’t have an old source tree, I was a little worried that there would 
be some weird bits in the config.

You basically want to unpack the source tarball or retrieve the latest
source from Launchpad, configure it with --prefix=/usr/lib/mailman, and
'make' but not 'make install', and then update everything that's in
/usr/lib/mailman from the resulting Mailman/, build/bin, build/cron,
messages/, scripts and templates/.

You don't need to be concerned about /usr/lib/mailman/cgi-bin,
/usr/lib/mailman/mail or /usr/lib/mailman/tests.

I think that will work, but I've never done it so no guarantees.

Fortunately it’s a VM so I can just snapshot it and if the upgrade breaks, just 
roll it back.

Thanks!

--
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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Very strange issue With Mailman + Exchange(?)

2020-04-27 Thread Bruce Johnson
I am not sure how to figure this out.

Lengthy explanation:

Internally in our Exchange server, that address is a distribution group whose 
only member is the actual @lists.pharmacy.arizona.edu, because the 
Mailman server is not our mail server. (we have a mildly complicated setup: 
hybrid OnPrem and O365 exchange + Barracuda spam appliance in front of all of 
it, which is our actual SMTP server.  

Outgoing email from the list server bypasses Exchange and is sent directly to 
the Barracuda SMTP server.

For two users and ONLY these two users, somewhere between them and mailman and 
back, the Mailman list is being expanded to put all the members of the list on 
the CC line. It then gets held for approval with a ’too many addresses’ message.

I have watched them send an email to the affected list; the list address is NOT 
in their local address cache, and they are NOT entering any other addresses in 
the email other than the list address. The only address that appears on the 
email in their Sent folder is the list address.

Other users in our organization can send to these same lists without this 
happening. In fact one of the affected users can send to *other* lists on our 
server with no problems. These are two different lists.

I don’t know that this is specifically a Mailman problem (because it’s only 
happening with specific users) but I cannot see how  list members are getting 
stuffed on the CC line otherwise; because Exchange only knows the list address, 
not the members; only Mailman does.

TLDR: Somehow the all the list addresses are getting stuck onto the list 
message which then holds it for approval for ’too many 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
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Re: Very strange issue With Mailman + Exchange(?)

2020-07-29 Thread Bruce Johnson


> On Apr 27, 2020, at 11:21 AM, Bruce Johnson  
> wrote:
> 
> I am not sure how to figure this out.
> 
> Lengthy explanation:
> 
> Internally in our Exchange server, that address is a distribution group whose 
> only member is the actual @lists.pharmacy.arizona.edu, because the 
> Mailman server is not our mail server. (we have a mildly complicated setup: 
> hybrid OnPrem and O365 exchange + Barracuda spam appliance in front of all of 
> it, which is our actual SMTP server.  
> 
> Outgoing email from the list server bypasses Exchange and is sent directly to 
> the Barracuda SMTP server.
> 
> For two users and ONLY these two users, somewhere between them and mailman 
> and back, the Mailman list is being expanded to put all the members of the 
> list on the CC line. It then gets held for approval with a ’too many 
> addresses’ message.

Just posting this for the record  in case any other person is unlucky enough to 
run into this…it turns out that the culprit in this case was the Zoom Outlook 
plug-in, when dealing with changing, deleting or adding to existing scheduled 
meeting instances (for instance biweekly faculty meetings were originally 
scheduled and sent as outlook invites to the mailman list. I finally caught how 
this was happening when another one of our people ran into it and noticed it 
only happened to the messages that had to do with Zoom meetings. 

I do not know the full details of the issue yet, but I'm guessing that Zoom 
tried to be oh-so-clever, went back to THEIR servers, retrieved and appended 
the email addresses for the people who had logged into the meetings associated 
with that Exchange event record in the past. Altering or deleting a simple 
calendar event in Exchange does not do this, so it’s not anything on the 
Exchange side of things.  

There appears to be no way of changing this on a quick perusal of the settings 
and Zoom is retiring the outlook plugin for a different architecture built into 
O365, I do not know yet if it continues the bug, but I'm sure I’ll find out as 
our entire campus is heavily invested in both Outlook and Zoom especially this 
fall.

-- 
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: CPU %-usage surge associated with list archives

2020-11-16 Thread Bruce Johnson
For general info, here is CentOS’s SELinux HowTo:

https://wiki.centos.org/HowTos/SELinux

Another good introduction:

https://www.digitalocean.com/community/tutorial_series/an-introduction-to-selinux-on-centos-7

Or you can just turn it off and trust the firewall if this is the only thing 
the server does...

On Nov 15, 2020, at 10:43 PM, Bill Cole 
mailto:mailmanu-20190...@billmail.scconsult.com>>
 wrote:

On 15 Nov 2020, at 22:18, Stephen J. Turnbull wrote:

I don't
see why access to archives would cause a security issue,

FWIW:

1. SELinux doesn't know about specific security issues, it assumes that nothing 
is safe unless explicitly allowed.

--
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: Weird no-posting no-moderation queue bouncing of posts

2021-02-26 Thread Bruce Johnson
We get this fairly often with moderated lists; it’s usually because the 
sender’s mail client grabs the listname-bounces address from their recent 
addresses cache when they start typing the address in the mail composition 
dialog.

It would be rarer with unmoderated lists, but anything that would trigger a 
moderation notice (for things like too many recipients, message too large, etc) 
will stick that address in their recent addresses list.

this is the bounce notice we get when that happens:


"The attached message was received as a bounce, but either the bounce
format was not recognized, or no member addresses could be extracted
from it.  This mailing list has been configured to send all
unrecognized bounce messages to the list administrator(s)."

There wasn’t a copy of your bounce on this posting.

On Feb 26, 2021, at 10:21 AM, Thomas Gramstad 
mailto:tho...@gramstad.no>> wrote:

I have a strange, occasionally occurring phenomenon on one of my mailing lists 
(in Mailman 2.29) which I don't understand:

1. A subscribed address to the list tries to post a message to
  the list.

2. The attempted posting does not go through to the list, nor
  does it go to the moderation queue. Instead, I the list admin
  receives a message via the bounces-address with a copy of the
  attempted posting.

--
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] Need to add two addresses to a bunch of lists as allowed senders.

2021-04-09 Thread Bruce Johnson
l am mildly familiar with withlist and python but my google-fu today is weak, I 
haven’t found any example of this. The setting is ‘accept_these_nonmembers’ 
which I’m assuming is stored as a list in the database; do I need to retrieve 
it and append the new addresses to it? 

Can anyone point me to an example of doing something like this (or better, 
point me to one someone else has already made!  )


-- 
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: Need to add two addresses to a bunch of lists as allowed senders.

2021-04-09 Thread Bruce Johnson


On Apr 9, 2021, at 1:57 PM, Christian Buser 
mailto:lusche...@yahoo.de>> wrote:

Hi Bruce

I never really understood the option ‘accept_these_nonmembers’ - but I
would anyway not use it.

The issue here is for moderated class lists and this is pretty much exactly the 
use case for that option, afaik.


If these are users who should be able to post messages but not want to
receive any messages, I would add them to the subscriber list and set
their mail delivery to "no message". In a cPanel installation, this is a
tick mark next to the address which needs to be set.

I am looking for a way to NOT have to do this for each list individually; also 
these lists are updated via an entirely separate process nightly from our 
student database tables, so adding people as members-but-not-recievers would 
require an extra step of processing for all these lists to be implemented in 
our nightly scripts.



Bruce Johnson schrieb am 09.04.21 um 22:07:
l am mildly familiar with withlist and python but my google-fu today is weak, I 
haven’t found any example of this. The setting is ‘accept_these_nonmembers’ 
which I’m assuming is stored as a list in the database; do I need to retrieve 
it and append the new addresses to it?

Can anyone point me to an example of doing something like this (or better, 
point me to one someone else has already made!  )




--
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: Need to add two addresses to a bunch of lists as allowed senders.

2021-04-09 Thread Bruce Johnson
Exactly what I was looking for. Thanks, Mark!

> On Apr 9, 2021, at 2:36 PM, Mark Sapiro  wrote:
> 
> On 4/9/21 1:07 PM, Bruce Johnson wrote:
>> l am mildly familiar with withlist and python but my google-fu today is 
>> weak, I haven’t found any example of this. The setting is 
>> ‘accept_these_nonmembers’ which I’m assuming is stored as a list in the 
>> database; do I need to retrieve it and append the new addresses to it? 
>> 
>> Can anyone point me to an example of doing something like this (or better, 
>> point me to one someone else has already made!  )
> 
> 
> See the script at <https://www.msapiro.net/scripts/non_members>
> 
> -- 
> 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] Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
I'm trying to run the nonmembers_modify-py script here 
https://www.msapiro.net/scripts/non_members

but keep getting the error that the lists are non-existent.

I’m trying to add a non-member accept to a bunch of our Class_of lists:

[root@dhbmailman1 bin]# ./list_lists | grep Class
  Class_of_21 - Generated from Oracle
  Class_of_21_phx - Generated from Oracle
  Class_of_21_tuc - Generated from Oracle
  Class_of_22 - Generated from Oracle
  Class_of_22_phx - Generated from Oracle
  Class_of_22_tuc - Generated from Oracle
  Class_of_23 - Generated from Oracle
  Class_of_23_phx - Generated from Oracle
  Class_of_23_tuc - Generated from Oracle
  Class_of_24 - Generated from Oracle
  Class_of_24_phx - Generated from Oracle
  Class_of_24_tuc - Generated from Oracle

I've tried both ./nonmembers_modify.py -l Class_of_21_tuc -f accept -a 
address@to_add and ./nonmembers_modify.py -l 
class_of_21_...@pharmacy.arizona.edu -f accept -a address@to_add

And both get the error Non-existent list

[root@dhbmailman1 bin]# ./nonmember_modify.py -l Class_of_21_tuc -f accept -a 
addr...@pharmacy.arizona.edu -v
Add or remove addresses to/from *_these_nonmembers

Usage: ./nonmember_modify.py [options]

Where:

   [snip help text]

This script must run from Mailman's bin/ directory.

Non-existent list: Class_of_21_tuc



-- 
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: Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
Entering the list name in all lower case got it to work, which is odd since the 
script looks like it was supposed to do that.

elif opt in ('-l', '--list'):
arg = arg.lower()
if not Utils.list_exists(arg):
usage(1, _('Non-existent list: %(arg)s'))
lists.append(arg)

On Jun 28, 2021, at 9:39 AM, Bruce Johnson 
mailto:john...@pharmacy.arizona.edu>> wrote:

I'm trying to run the nonmembers_modify-py script here 
https://www.msapiro.net/scripts/non_members

but keep getting the error that the lists are non-existent.

I’m trying to add a non-member accept to a bunch of our Class_of lists:

[root@dhbmailman1 bin]# ./list_lists | grep Class
 Class_of_21 - Generated from Oracle
 Class_of_21_phx - Generated from Oracle
 Class_of_21_tuc - Generated from Oracle
 Class_of_22 - Generated from Oracle
 Class_of_22_phx - Generated from Oracle
 Class_of_22_tuc - Generated from Oracle
 Class_of_23 - Generated from Oracle
 Class_of_23_phx - Generated from Oracle
 Class_of_23_tuc - Generated from Oracle
 Class_of_24 - Generated from Oracle
 Class_of_24_phx - Generated from Oracle
 Class_of_24_tuc - Generated from Oracle

I've tried both ./nonmembers_modify.py -l Class_of_21_tuc -f accept -a 
address@to_add and ./nonmembers_modify.py -l 
class_of_21_...@pharmacy.arizona.edu<mailto:class_of_21_...@pharmacy.arizona.edu>
 -f accept -a address@to_add

And both get the error Non-existent list

[root@dhbmailman1 bin]# ./nonmember_modify.py -l Class_of_21_tuc -f accept -a 
addr...@pharmacy.arizona.edu<mailto:addr...@pharmacy.arizona.edu> -v
Add or remove addresses to/from *_these_nonmembers

Usage: ./nonmember_modify.py [options]

Where:

  [snip help text]

This script must run from Mailman's bin/ directory.

Non-existent list: Class_of_21_tuc



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

Institutions do not have opinions, merely customs


--
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: Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
My copy of that script was downloaded today…it’s an old version of mailman, 
though 2.1.12. updating’s on my to-do list, but that is a long list :-(

On Jun 28, 2021, at 3:21 PM, Mark Sapiro 
mailto:m...@msapiro.net>> wrote:

On 6/28/21 2:56 PM, Bruce Johnson wrote:
Entering the list name in all lower case got it to work, which is odd since the 
script looks like it was supposed to do that.
elif opt in ('-l', '--list'):
arg = arg.lower()
if not Utils.list_exists(arg):
usage(1, _('Non-existent list: %(arg)s'))
lists.append(arg)


The `arg = arg.lower()` line was added to 
https://www.msapiro.net/scripts/non_members on 2021/04/12. Perhaps the version 
you are actually running is older than that.

--
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: 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<mailto: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> 
mailto:listname-requ...@domain.com>>"

And instead of the usual listn...@domain.com<mailto: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? 
<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fnomekennelclub.com%2fmailman%2flistinfo%2fnome-announce_nomekennelclub.com&c=E,1,FW9RqlL4xDWSEBzC3uy3bkFn3LCkc1Ye0nH7WCcyKABtHwGpQ76BNMjDvFoM6OKrKsvMU7gqPgEpJ01St79i1zH7v79j9xtJnlHTZXHjITCX1a9JvEw,&typo=1>...
 (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<http://mx-inbound46-171.us>-east-2c.ess.aws.cudaops.com: 
domain of 
mailman-users-bounces+johnson=pharmacy.arizona@python.org<mailto: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<http://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<mailto:bjohn...@arizona.edu> held, 
message-id=<054ec6b4-9607-4a04-968b-e93deaf93...@email.arizona.edu<mailto: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<mailto: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<mailto: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<http://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<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: [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<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] 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<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] 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<mailto: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/