[Mailman-Users] Re: Managing Lists Remotely

2022-08-01 Thread Daniel Krause via Mailman-Users
Hmm, that's an option, if we can lock down the src address
*Daniel Krause*
*Head of IT*

*Office: **+27 87 238 4238* <0872384238>
*Mobile : **+971 55 418 4733* <0971554184733>
*Email: **dan...@noldor.co.za* 
*Web: **www.noldor.co.za* <http://www.noldor.co.za/>



On Fri, Jul 29, 2022 at 3:40 PM Stephen J. Turnbull <
stephenjturnb...@gmail.com> wrote:

> Daniel Krause via Mailman-Users writes:
>
>  > We're looking at options to manage our mailman3 lists programmatically
> from
>  > a saas platform we offer.
>  >
>  > The rest api seems like the way to go, but almost everything I read
>  > about it says do not expose this publicly.
>
> Use a dedicated encrypted tunnel from the saas platform to the list
> host.  As long as that goes directly to Mailman's REST port, I don't
> see why the management would have a problem.  Unless you're sharing
> the Mailman instance---but if that's a problem I don't think they'd
> give you REST access either.
>
> Steve
>
>
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Managing Lists Remotely

2022-07-28 Thread Daniel Krause via Mailman-Users
We're looking at options to manage our mailman3 lists programmatically from
a saas platform we offer.

The rest api seems like the way to go, but almost everything I read about
it says do not expose this publicly.

Does anyone have an alternative option to be able to do this?
We use a managed mailman installation, so we do not have carte blanche on
the server

Regards


*Daniel Krause*
*Head of IT*

*Office: **+27 87 238 4238* <0872384238>
*Mobile : **+971 55 418 4733* <0971554184733>
*Email: **dan...@noldor.co.za* 
*Web: **www.noldor.co.za* <http://www.noldor.co.za/>
------
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: Flooded with signup requests

2022-07-28 Thread Mailman Admin

Hello

You only can enable captcha on your registration form.


Kind regards,
Christian Mack

Am 28.07.22 um 10:50 schrieb Max:
Hi, I'm admin for multiple lists and I am getting flooded with fake 
signup requests. I have already set signup to "confirm and allow".



I've also added a lot of domais to the ban list (see below), still I get 
tons of gmail and yahoo signups which I can't blanket ban since some 
legitimate users use these mail providers.


What else can I do?

It also seems that the same address is trying to sign up multiple times 
and this results in multiple mails to the admins/moderators.


How can I at least stop the bots from repeated signups with the same email?


^.*@zenithhomes.com.au$
^.*@aol.com$
^.*@qq.com
^.*@yandex.ru$
^.*@mail.ru$
^.*@narod.ru$
^.*@customs.gov.ua$
^.*@womclub.com$
^.*@cox.net$
^.*@naiau.kiev.ua$
^.*@dostavkadobra.com.ua$
^.*@mfa.gov.ua$
^.*@i.ua$
^.*@vng.com.vn$
^.*@contactplatinum.com$
^.*@ukr.net$
^.*@aga.org$
^.*@sbcglobal.net$
^.*@msn.com$
^.*@163.com$
^.*@verizon.net$
^.*@comcast.net$
^.*@earthlink.net$
^.*@tmomail.net$
^.*@dvdevgroup.com$
^.*@hqsec.com$
^.*@centurylink.net$
^.*@gmai.com$
^.*@nijel.ca$
^.*@globals-globals.com$
^.*@omnicell.com$
------
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 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: 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] 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] Approved postings are not being delivered

2022-06-22 Thread Francis Jayakanth via Mailman-Users
Hi,  I moderate and administrate a professional discussion list with about 
6,000 subscribers. Most of the subscribers use Gmail, Yahoo, or other free 
email services. In the recent past, approved list postings are not being 
delivered to Gmail and Yahoo.

I have subscribed to the list using my Gmail, Yahoo, and official email ids. I 
receive approved list messages only to my official email id, but not to my 
other two email ids. Our network support team tells me that the issue is 
because of the blacklisting of the email relay host used for mailing list 
service. Can someone help me to resolve the issue?

I'm using Mailman 2.1.20

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

2022-05-27 Thread Mark Dale via Mailman-Users


>> ...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.)


> The method in that thread is simply moving the lists/ aside. That 
> is one way to disable a list, but there are others depending on what you 
> actually want. ...



To disable a list:

chmod 000 $PATH/lists/


And to re-enable it:

chmod 2775 $PATH/lists/
------
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 wrap text in archived messages

2022-05-27 Thread Mark Dale via Mailman-Users


 
>  > > Before I go down this rabbit hole: was there any particular
>  > > reason (back in the day) that Pipermail was favoured (and
>  > > implemented) over MHonArc.
>  > 
>  > Mailman was initially implemented by John Viega in the mid 1990s to 
>  > manage a mailing list for fans of the Dave Mathews Band. I don't know 
>  > why pipermail was chosen, but MHonArc was fairly new at that time and 
>  > pipermail was probably more mature.


> I doubt that Hypermail (the original code) was more mature than
> MHonArc, but it was written in Python and so considered more
> appropriate for bundling with Mailman. ...
> As far as I can recall, Pipermail never been especially recommended
> over 3rd party solutions like MHonArc or external services like
> mailarchive.com, it's just easy to use because it's guaranteed to be
> there, we provide support for it, and it turned out to be "good
> enough" for an awful lot of lists.
> 

Many thanks Steve and Mark. 
--
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] Re: How to wrap text in archived messages

2022-05-25 Thread Mark Dale via Mailman-Users


> Mark Dale via Mailman-Users writes:
> 
>  > And of course, any such "nl2br" equivalent will do exactly the same
>  > as wrapping with P tags -- with everything left aligned.


>  From: Stephen J. Turnbull [mailto:stephenjturnb...@gmail.com]
> Right.
> 
> I'm not sure that we couldn't do better nowadays with libraries that
> will handle the same DOM that browsers do, but it certainly wasn't
> possible in 1994.  And even with those libraries it would require a
> complete rearchitecture of the archiver.
> 
> Steve
> 


I did some tests with Sympa (v6.2.88) which uses MHonArc (v2.6.19): it does a 
pretty good job of rendering archived HTML messages with things like lists, 
code, etc -- and eliminating the need for the horizontal scrolling.

That got me Googling for How-to's on integrating MHonArc with Mailman. There's 
a fair bit of conversation around this from days long ago, and a patch for 
using MHonArc written by Mark S. back in 2014.

Before I go down this rabbit hole: was there any particular reason (back in the 
day) that Pipermail was favoured (and implemented) over MHonArc.  

------
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 wrap text in archived messages

2022-05-23 Thread Mark Dale via Mailman-Users



>> You might get a better result in these messages by removing the "PRE"
>> tags, and wrapping each line with "...", but that's a real
>> hack, and almost certain to make RFC-conforming email look quite ugly,
>> because every line becomes a paragraph, and you'll lose all
>> indentation.  Eg, in the code blocks you posted, all the lines will
>> end up flush left.  If your members are posting code or poetry, or
>> using indented block quotations etc, they're likely to be extremely
>> unhappy with the result.

D'oh! I just saw the error in my whole way of thinking.

And of course, any such "nl2br" equivalent will do exactly the same as wrapping 
with P tags -- with everything left aligned.

But thank you Steve, for taking the time and trouble to explain. It is indeed a 
whole can of worms. Much to learn.

/Mark 

//

Python's standard library does have a textwrap module, but I'm not at
all sure it's suitable for this.  If you know that the long lines of a
message are actually paragraphs, you can use something like

from textwrap import wrap
# work backward because wrapping changes indicies of later lines
for i in range(len(lines) - 1, -1, -1):
# NDT = detect_prefix(lines[i])
lines[i:i+1] = wrap(lines[i], initial_indent=NDT, subsequent_indent=NDT)

If a line is indented or has a quoting prefix, you have to detect that
for yourself and set NDT to that prefix.  Something like

import re
prefix_re = re.compile('[ >]*')
def detect_prefix(line):
m = prefix_re.match(line)
return m.group(0)

should capture most indentation and quoting prefixes, but there are
other conventions.

Whether you use P elements or the textwrap module, it's probably a
good idea to find out how long the long lines are, and what percentage
of the message they are, and avoid trying to wrap a message that looks
like it "mostly" has lines of reasonable length.  If you don't, and
your target is the old "typewriter standard" width of 66, and somebody
using an RFC-conforming MUA just prefers 72, you'll reformat their
mail into alternating lines of about 60 characters and 10 characters.
Yuck ...

Which of the above would work better for you depends a lot on the
typical content of your list.  But issues with quoting and indentation
are likely to have you tearing your hair out.


//////////
------
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 wrap text in archived messages

2022-05-23 Thread Mark Dale via Mailman-Users



>> I'm looking for a way to wrap lines in archived messages

>> And the lines in that block that seem responsible for the PRE tags are ...
>> 
>> lines.insert(0, '')
>> lines.append('')
>> 
>> My question is: Can those PRE tags be removed and replaced with
>> something equivalent to PHP's "nl2br" (which inserts a line break
>> BR in place of new line entries)?

> No, because there *are no* newlines to break those very long lines.
> These MUAs use newline to mean "paragraph break", not "line break".


But there are "newlines" and there isn't any need to insert linebreaks into 
those long lines -- they just need to wrap. 

Looking at, for example, a message that originally has 3 paragraphs of text:


%(body)s


**




First paragraph that is a really long line of text.

Second paragraph that is a really long line of text.

Third paragraph that is a really long line of text.



*

If those PRE tags are removed, then all 3 lines get joined up and displayed as 
one continuous line. It solves the non-wrap problem but it looses the 
"paragraphs". So that's a no go.

As said, if this was PHP we could use the "nl2br" function - which inserts line 
breaks before all newlines.


  -- would give us ...   


///

First paragraph of body that is a really long line of text.

Second paragraph of body that is a really long line of text.

Third paragraph of body that is a really long line of text.



The BR tags would preserve the space between the lines and give the appearance 
of paragraphs in the HTML Pipermail archive page. Granted the HTML would not be 
strictly kosher, but then neither are the PRE tags strictly kosher as they're 
are not being used as they should be. The main thing is that the lines would 
wrap according the to width of the window and eliminate the need for horizontal 
scrolling.
 


> You might get a better result in these messages by removing the "PRE"
> tags, and wrapping each line with "...", but that's a real
> hack, and almost certain to make RFC-conforming email look quite ugly,
> because every line becomes a paragraph, and you'll lose all
> indentation.  Eg, in the code blocks you posted, all the lines will
> end up flush left.  If your members are posting code or poetry, or
> using indented block quotations etc, they're likely to be extremely
> unhappy with the result.

Agreed. To horrible to even think about.

> 
> Python's standard library does have a textwrap module, but I'm not at
> all sure it's suitable for this.  If you know that the long lines of a
> message are actually paragraphs, you can use something like
> 
> from textwrap import wrap
> # work backward because wrapping changes indicies of later lines
> for i in range(len(lines) - 1, -1, -1):
> # NDT = detect_prefix(lines[i])
> lines[i:i+1] = wrap(lines[i], initial_indent=NDT, 
> subsequent_indent=NDT)
> 

This is sort of where I was looking to go, but as you've pointed out, there's 
no telling if the text will be in paragraphs, code blocks etc.

Does the Python code snippet that I mentioned ...

def nl2br(s):
return '\n'.join(s.split('\n'))

... make any sense as a Python equivalent of PHP's "nl2br" function (to 
accomplish the insertion of the BR line break tags)?


Cheers,
Mark



--------------
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 wrap text in archived messages

2022-05-22 Thread Mark Dale via Mailman-Users
Hi,

I'm looking for a way to wrap lines in archived messages.

Messages from some mail clients (eg. Gmail) have their lines wrapped to 72 
chars in the archived version, while archived messages from others (eg. 
Thunderbird, Outlook) display unwrapped lines forcing the reader to scroll 
horizontally.

Looking at the HTML page source -- in both cases (wrapped and unwrapped) I see 
the message content is enclosed by PRE tags. 




Lorem ipsum dolor sit amet, consectetur ...

Ut enim ad minim veniam, quis nostrud ...


  



The template (article.html) contains the following:
...


%(body)s


...

>From what I can figure out, the PRE tags come from
>.../mailman/Mailman/Archiver/HyperArch.py in a block of code lines 1290 to 
>1314 ...

///

def format_article(self, article):
# called from add_article
# TBD: Why do the HTML formatting here and keep it in the
# pipermail database?  It makes more sense to do the html
# formatting as the article is being written as html and toss
# the data after it has been written to the archive file.
lines = filter(None, article.body)
# Handle   directives
if self.ALLOWHTML:
self.__processbody_HTML(lines)
self.__processbody_URLquote(lines)
if not self.SHOWHTML and lines:
lines.insert(0, '')
lines.append('')
else:
# Do fancy formatting here
if self.SHOWBR:
lines = map(lambda x:x + "", lines)
else:
for i in range(0, len(lines)):
s = lines[i]
if s[0:1] in ' \t\n':
lines[i] = '' + s
article.html_body = lines
return article




And the lines in that block that seem responsible for the PRE tags are ...

lines.insert(0, '')
lines.append('')

My question is: Can those PRE tags be removed and replaced with something 
equivalent to PHP's "nl2br" (which inserts a line break BR in place of new line 
entries)?

A Google search for such an equivalent gives me ...

def nl2br(s):
return '\n'.join(s.split('\n'))

With zero understanding of Python my attempts to implement this have failed so 
far and I may well be barking up the wrong tree completely. Any clues or 
pointers gratefully received.

Thanks.
------
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: group mismatch

2022-05-17 Thread Christian Buser via Mailman-Users
Ah so…

You found another way to fix the main problem -  but you do not tell us? 

You know that in a mailing list everyone should help if he can and not only 
consume?

So then, please unsubscribe here.

Thank you
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org







> Am 17.05.2022 um 11:02 schrieb Jon Baron :
> 
> I would like to thank everyone for all the ideas about my
> group-mismatch problem.
> 
> As it happens, nothing helped. Moreover, almost all of the
> speculations about what I was doing or not doing, using or not using,
> know or do not know, were incorrect.
> 
> I found another way to fix the main problem, which was, in any case,
> not all that serious.
> 
> I am not going to respond anymore to this thread.
> -- 
> Jonathan Baron, Professor of Psychology, University of Pennsylvania
> Home page: https://www.sas.upenn.edu/~baron
> --------------
> 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 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: Mailman2 x Debian 11 x Python3

2022-05-11 Thread Mark Dale via Mailman-Users


> Its possible to run mailman2 in debian11 (with python3)? 
> 
> I need the resource of mm2 of turn attachments into links. 
> 
> In mailman2 has the option scrub_nondigest, and its make this
> perfectily. 
> 
> I installed the mailman3 in debian 11, but dont realize any way to do
> this. 

FWIW, I installed Python2 on Debian 11 and attempted to install Mailman 2 but 
after hitting a stack of package dependency issues found it easier to just 
rebuild with Debian 10, install Mailman 2, then dist-upgrade the server to 
Debian 11. There is most likely a world of pain yet to come down on me.  
------
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: Weekly and month digests

2022-04-30 Thread Mark Dale via Mailman-Users


>> With the default Mailman cron being set as noon daily:
>>
>> If, on a Wednesday (for example),  List-1 is set with its digest as Daily -- 
>> its digest will be sent at noon that day (and every day).
>>
>> And if List-2's digest is set as Weekly, its digest will be held and not 
>> sent until noon the next Monday (the first day of the week). The Daily 
>> digest of the List-1 will also get sent that Monday.
>>
>> Have I understood correctly?

From: Mark Sapiro [mailto:m...@msapiro.net]

> 
> No.
> 
> All list's digests will be sent daily at noon.
> 
> I think you are confused about what the digest_volume_frequency setting does. 
> It has nothing to do with when digests are sent. It only controls how often 
> the digest's volume number is incremented and issue number is reset.
> 

Ahhh. Now I understand. Thank you very much for setting me straight on that, 
and for your patience.

Best,
Mark
--
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: Weekly and month digests

2022-04-29 Thread Mark Dale via Mailman-Users


> If you run cron/senddigests daily, periodic digests will be sent daily 
> including the first of the week and the first of the month> If you run 
> cron/senddigests weekly only, periodic digests will be sent weekly and> if 
> you run cron/senddigests monthly only, periodic digests will be sent monthly.

Sorry if I'm being thick headed with this. I think I understand. Just to be 
clear ...

With the default Mailman cron being set as noon daily: 

If, on a Wednesday (for example),  List-1 is set with its digest as Daily -- 
its digest will be sent at noon that day (and every day).

And if List-2's digest is set as Weekly, its digest will be held and not sent 
until noon the next Monday (the first day of the week). The Daily digest of the 
List-1 will also get sent that Monday.

Have I understood correctly?



 

 
------
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] Weekly and month digests

2022-04-29 Thread Mark Dale via Mailman-Users


Hi,

I've encountered a puzzle where weekly digests are not being sent, and I'm 
trying to understand how periodic digests work.


Daily digests and running the command below (as root) seems to work okay.

/usr/bin/python /var/lib/mailman/cron/senddigests -l 



Looking at Mailman's cron for digests I see the command for daily digests:

cat /var/lib/mailman/cron/crontab.in

...
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests
...

All good there.


For weekly and monthly digests to be sent should I add additional lines to 
Mailman's "crontab.in" (or even the system's crontab)? For example:

# 3:00 PM every Friday
0 15 * * 5 /usr/bin/python -S /var/lib/mailman/cron/senddigests
# 9:00 AM first day of each month
0 9 1 * * /usr/bin/python -S /var/lib/mailman/cron/senddigests


Or does the "senddigests" script handle weekly and monthly digests by 
retrieving info from somewhere?

And if so, where does Mailman get the information as to which digests should be 
sent weekly or monthly? 

And also if so, what day of the week/month should it be sending by default for 
those digests?


Thanks in advance if anyone can straighten my head out on this.

/Mark



 

 


------
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] On an imported lists, I can send a mail to the list, it is archived BUT not relayed to the members.

2022-04-27 Thread mailman

Hello,

Thanks for all the work on mailman3, wich I've installed to replace 
mailman2.


On the new installation, I can create a new list, add members, send an 
recieve messages and they are properly archived and I'm happy because 
everything seems to be working as expected.


But…

With a list I created to importe the members and the archives, I have a 
problem.


I followed this https://docs.mailman3.org/en/latest/migration.html to do 
the import.


The result is that everything seems to be good except that, if I send a 
message, it is not relayed to the members.


I tried by sending from my mail client and dirrecty from the web 
interface, the result is the same.


The mail is received and archived and in the 
/var/log/mailman3/web/mailman-web.log I see a lot of « loops » with this 
kind of content :


…
[pid: 32617|app: -1|req: -1/57] ::1 () {38 vars in 782 bytes} [Tue Apr 
26 15:25:30 2022] GET 
/hyperkitty/api/mailman/urls?mlist=THE-LIST%40SUB.DOMAIN.EXT.be=e7eab1aa-b592-9b6b-5912-0a1004ba4e10%40OTHERDOMAIN.EXT=bo44goajulr
n0fa2bpt8zk2cxbaemlbq => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 
headers in 83 bytes (0 switches on core 1)

…

To stop those « loops » and the logfile growing, I have to stop the 
mailman3 service and restart it.


I have compared (based on the web interface) the setting of the « new 
list » and the « imported list », I found some small differences and 
even if I set the same settings, the result is the same.


Any idea about where to search would be welcome…

Regards,

tierce
--
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] where can I find a searchable archive of list mails?

2022-04-21 Thread Dave Stevens via Mailman-Users
for claws-mail specifically? (but not only)

TIA

Dave

-- 
Sometimes I wonder whether the world is being run by 
smart people who are putting us on or by imbeciles who 
really believe it.

Mark Twain
--
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 delete large numbers of held messages

2022-04-21 Thread lists--- via Mailman-Users
Sam Kuper wrote:

> > You posted your thread to the Mailman 2.1 mailing list:
> mailman-users@python.org
> 
> 
> You therefore got a reply appropriate to Mailman 2.1.

My mistake, apologies. I will post to the MM3 list now!
------
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 delete large numbers of held messages

2022-04-21 Thread lists--- via Mailman-Users
Thanks for the reply Mark, where do I get the discard script from?

We are using Mailman3 but the only "discard" I can find belongs to postfix:
/usr/lib/postfix/sbin/discard

There is a bin/discard on our Mailman 2.1 server but not on our Mailman 3.1 
server

Thanks
Chris
------
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 delete large numbers of held messages

2022-04-21 Thread lists--- via Mailman-Users
We had a mail loop on one of our lists and ended up with over 51k messages in 
pending (held due to post not form a list member)

Trying to delete them from the web UI will take forever, as the largest 
pagination you can view is 200 at a time.

Tried to delete them from the Python interactive shell, but it looks like the 
API times out after a while.

Is there another way to delete all these unwanted held posts?

The problem comes after executing:


reqs = list(adminlist.held)


After a couple of minutes it comes back with:


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in 
urlopen
httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in 
_make_request
six.raise_from(e, None)
  File "", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in 
_make_request
httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in 
urlopen
retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 532, in 
increment
raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in 
urlopen
httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in 
_make_request
six.raise_from(e, None)
  File "", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in 
_make_request
httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', 
RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py", 
line 107, in call
response = request(
  File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in 
request
resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', 
RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in 
  File 
"/usr/lib/python3/dist-packages/mailmanclient/restobjects/mailinglist.py", line 
123, in held
response, content = self._connection.call(
  File "/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py", 
line 135, in call
raise MailmanConnectionError(
mailmanclient.restbase.connection.MailmanConnectionError: ('Could not connect 
to Mailman API: ', "ConnectionError(ProtocolError('Connection aborted.', 
RemoteDisconnected('Remote end closed connection without response')))")

--
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: The Hotmail complaint saga continues

2022-04-16 Thread Sharon Villines via Mailman-Users
2-3 years ago on Groups.io groups this began happening. It is related to the 
new privacy laws. When a message is marked as SPAM at any level, groups.io is 
required to unsubscribe the person. Groups.io handles this by immediately 
sending a message to the person telling them why they were unsubscribed and 
including a link to resubscribe.

I happens 2-3 times a month now. No one knows which level the unsubscribe order 
came from. One explanation for why it happens on some services and not others 
is that the larger companies (Yahoo and Google) get away with not doing it but 
smaller ones have to comply.

I have no more information than that. My Groups.io lists have learned to live 
with it.

I did have to ask one person with an AOL address to please change because she 
was unsubscribed many times over several days -- 12 times in 24 hours. She had 
no idea what was doing the SPAM marking. I think she must have been the last 
AOL user in the area.

I have no more information than that.

Sharon

> On Apr 15, 2022, at 9:21 AM, Jayson Smith  wrote:
> 
> Hi,
> 
> I can confirm that the complaints do cite messages I am sending, and know I'm 
> sending. Does anyone know if Microsoft has made any changes to their Email 
> user interface recently that would make marking something as spam or junk by 
> mistake easier than it was before? This problem started out of the blue on 
> March 24. If it makes any difference, the specific subscriber involved has an 
> Email address at msn.com, and she's been subscribed to the list for close to 
> two years with no problem.
> 
> Jayson
> 
> On 4/15/2022 1:25 AM, Stephen J. Turnbull wrote:
>> Jayson Smith writes:
>> 
>>  > 1. Is Linode, my VPS provider, also receiving these complaints? If so,
>>  > I'm surprised they haven't at least sent me a notice telling me about 
>> them.
>> 
>> Seems unlikely, both on general principles and since you haven't heard
>> from them.
>> 
>> Have you confirmed that these notifications are really from Hotmail
>> staff (or an automated process there)?  Although other things equal
>> it's unlikely, the most likely possibility (the subscriber complained)
>> is denied by the subscriber so it could theoretically be some third
>> party trying to mess with you or the subscriber.
>> 
>> Also, have you confirmed that it's actually the specific messages from
>> you or your list that were cited?  Is it possible that some spammer is
>> spoofing your return address, and the subscriber is legitimately
>> complaining about mail that to the email provider appear to be from
>> you but to the subscriber are from somebody else?  Is it possible your
>> Linode VPS has been hacked, or the MTA is an open relay, and is being
>> used to send spam?  If you've confirmed that the complaints are citing
>> mail you know you sent, these possibilities don't apply, and they're
>> fairly unlikely anyway given that it's only one subscriber that's
>> having the issue.
>> 
>>  > 2. Does anyone know if having received these complaints might cause
>>  > Microsoft to be more likely to add my IP to their infamous block list?
>> 
>> More likely, yes, but how much more likely, you'd have to get an
>> answer from Microsoft.  I don't know anybody who has gotten anything
>> useful out of them, though.  Mistaken additions to block lists
>> anywhere seem to quite random for good actors, and the blockers are
>> rarely willing to explain what the problem was, or how to avoid it.
>> 
>> You could try explaining the situation to staff@hotmail, and get the
>> subscriber to do so too.  But I wouldn't expect too much.
>> 
>> You could also look up what their mitigation strategies, if any, are.
>> Some providers have services you can sign up to which provide more
>> information about complaints, and guidelines on how to keep your
>> list(s) in good standing with the providers.  I don't know about
>> Microsoft/Hotmail.
>> 
>> There are also some general rules:
>> 
>> 1.  Check that your server is not in any of the reputable RBLs.  I
>> don't have a list offhand.
>> (A couple of RBLs are known to shake down sites by putting them in
>> bad actor lists and then asking for money for a "service" to help
>> clean your reputation.  The big providers like Hotmail know who
>> they are and ignore them, you probably can ignore them too.)
>> 2.  Make sure that your DNS has correct configurations for SPF and
>> DKIM.  Make sure that your signing keys are correct.  It may halp
>> a little to do DMARC, too, even if you just set a policy of
>> p=none.  If your lists accept posts fro

[Mailman-Users] Re: The Hotmail complaint saga continues

2022-04-15 Thread Mark Dale via Mailman-Users
Hi Jayson,

> ... This makes me think she's doing something to cause a complaint to be 
> generated, and doesn't realize she's doing it. ...

We get a fairly steady stream of these "complaint" messages from 
"staff[AT]hotmail". They don't seem to amount to much and I'm guessing they're 
simply a result of people leaving messages in their junk folder (where they've 
been delivered automatically).
 
> 1. Is Linode, my VPS provider, also receiving these complaints? If so, I'm 
> surprised they haven't at least sent me a notice telling me about them.

The "complaint" messages that we receive are addressed to 
"postmater[AT]the.sending.servers.domain". They don't appear to be BCCed to the 
hosting company.


> 2. Does anyone know if having received these complaints might cause Microsoft 
> to be more likely to add my IP to their infamous block list? ...

Quite possibly it does. Once or twice a year Microsoft will block our list 
messages. The log files will show that our server is on their network block. 
The process is then:

A. Check that ALL your DNS records are in order (double check your DMARC, DKIM, 
SOA) and that your IP isn't blacklisted anywhere: https://mxtoolbox.com

B. Check that your server's IP reputation is okay at: 
https://talosintelligence.com

C. If you're all good with A and B, complete Microsoft's de-list form - 
https://sender.office.com

D. Your request will generally be refused initially so you need to reply 
(sometimes more than once) and explain that all your records are in order, the 
nature of your list, subscribers are double-opt in, and the measures you have 
put in place to prevent spam being sent.

E. I've found them to be responsive and generally there is a positive result 
within a day or two. 


/Mark
------
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: Unsubscribe functionality and Apple Mail

2022-04-15 Thread Christian Buser via Mailman-Users
Good evening André-John

I think this is more a question about Mail.app from Apple than about
Mailman. And since i do not use Mail.app, I cannot answer your question,
sorry.

Christian

André-John Mas schrieb am 14.04.22 um 23:19:
> Hi,
>
> I am not sure if this is the best place to ask, but I am noticing that 
> depending on the
> mailman server I am subscribed to, Apple Mail shows me an 'unsubscribe' 
> button,
> while for others it doesn't.
>
> One such mailing list where I don't get the unsubscribe button is 
> macports-us...@lists.macports.org,
> so I am trying to establish whether the behavioural issue is coming from? Is 
> it from a header
> issue in the email or a mis-handling by Apple Mail. BTW there does appear to 
> be a "List-Unsubscribe"
> header from what I can see, though I don't know enough to know if it is as 
> expected.
>
> I am using Apple Mail 16.0 on macOS 12.3.1. Their mailman server is 2.1.29.
>
> Thanks
>
> Andre
>
>
> ------
> 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 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: 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] 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: Reply-to addresses

2022-03-27 Thread Christian via Mailman-Users
Hi Michael  

I don’t think you have a problem here. The "From:"-address will probably look 
like this:

"Firstname Lastname usern...@domain.com" 

This means that the original sender’s address is in the "realname" (or 
"comment")-part of the address field. The sender appears still to be 
 and replies should go there - unless your list is set 
to deliver replies only to the original sender (as it is here in the Mailman 
list). 

Christian 


Hello Michael Welch. On Sat, 26 Mar 2022 13:05:12 -0700, you wrote:
> Hello friends. We are using Mailman through Dreamhost, which doesn't 
> allow us to change server-based list configurations, we only have 
> access to the Admin's normal Options pages.
> 
> After years of working fine, we'd recently been having bouncing 
> problems specifically with gmail addresses.
> 
> Thinking this was Dreamhost's problem, and not mine, I queried 
> Dreamhost support, and they looked over a bounced message. Their 
> suggestions are pasted below. I changed from_is_list to Munge From 
> but now the reply to headers have both the list address and the 
> original sender's address. So I assume the original sender gets sent 
> two copies of responses, one from the list and the other directly to 
> them.
> 
> I've spent some time over the years trying to train them to not use 
> Reply to All to avoid that double message situation, and now it's 
> happening even with just a regular Reply.
> 
> I'm hoping I can fix this easily. I know a little about this stuff, 
> but I'm basically just a list manager, not a full-on sysop, so please 
> be gentle in your terminology and instruction.
> 
>  From Dreamhost support:
>> Taking a look into the 're-wrenches-re-wrenches.org' list, the bounce
>> errors point to possible DMARC issues with the list post going out. But,
>> the 're-wrenches-re-wrenches.org' list does not look to have 'Munge From'
>> enabled on the list right now, so you'll want to log into the list and
>> enable that on the 'General Options' page for that list.
>> 
>> Along with that, the list sub-domain didn't have our SPF, so I've added
>> it for you since the domain is managing DNS services with us as well:
>> 
>> lists.re-wrenches.org.  300 IN  TXT "v=spf1 mx
>> include:netblocks.dreamhost.com include:relay.mailchannels.net -all"
>> 
>> That was setup on the 'Websites' > 'DNS Settings' page on your account
>> for the 're-wrenches.org' domain.
>> 
>> Having both above set will help to better the outgoing relays of the
>> posts, so set the 'Munge From' and let us know if you're still seeing the
>> same bounce as before. 
> 
> ------
> 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/
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
--
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] Re: Plus addressing

2022-03-22 Thread Grant Taylor via Mailman-Users

On 3/21/22 8:01 AM, robertowenbere...@gmail.com wrote:

Does the list support plus addressing?


Yes and no.

I believe the more proper name for this is user+detail.  I see "plus(ed) 
addressing" used more commonly more recently.


Yes, Mailman will happily accept user+detail addresses from subscribers.

No, Mailman itself won't treat user+detail@ and user@ as equal.


I am aware of the hack at:


This is what I've been doing for years.

However this does not appeal to the tinfoil hat crowd who thinks you 
are just going to sell both addresses.


There are a lot of things that don't appeal to people for one reason or 
another.



Nor do I want to explain to the masses this hack.


You have to make a choice.

Use separate addresses (and subscribe both) or don't, it's up to each 
individual.


There may very well be client side options too.  E.g. configuring the 
MUA that when you are on a folder for a given mailing list that it uses 
a different source address when composing messages.  Though this has 
it's own failure mode related to false positive / negatives.  There 
might be an MUA option to change sender addresses based on destination 
addresses.


What is the lesser evil to you / your users?



--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
------
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: Plus addressing

2022-03-22 Thread Christian via Mailman-Users
Hello robertowenbere...@gmail.com. On Mon, 21 Mar 2022 14:01:58 -, you 
wrote:

> Does the list support plus addressing?
> Google and O365 support plus addressing.  This allows someone to 
> subscribe as myself+li...@mycompany.com when their real email address 
> is mys...@company.com.  The problem is that when they reply, or 
> generate a new message, it may be held or rejected because it is 
> coming from an address different than they subscribed with. 

Instead of using "Plus addressing", in most (if not all) mail programs it is 
possible to set up rules for messages coming from a certain source. This rule 
can sort messages from mailinglist1 in one mail folder, and messages from 
mailinglist2 in another folder. 

Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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: Newbie User

2022-03-17 Thread jecer34861--- via Mailman-Users
I know im little late to your question. We are migrating our tennis website 
(https://supertennisracquet.com/) to another cpanel and would like to important 
email list of 2300 users with complete chat for each one. Should we proceed it 
or stick to current hosting?
--
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: Messages being delivered to administrators who are not subscribed.

2022-03-14 Thread Mark Dale via Mailman-Users


> These headers (read them in reverse):
> 

>> X-Original-To: krnet-ow...@list.krnet.org
>> Delivered-To: krnet-ow...@list.krnet.org
>> Received: from sfo.mailmanlists.us (ip6-localhost [IPv6:::1])
>>   by sfo.mailmanlists.us (Postfix) with ESMTP id BAD65451F6;
>>   Sat, 12 Mar 2022 04:11:24 + (UTC)
>> X-Original-To: kr...@list.krnet.org
>> Delivered-To: kr...@list.krnet.org
>> Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65])
>>   by sfo.mailmanlists.us (Postfix) with ESMTPS id A87C4451D4
>>   for ; Sat, 12 Mar 2022 04:11:21 + (UTC)

> 
> say the message was received by the list and resent by the list to 
> krnet-owner. Is krnet-ow...@list.krnet.org a member of the list?


Bingo! There you have it :-) 

Thank you very much yet again Mark. I think I'm now sufficiently humbled for 
not seeing that.

Best,
Mark 
------
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: Messages being delivered to administrators who are not subscribed.

2022-03-14 Thread Mark Dale via Mailman-Users


Hi Mark,

Just a recap (it's been a couple of days).

Problem: The list is sending a copy of the message (posted by a subscriber) to 
the administrator  who is not a subscriber.

I've replied to your queries in line.



>> =
>>
>> Mailman server's Postfix log shows:
>>
>> Mar 12 04:11:28 sfo postfix/smtp[1158]: 6B3E7452E0: to=, 
>> relay=svn.postmark.io[95.217.216.206]:25, delay=2.1, 
>> delays=0.05/0.19/1.4/0.41, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 
>> 427CE3EE82)

> 
> 
> That's the final delivery to m...@postmark.io. What are the earlier log 
> messages showing the message arriving and being delivered to command 
> `/var/lib/mailman/mail/mailman post krnet` and maybe to command 
> `/var/lib/mailman/mail/mailman owner krnet`.


# grep "/var/lib/mailman/mail/mailman post krnet" mail.log

Mar 12 04:11:23 sfo postfix/local[1152]: A87C4451D4: to=, 
relay=local, delay=1.7, delays=1.7/0.01/0/0.05, dsn=2.0.0, status=sent 
(delivered to command: /var/lib/mailman/mail/mailman post krnet)


# grep "/var/lib/mailman/mail/mailman owner krnet" mail.log

Mar 12 04:11:25 sfo postfix/local[1152]: BAD65451F6: 
to=, relay=local, delay=0.39, 
delays=0.1/0.01/0/0.28, dsn=2.0.0, status=sent (delivered to command: 
/var/lib/mailman/mail/mailman owner krnet)




> 
> I.e there should be a whole chain of log messages for queue id 6B3E7452E0, 
> and then before that, how the message got to whatever queued it with id 
> 6B3E7452E0.


All I'm seeing for "6B3E7452E0" is:


Mar 12 04:11:26 sfo postfix/smtpd[1148]: 6B3E7452E0: client=ip6-localhost[::1]
Mar 12 04:11:26 sfo postfix/cleanup[1151]: 6B3E7452E0: 
message-id=<3366ecfd5912a33298f3b66849a74...@posteo.net>
Mar 12 04:11:26 sfo opendkim[13925]: 6B3E7452E0: ip6-localhost [::1] not 
internal
Mar 12 04:11:26 sfo opendkim[13925]: 6B3E7452E0: not authenticated
Mar 12 04:11:26 sfo opendkim[13925]: 6B3E7452E0: s=2017 d=posteo.ch SSL 
error:04091068:rsa routines:int_rsa_verify:bad signature
Mar 12 04:11:26 sfo opendkim[13925]: 6B3E7452E0: bad signature data
Mar 12 04:11:26 sfo postfix/qmgr[14048]: 6B3E7452E0: 
from=, size=3120, nrcpt=1 (queue active)
Mar 12 04:11:28 sfo postfix/smtp[1158]: 6B3E7452E0: to=, 
relay=svn.postmark.io[95.217.216.206]:25, delay=2.1, delays=0.05/0.19/1.4/0.41, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 427CE3EE82)


>> =
>>
>> Header of the received message shows the message as having come from the 
>> Mailman server, and identifies the list correctly.

> 
> 
> What are the headers - full received chain and any Mailman added headers, 
> i.e. List-*:, etc.
> 



>From - Sat Mar 12 15:12:14 2022
X-Account-Key: account61
X-UIDL: 18236140259a
X-Mozilla-Status: 0001
X-Mozilla-Status2: 
X-Mozilla-Keys: 

Return-Path: 
Delivered-To: m...@postmark.io
Received: from svn.postmark.io
by svn.postmark.io with LMTP
id V9iBHHAdLGIcZxIASR0QWA
(envelope-from )
for ; Sat, 12 Mar 2022 05:11:28 +0100
Received: from sfo.mailmanlists.us (sfo.mailmanlists.us [167.71.156.220])
by svn.postmark.io (Postfix) with ESMTPS id 427CE3EE82
for ; Sat, 12 Mar 2022 05:11:28 +0100 (CET)
Received: from sfo.mailmanlists.us (ip6-localhost [IPv6:::1])
by sfo.mailmanlists.us (Postfix) with ESMTP id 6B3E7452E0
for ; Sat, 12 Mar 2022 04:11:26 + (UTC)
Authentication-Results: sfo.mailmanlists.us;
dkim=fail reason="signature verification failed" (2048-bit key; 
unprotected) header.d=posteo.ch header.i=@posteo.ch header.b="aOnoUCdm";
dkim-atps=neutral
X-Original-To: krnet-ow...@list.krnet.org
Delivered-To: krnet-ow...@list.krnet.org
Received: from sfo.mailmanlists.us (ip6-localhost [IPv6:::1])
 by sfo.mailmanlists.us (Postfix) with ESMTP id BAD65451F6;
 Sat, 12 Mar 2022 04:11:24 + (UTC)
X-Original-To: kr...@list.krnet.org
Delivered-To: kr...@list.krnet.org
Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65])
 by sfo.mailmanlists.us (Postfix) with ESMTPS id A87C4451D4
 for ; Sat, 12 Mar 2022 04:11:21 + (UTC)
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id A2D4C240026
 for ; Sat, 12 Mar 2022 05:11:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ch; s=2017;
 t=1647058279; bh=uhsziU26DlE82aOodBuT5N/k3zqUF9gLxYr9j5Adduk=;
 h=Date:From:To:Subject:From;
 b=aOnoUCdmMpsz6xZo7olmCEYzDOzNVPw+G7ykfR0MOcALI+4LTpcLOkxJm5ILcN6Gj
 5v7dM9QGqV615jQ+z+lYR4nGmejN4Oqm36Ckcv6vl8mGeUs8nUx26tTFUDxPwo6Po6
 wYqPH+STSkGS/sBE22ZmCBLhta0FmjMdPjDe9sZ77dpATj4np/53EU8ObR0kyOrS3M
 OvsxbU8dFhsQq3ZugBUInkpFZuOiEKCjyDdb0HN9Wyqy9oyT931TDRAMXoawoy8YG8
 2b1HUIZkBc+2zSmTHpuFw6hRtAfIltddFkxbCTHDJhgYx5qnmJufUxYUHxpD3Z6/X/
 kXz56wcLSscnQ==
Received: from customer (localh

[Mailman-Users] Re: Messages being delivered to administrators who are not subscribed.

2022-03-11 Thread Mark Dale via Mailman-Users



 Original Message 
Subject: account
From: Hunter Parker 
To: supp...@mailmanlists.net
Date: 1/31/2021, 3:30:02 AM

> On 3/11/22 11:45, Mark Dale via Mailman-Users wrote:
>>
>> Hi,
>>
>> I have just created a new list and the posts from/to subscribers are being 
>> received and delivered as expected. All is well there.
>>
>> However the messages are also being delivered to the administrators who are 
>> not subscribed.
>>
>> And if the administrator is a subscriber, they receive two copies of the 
>> post.
>>
>> Have I missed a setting, or have I screwed up the plumbing somewhere?


> 
> 
> What's in the Postfix mail.log for the delivery of the incoming message.
> 
> What are the aliases for this list?
> 
> Do the admin's messages come from Mailman?
> 

//

The issue is affecting only the one list on this server (all others are 
behaving correctly), which had me thinking it was a list-specific 
administration setting that I am not seeing.

The aliases for this list are as normal:

krnet:  "|/var/lib/mailman/mail/mailman post krnet"
krnet-admin:"|/var/lib/mailman/mail/mailman admin krnet"
krnet-bounces:  "|/var/lib/mailman/mail/mailman bounces krnet"
krnet-confirm:  "|/var/lib/mailman/mail/mailman confirm krnet"
krnet-join: "|/var/lib/mailman/mail/mailman join krnet"
krnet-leave:    "|/var/lib/mailman/mail/mailman leave krnet"
krnet-owner:    "|/var/lib/mailman/mail/mailman owner krnet"
krnet-request:  "|/var/lib/mailman/mail/mailman request krnet"
krnet-subscribe:"|/var/lib/mailman/mail/mailman subscribe krnet"
krnet-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe krnet"

.../bin/newaliases was run, and postfix reloaded.

/
/

SCENARIO 1.

m...@postmark.io = Administrator only (not a subscriber)

=

Test message posted to the list by a member at 04:11

Result: Message correctly delivered to all members, plus message delivered to 
Administrator (who is not a subscriber).  

=

Mailman server's Postfix log shows:

Mar 12 04:11:28 sfo postfix/smtp[1158]: 6B3E7452E0: to=, 
relay=svn.postmark.io[95.217.216.206]:25, delay=2.1, delays=0.05/0.19/1.4/0.41, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 427CE3EE82)

=

Header of the received message shows the message as having come from the 
Mailman server, and identifies the list correctly.




/
/

SCENARIO 2

m...@postmark.io = Administrator and Subscriber


=

Test message posted to the list by a member at 04:21

Result: Message correctly delivered to all members, plus message delivered to 
Administrator. The Administrator is a subscriber, so received 2 copies of the 
message.

=

Mailman server's Postfix log shows:

Mar 12 04:21:16 sfo postfix/smtp[1513]: 08AA2452E1: to=, 
relay=svn.postmark.io[95.217.216.206]:25, delay=1.9, delays=0.05/0.16/1.3/0.42, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A0E743EE82)

Mar 12 04:21:25 sfo postfix/smtp[1519]: CD61B452DF: to=, 
relay=svn.postmark.io[95.217.216.206]:25, delay=12, delays=0.08/5.3/6.3/0.41, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A0E0E3EE82)

=

Headers of both the received messages show as having come from the Mailman 
server, and identify the list correctly.

/////
/




--------------
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] Messages being delivered to administrators who are not subscribed.

2022-03-11 Thread Mark Dale via Mailman-Users


Hi,

I have just created a new list and the posts from/to subscribers are being 
received and delivered as expected. All is well there.

However the messages are also being delivered to the administrators who are not 
subscribed.

And if the administrator is a subscriber, they receive two copies of the post.

Have I missed a setting, or have I screwed up the plumbing somewhere?

Nothing is leaping out at me from the logs. Any advice on where I should be 
looking would be much appreciated.

Thanks,
Mark

PS. Mailman 2.1.39 / Debian / Postfix
--
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: Multiple mailing lists with overlapping membership

2022-02-20 Thread Bob Williams via Mailman-Users
On Sun, 20 Feb 2022 07:46:29 -0800
Mark Sapiro wrote:

> On 2/20/22 02:21, linux--- via Mailman-Users wrote:
> > Many thanks for a very clear explanation. Can I add another twist?
> > There is also some overlap in the membership of the smaller lists.
> > Can I follow the same procedure, ie adding each smaller list to
> > regular_exclude_ignore in the settings of the other list? Thus, a
> > message posted to both ad...@domain.name.com and
> > maintena...@domain.name.com would be received only once by the
> > duplicated members?
>
> No, That's tricky. I.e. you might want regular_exclude_ignore for
> members has admin and maintenance; regular_exclude_ignore for admin
> has maintenance, and regular_exclude_ignore for maintenance has admin.
>
> The problem there is with regular_exclude_ignore for admin has
> maintenance, and regular_exclude_ignore for maintenance has admin. In
> that case, if a post addresses both the admin and maintenance lists,
> members of both lists will not receive the post from either list.
>
> What you need is only one of those. I.e., regular_exclude_ignore for
> admin has maintenance, or regular_exclude_ignore for maintenance has
> admin but not both.
>
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan

Thank you. I think I understand the logic, but need to draw it out on
paper to really get my head around it.

--
Bob Williams

------
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: Multiple mailing lists with overlapping membership

2022-02-20 Thread linux--- via Mailman-Users
Many thanks for a very clear explanation. Can I add another twist? There is 
also some overlap in the membership of the smaller lists. Can I follow the same 
procedure, ie adding each smaller list to regular_exclude_ignore in the 
settings of the other list? Thus, a message posted to both 
ad...@domain.name.com and maintena...@domain.name.com would be received only 
once by the duplicated members?
-- 
Bob Williams
--
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] Multiple mailing lists with overlapping membership

2022-02-19 Thread linux--- via Mailman-Users
I run a small club with about 50 members. All the club mailing lists are 
private. Everyone is in the memb...@domain.name list, and there are two other 
smaller lists containing subsets of the membership, eg ad...@domain.name, 
maintena...@domain.name. When a message is sent to both ad...@domain.name and 
memb...@domain.name, recipients get both copies of the message.
Would it be better to remove individuals who are in the ad...@domain.name list 
from the memb...@domain.name list, and then add @admin as a member of the 
memb...@domain.name list. Does this make memb...@domain.name an 'umbrella' list?
--
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: max value of mailman2

2022-02-15 Thread Mailman-admin
Hello

Am 15.02.22 um 10:19 schrieb kukyayuni--- via Mailman-Users:
> 
> I would like to know the MAX values listed below for mailman2.
> Is there any document that explains them?
> 
> Is there a limit to the number of mailing lists that can be created in 
> mailman2?
> What is the maximum number of recipients that can be registered to a single 
> mailing list created by mailman2?

There is no limit for maximum number of mailing lists.
You need enough disk space for settings and archives on your system.
And your system has to be able to cope with the traffic.

There is no limit for maximum members of one list.
It all depends on your system and its network capabilities.
As long as you have enough network bandwidth for sending to those
members in a timely fashion everything is well.


Kind regards,
Christian Mack

-- 
Christian Mack
Mailinglisten-Administration
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung & Lehre
78457 Konstanz, Deutschland
++49 7531 88 4416
------
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] max value of mailman2

2022-02-15 Thread kukyayuni--- via Mailman-Users
Hi

I would like to know the MAX values listed below for mailman2.
Is there any document that explains them?

Is there a limit to the number of mailing lists that can be created in mailman2?
What is the maximum number of recipients that can be registered to a single 
mailing list created by mailman2?
--
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Mark Sapiro. On Thu, 3 Feb 2022 14:31:11 -0800, you wrote:

>>> X-Ham-Report: Spam detection software, running on the system
>>> "crift.digimouse.eu", has NOT identified this incoming email as
>>> spam.  The original message has been attached to this so you can view
>>> it or label similar future email.  If you have any questions, see
>>> root\@localhost for details. Content preview:  systemerweiterungen,
>>> benutzer, dein account, startobjekte: ist da noch was drin? Jean-Luc
>>> Aeby CH-4052 Basel > Am 03.02.2022 um 09:05 schrieb Max Röthlisberger
>>> Mus : > > Guten Morgen zusammen > > Mein MacBook Pro,
>>> OS 10.11.6 sucht zu Hause nach einem Neustart 4 - 5 > mal im Heimnetz
>>> den ? [...]  Content analysis details:   (-0.0 points, 4.0 required)
>>> pts rule name  description  --
>>> -- 0.0
>>> URIBL_BLOCKED  ADMINISTRATOR NOTICE: The query to URIBL was
>>> blocked.  See
>>> http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for
>>> more information. [URIs: mus.ch] -0.0 BAYES_40   BODY:
>>> Bayes spam probability is 20 to 40% [score: 0.2865] -0.0
>>> SPF_PASS   SPF: sender matches SPF record 0.0
>>> KAM_SHORT  Use of a URL Shortener for very short URL -0.0
>>> T_SCC_BODY_TEXT_LINE   No description available.
> ...
> 
> 
> This is the only header in the message that looks suspicious. I 
> suspect the `?` characters are actually non-ascii characters in an 
> unencoded header and that's the problem. I think whatever is adding 
> this header (SpamExperts ?) is the root of the problem. If this can 
> be configured to not add that X-Ham-Report: header, that may solve 
> the issue.

Ah, I see - the ? in this part: " den ? [...]  Content analysis details" seems 
to replace a curly quote. 

I’ll contact the provider whether it is possible to switch off the spam 
detection software for our lists. 

> Or, you could patch 
> https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/Cleanse.py#L62
>  
> and add
> ```
> del msg['X-Ham-Report']
> ```
> to have Mailman remove it. That may help.

Thank you so much 
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
--
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Mark Sapiro. On Thu, 3 Feb 2022 11:28:00 -0800, you wrote:
> On 2/3/22 09:24, Christian via Mailman-Users wrote:
>> Hello Carl Zwanzig. On Thu, 3 Feb 2022 17:12:37 +, you wrote:
>> 
>>>>   From tine to time I get bounce messages (for several recipients,
>>>> today 4 of a total of 165) with the folloeing content:
>>> 
>>> Are those coming from the same recipients? same hosts? (same sender?)
>>> Looking for any commonality between failures.
>> 
>> Today I saw two different mail hosts reporting this error.
> 
> 
> But the question is was the poster or the poster's domain the same?

Today it was 1 single message - bounced from 4 destination addresses. 

> Can you post the headers of the message as sent from the list?

Of course. Here it is: 

> Return-path: 
> Received: from [::1] (port=42372 helo=crift.digimouse.eu) by 
> crift.digimouse.eu with esmtp (Exim 4.94.2) (envelope-from 
> ) id 1nFYkI-0003Yb-SS for i...@jlaeby.ch; 
> Thu, 03 Feb 2022 11:49:41 +0200
> Received: from nx5.node01.servicehoster.ch ([194.191.24.205]:20285) 
> by crift.digimouse.eu with esmtps (TLS1.2) tls 
> TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from 
> ) id 1nFYjS-0003XH-W4 for listn...@mus.ch; Thu, 03 
> Feb 2022 11:48:50 +0200
> Received: from web16.servicehoster.ch ([194.191.24.26]) by 
> node01.servicehoster.ch with esmtps (TLSv1.2:AES128-GCM-SHA256:128) 
> (Exim 4.92) (envelope-from ) id 1nFYij-001AvF-TE for 
> listn...@mus.ch; Thu, 03 Feb 2022 10:48:08 +0100
> X-SecureMailgate-Identity: supp...@jlaeby.ch;web16.servicehoster.ch
> Received: from mailproxy1.servicehoster.ch 
> (mailproxy1.servicehoster.ch [194.191.24.249]) (Authenticated sender: 
> supp...@jlaeby.ch) by web16.servicehoster.ch (Postfix) with ESMTPSA 
> id E1292283C33; Thu,  3 Feb 2022 10:48:04 +0100 (CET)
> X-SecureMailgate-Identity: supp...@jlaeby.ch;web16.servicehoster.ch
> From: Jean-Luc Aeby 
> Mime-Version: 1.0 (1.0)
> Message-Id: <49cc4583-c039-4298-aab0-486d8f38d...@jlaeby.ch>
> References: <61fb806e.1000...@gmx.net>
> In-Reply-To: <61fb806e.1000...@gmx.net>
> To: My Listname 
> Date: Thu, 3 Feb 2022 10:47:57 +0100
> X-Mailer: iPhone Mail (19C63)
> X-PPP-Message-ID: <20220203094805.1919589.44...@web16.servicehoster.ch>
> X-PPP-Vhost: jlaeby.ch
> X-Originating-IP: 194.191.24.26
> X-SpamExperts-Domain: web16.servicehoster.ch
> X-SpamExperts-Username: 194.191.24.26
> Authentication-Results: servicehoster.ch; auth=pass 
> smtp.auth=194.191.24...@web16.servicehoster.ch
> X-SpamExperts-Outgoing-Class: ham
> X-SpamExperts-Outgoing-Evidence: Combined (0.10)
> X-Recommended-Action: accept
> X-Filter-ID: 
> Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9GLtin6l+txdElILq/dTaMPUtbdvnXkggZ 
> 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zfUDJC12yq1R+0xYTXupxIc6njMu1JKD+SITWju70qDXH+ 
> ctc+dpw7gdML3GJ/0msh55uqY3MhMgFAHq5BxPxP12vLaykrv/CV1HIsS0W0SG32PVOyyTq65KCP 
> Edd+aVdouAN+Zcq4K4WoYagN8ZM67Ra46+udvgcY+rhDPo0c5ehyDmer8lEHke3c0U1vejiaLU28 
> xfGxbJc3Fnwf/OFlpRmoji2HEHffcAOeAvCLnizdCoyd6Zso1A7DhSLZDZQUx7MG2wf4WvmVq0gI 
> vEpMsXte0CH4ExjoF85tff90A1HUoVwaoyKiseY5we892IYad3lsxkDrjYxAaP1hGz0QyGcCgytU 
> Mu2J9HJXA1Uo4AZeFq5fAXGcSKKeqh8qGBjw2YHxywJjv0+YZf/72FgeUHn+gnmsNLchHhymY5JU 
> 63hy/sIYQHSrltYx0aSLXrZBb28w2O5AZdbWNIkO3NCjZ7FYVl/BQ3QKsAVBVEjkrDhrjIHsvvRj 
> yQOzr25FPf/Deo2F/515C8kJ0QodJwfrmFGs5lmow6gOzU/CbOds0gEiRQv+PVjjwa+Z5RFCOMSX 
> MmfzoxaPyOgXrgXEjk0eWpEhCmdLpqjaP3jDB9QvXusM54wVAOlSD/zV8CCZm5fiIYr6oi6Wy76P 
> yMRvkvurVV8gVB0OrHv2q11HcBSY0iz3XgtqLDENrnN+u7byfLqgZZAS9m5ZAKg1qGreZOdFq+KD 
> +HSe3QqOtbfvew+T8Jp7R/SyQ9MaPLuQ4OIexWoNiXzTEv0SLu34PBxzuERAwdRWk4myhKHuwgYs 
> 2PEJ3MA/9xGgj7taJxWtHZ97uYqOu5TxNefgMpX+DiV6TZ5Nw6nIoDr0sXUZ7YZoZ/GZ+hFN0x52 
> 3WxNmc+AvCalCmRJm84B1u1bEoWAFvHljuWaLNLnnkkL94kTQnbQ9bsMgGb3QSxTuhF3dtWcgZsS 
> 3iwqNR+YJaQAd+G4qbVmYoTDcSLZOai+Ves9Dekd80QunVT5zsfLy3aWiU9bQJYdgWKzrSl9uYny 
> uRAIXyrYCHbl
> X-Report-Abuse-To: s...@node01.servicehoster.ch
> X-Spam-Status: No, score=-0.0
> X-Spam-Score: 0
> X-Spam-Bar: /
> X-Ham-Report: Spam detection software, running on the system 
> "crift.digimouse.eu", has NOT identified this incoming email as 
> spam.  The original message has been attached to this so you can view 
> it or label similar future email.  If you have any questions, see 
> root\@localhost for details. Content preview:  systemerweiterungen, 
> benutzer, dein account, startobjekte: ist da noch was drin? Jean-Luc 
> Aeby CH-4052 Basel > Am 03.02.2022 um 09:05 schrieb Max Röthlisberger 
> Mus : > > Guten Morgen zusammen > > Mein MacBook Pro, 
> OS 10.11.6 sucht zu Hause nach einem Neustart 4 - 5 > mal im Heimnetz 
> den ? [...]  Content analysis details:   (-0.0 points, 4.0 required) 
>

[Mailman-Users] Reply To

2022-02-03 Thread John McDonald via Mailman-Users
Is there any way to remove "Reply" and "Reply To" from an email sent to a 
mailing list.
------
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Carl Zwanzig. On Thu, 3 Feb 2022 17:12:37 +, you wrote:

>>  From tine to time I get bounce messages (for several recipients, 
>> today 4 of a total of 165) with the folloeing content:
> 
> Are those coming from the same recipients? same hosts? (same sender?) 
> Looking for any commonality between failures.

Today I saw two different mail hosts reporting this error. 

Thank you

Christian 
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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] illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hi all

I have some mailing lists running on cPanel 100.0.7 / Mailman 2.1.37. 

>From tine to time I get bounce messages (for several recipients, today 4 of a 
>total of 165) with the folloeing content:

Action: failed
Final-Recipient: rfc822;...@yyy.ch
Status: 5.0.0
Remote-MTA: dns; mx02.tophost.ch
Diagnostic-Code: smtp; 550 Headers contain illegal byte order mark (BOM)

Not all messages to these subscibers (or mailhosts) are bouncing, only few of 
them. What could be the reason for this? Is this a Mailman problem, or a 
problem of the mail program used by the writer of the bounced message? 

Thank you
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
--
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, California    better 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
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] 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] Mailman data backup

2022-01-24 Thread kukyayuni--- via Mailman-Users
Hi

Please tell me about Mailman backup.
We want to back up our mailing list configuration data, archives, etc. without 
stopping the Mailman service.
Can you please tell us how to do this?
--
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: Listservers currently hosted with EMWD - urgent request for assistance

2022-01-04 Thread Christian via Mailman-Users
Hello Jonathan Ashby. On Tue, 4 Jan 2022 14:22:41 +, you wrote:

> I am unaware that EMWD changed anything so I am at a loss as to why 
> they stopped working.
> 
> The EMWD hosting is on Postorius version 1.3.3
> 
> Mailman Core Version - GNU Mailman 3.3.1 (Tom Sawyer)
> Mailman Core API Version - 3.1
> Mailman Core Python Version - 3.7.3 (default, Dec 20 2019, 18:57:59) 
> [GCC 8.3.0]

Since this list mainly covers Mailman 2, you would probably be better off if 
you use this list: 
mailman-us...@mailman3.org
<https://lists.mailman3.org/mailman3/lists/mailman-us...@mailman3.org/>.

But, of course, if you did not change anything and EMWD does not answer your 
requests, it is difficult to say what the reason is - no matter which list you 
use...

Good luck 
Christian  
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
----------
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: Listservers currently hosted with EMWD - urgent request for assistance

2022-01-04 Thread Christian via Mailman-Users
Hello Jonathan Ashby. On Tue, 4 Jan 2022 13:24:02 +, you wrote:

> We have our listservers hosted with EMWD which stopped working on 23 
> December. 

For no apparent reason? Or did EMWD change something on their servers?

> We have since found out the devastating news that Brian 
> Carpenter passed away last year. Brian was really helpful when we 
> moved our listservers from a legacy system to hosting on the EMWD 
> platform. My sincere condolences to his family and friends.

This news was mentioned here some time ago, and I also miss his answers. 
However, Mark Sapiro wrote on June 5, 2021: "His family is continuing EMWDs 
services". Their website is still up and advertises Mailman 2 and Mailman 3 
hosting services. 

> As we can no longer get a response from EMWD about our listserver 
> issue I was wondering if any one else in this community could help.

It may just be because of the holidays that you did not get an answer from 
EMWD. However, you might want to tell us 

- is the EMWD hosting you have using cPanel for your administration
- what (if anything) did you (or any of the people having access) change on the 
list settings? 

I am sure there are many people here who want to help. 

Christian 
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
----------
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: Should CSRF check disregard case of addresses?

2021-12-13 Thread Mailman-admin
Hello

Am 13.12.21 um 12:09 schrieb Sebastian Hagedorn:
> Hi,
> 
> thanks for the recent security fixes regarding potential CSRF attacks! I
> checked our mischief logs for relevant messages today and the only one I
> found was this:
> 
> Nov 24 19:33:24 2021 (117276) Form for user x...@smail.uni-koeln.de
> submitted with CSRF token issued for x...@smail.uni-koeln.de.
> 
> The only difference is in the case of the email address. I’m no expert
> on CSRF attacks, but to me it seems as though the comparison should
> perhaps disregard differences in case only?
> 

As local part of an email address can be case sensitive, this should
only be case insensitive for the domain part.


Kind regards,
Christian Mack

-- 
Christian Mack
Mailinglisten-Administration
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung & Lehre
78457 Konstanz, Deutschland
++49 7531 88 4416
----------
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: is log4j2 leveraged in Mailman version 2.1.14-1?

2021-12-10 Thread David Gibbs via Mailman-Users
On Fri, Dec 10, 2021 at 2:40 PM John Lake  wrote:
> Does Mailman version 2.1.14-1 utilize Java logging library log4j2 and if so, 
> what version does it use?

Mailman is written in python ... it doesn't use java libraries at all.

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding in the American Diabetes Association's Tour de Cure to
raise money for diabetes research, education, advocacy, and awareness.
You can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive
donation map ... https://mideml.diabetessucks.net/map (it's a geeky
thing).

I may have diabetes, but diabetes doesn't have me!
--
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: Email different content in an unique list

2021-12-09 Thread Grant Taylor via Mailman-Users

+2 for topics

On 12/9/21 11:18 AM, Mark Sapiro wrote:
For individual messages, Mailman 2.1 has a Topics feature. This is not 
yet in Mailman 3 in any form, but works for Mailman 2.1. In the Topics 
section of the admin UI you define topics via regexps to match against 
the Subject: or Keywords: (if one) message header(s) or pseudo headers 
in the message body. Each topic has a name and description.


It's possible to have Procmail scan the full body of messages for 
keywords and automatically generate a Keywords pseudo header that 
Mailman can then key off of.  I've used this with great success for years.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
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] Email different content in an unique list

2021-12-09 Thread jbjbay--- via Mailman-Users
I am the owner of a classifieds website.
There are several categories of ads like Sale, Purchase, Donation, etc... 
Today, registered users receive all new posted ads daily, but I would like to 
offer them to choose the categories that interest them.
For example Sale only, or Sale and Donation, etc ...
I'm looking for a solution to only send the content the user has subscribed to, 
but with one mailman list.
Maybe with Content-filtering?
I don't have too many ideas, any suggestion will be welcome.
--
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: {Spam?} in subject lines.

2021-12-08 Thread Christian Buser via Mailman-Users
Good morning 

This can be inserted by ANY server between the sender and the recipient. You 
have, afaik, no chance to find out which server this was. And I think it 
wouldn’t help anyway since you cannot take influence on the way which the 
messages travels. 

Christian

Hello Adam Morris. On Wed, 8 Dec 2021 17:10:13 +1100, you wrote:
> Hi all,
> I realised I asked about this recently.
> on lists I run I don't have this appearing in subject lines where 
> messages are sent from g mail and other domains.
> For a list I don't run messages sent from g mail and other providers 
> have this in the subject line.
> Wondering what settings need changing on the list this is happening with?
> TIA.
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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: I'm on Microsoft's blocklist again!

2021-12-07 Thread Christian via Mailman-Users
Hello Jayson Smith. On Tue, 7 Dec 2021 12:49:51 -0500, you wrote:

> Just over two weeks since I found myself on Microsoft's blocklist and 
> was manually removed, I find myself back on their blocklist again. 
> Possibly coincidentally, this morning MXToolbox informed me that 
> Linode has apparently found itself back on Uceprotectl3. 

I had yesterday the same issue with a different provider on the recipient’s 
side. I asked my hosting provider and his answer was:

> uceprotect has the reputation of a scam blackmail service. I have 
> asked for delisting (although there was no reason for blacklisting to 
> begin with). Please, allow up to 36 hours for delisting.

Best wishes 
Christian 


-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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] setting up mailman lists from the command line

2021-12-03 Thread Dave Stevens via Mailman-Users
I have a currently small number of internet connected sensors and would
like to send email messages to list subscribers about interesting
measurements. I would like to send readings to only those subscribers
who are interested in specific sensors. I've been using Virtualmin to
set up the lists but it's getting to be too much work.

Is there a way I can set up a mailing list from the command line? I'm
thinking I'll script a way for the users to do this. I'd be happy to
read instructions if referred. Thanks!

Dave

-- 
Sometimes I wonder whether the world is being run by 
smart people who are putting us on or by imbeciles who 
really believe it.

Mark Twain
--
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] Usubscribe not recognized (was: Messages from non-members)

2021-11-16 Thread Christian Buser via Mailman-Users
Hi Adi

There are several possibilities for this:

1) You use a mail forwarding from address A to address B and try to
unsubscribe for address B instead of address A

2) Your mail server has several domains which are in fact the same -
like gmail.com / googlemail.com, or me.com/mac.com, etc.

3) Your are subscribed for myn...@mail.domain.com and want to
unsubscribe from myn...@domain.com

and possibly more. And:

if you reply to one of the messages in this list, the reply goes to the
author of the message (me, in your case) and not to the list - unless
you use the special command (e.g. in Thunderbird) "Reply to List...".  I
think this message also only went to me, not to the list...

You may want to analyze the mail headers of a list message to find out
what happened. Look for these header lines:
X-Apparently-To:
Received:  (look whether the desination address changed there between
one header and the next) - received lines are read from bottom to top
for chroniological order.

Christian

Adi S schrieb am 16.11.21 um 14:37:
> And I am not a member but still receiving these messages
> I’ve unsubscribed already but still getting message.
> When I try to login to the subscription management, it says there is ’no user 
> found with that email'
>

------
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] Messages from non-members

2021-11-16 Thread Christian Buser via Mailman-Users
Mailman 2.1.35 on cPanel version 98.0.12

The list is set to only accept messages from subscribers

Action to take for postings from non-members for which no explicit
action is defined (Details for generic_nonmember_action) is set to "Hold"
   
I receive a notification when someone tries to post using a
non-subscriber address.

The non-member receives this message (message #1):

Your mail to 'Infoline' with the subject

    Test non-member

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

The reason it is being held:

    Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:

   
http://x.ch/mailman/confirm/infoline_mus.ch/d1c110e1babc8c9b34cd40a17c0ab8e0770e8617

I (as the owner of the mailing list receive the notification (message
#2) stating:

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    infol...@x.ch
    From:    macchrist...@x.ch
    Subject: Test non-member
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://mus.ch/mailman/admindb/infoline_mus.ch
   
to approve or deny the request.

One attachment to the notification is a message (message #3) with the
subject
"confirm d1c110e1babc8c9b34cd40a17c0ab8e0770e8617"
which tells me:

If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

Okay, I reply to the message. In earlier times, I got a response that
the message was sent into the Nirvana - or that the user had deleted it
himself using the link he received in message #1

However something seems to be broken now.

- The held message is no longer deleted when I reply to the "confirmation".
- I no longer receive a notification that the message was no longer on hold.
- The message remains in hold, even after the "confirmation" was replied to.

Yes, I can manually "reject" or "discard" the message.

My provider says he has no knowledge about how Mailman on cPanel works,
and I should ask in Mailman-related forums / lists...

Any idea how it can be fixed?

Thank you, Christian 

----------
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: Digest on/off via email

2021-10-20 Thread Mark Dale via Mailman-Users



> On 10/20/21 7:59 PM, Mark Dale via Mailman-Users wrote:
>>
>> Hi,
>>
>> As a list-member I'm unable to turn off digest-mode via email.
>>
>> To: -request@lists.
>> Subject: set digest off
>>
>>
>> Mailman (v 2.1.34) replies with an email (The results of your email 
>> commands) but the digest mode does not get set to "Off".
>>
>>
>> 
>> 
>> The results of your email command are provided below. Attached is your
>> original message.
>>
>> - Results:
>>  Not authenticated 


==

> You have to authenticate before you can set any options. The part of the `set 
> help` you elided contains
> 
>     set authenticate  [address=]
>     To set any of your options, you must include this command first, along
>     with your membership password.  If you're posting from an address
>     other than your membership address, specify your membership address
>     with `address=' (no brackets around the email address, and no
>     quotes!).
> 
> 
> I.e. don't put the commands in the Subject:. In the body put
> 
> set authenticate 
> set digest off
> 
==

Many thanks once again Mark, that did the trick. 

I had indeed glossed over the "set help". It's the "bleedin' obvious" when it's 
pointed out. 


Best,
Mark

--------------
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] Digest on/off via email

2021-10-20 Thread Mark Dale via Mailman-Users


Hi,

As a list-member I'm unable to turn off digest-mode via email.

To: -request@lists.
Subject: set digest off


Mailman (v 2.1.34) replies with an email (The results of your email commands) 
but the digest mode does not get set to "Off".




The results of your email command are provided below. Attached is your
original message.

- Results:
Not authenticated
Usage:

set help
Show this detailed help.

...

set digest plain
set digest mime
set digest off
When the `digest' option is turned off, you will receive postings
immediately when they are posted.  Use `set digest plain' if instead
you want to receive postings bundled into a plain text digest
(i.e. RFC 1153 digest).  Use `set digest mime' if instead you want to
receive postings bundled together into a MIME digest.




There isn't any info in the Mailman error log as to why the digest mode did not 
get turned off, and the only hint I've spotted so far is in the mail log where 
it says: "delivered to command: /var/lib/mailman/mail/mailman request LISTNAME"




Oct 20 21:28:04 sfo postfix/local[30957]: 0C59141796: 
to=<***LISTNAME@list.***DOMAIN>, relay=local, delay=0.44, 
delays=0.38/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: 
/var/lib/mailman/mail/mailman request LISTNAME)


Oct 20 21:28:16 sfo postfix/smtp[30959]: 86BD141796: to=, 
relay=mx01.posteo.de[185.67.36.62]:25, delay=10, delays=0.01/0.01/9/1.3, 
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4HZNy74yvcz11SZ)




I note that sending a request email with the subject as "set show" returns an 
email with the expected result and the mail log also shows "delivered to 
command: /var/lib/mailman/mail/mailman request LISTNAME" -- so I'm guessing 
there isn't a file permissions issue with /var/lib/mailman/mail/mailman.




The results of your email command are provided below. Attached is your
original message.

- Results:
Your current option settings:
ack off
digest plain
delivery on
myposts on
hide off
duplicates off
reminders on

- Done.




Any clues on where I should be looking to get the Digest on/off working via 
email (or if I missed a setting in the list's Administration page) would be 
greatly appreciated.


Thanks,
Mark

----------
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 +0000
+++ 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: 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


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] 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] 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] Re: Viewing bounces from Mailman-generated messages?

2021-10-12 Thread Grant Taylor via Mailman-Users

On 10/12/21 9:30 AM, Jayson Smith wrote:
However, since Sendmail logs don't actually show the full rejection 
message, that's all I know, and it's not enough to go on.


I have seen tell of a patch in the comp.mail.sendmail newsgroup to have 
Sendmail log the full error message (SMTP response).


My understanding is that Sendmail only logs the first line of the SMTP 
reply.  So if there are details in subsequent lines of a multi-line SMTP 
reply, you'll need the patch.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
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] Configuration for lists subscribed to other lists?

2021-10-07 Thread McGuire, Tommy M. (MSFC-IS90)[EAST2] via Mailman-Users
Suppose you have two lists: sou...@example.com and destinat...@example.com and 
that you want destination to be subscribed to source. In addition to making 
destination a member of source (so source sends email to destination), what do 
you need to put as a non-member in destination?

Should it be 'sou...@example.com' or 'source-boun...@example.com'?

Email that source sends out has a from address of "source-bounces@..." but is 
the "-bounces" stripped off before the moderation processing?

Yes, I'm trying to figure out why one particular sub-list isn't getting email.

Thanks!


Tommy M. McGuire
tommy.m.mcgu...@nasa.gov

------
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 Hide List from Public 100%

2021-09-28 Thread Darth Vader via Mailman-Users
Hello,
I created a brand new mailman list on dreamhost.
The list is supposed to be private and not visible online or to the public at 
all.
Currently there are general list info pages, archives, etc.

This is what I need:

testl...@example.org <mailto:testl...@example.org>
When one of the members emails that list, their email gets sent to all the 
members (obviously).
Members cannot see names/email addresses of any members.
When they reply to a message, the reply goes to the sender.
I as the admin can only add/remove members.
There is not supposed to be a web interface for any members.
Nobody can change any of their own settings.
No messages get posted publicly at all. No one on the internet can view them - 
the only way to see them is logged in as admin or in the member’s email 
inboxes. Once again, no propagation/archives/news etc. at all anywhere else.

The goal for this is to be a simple private communications list between members 
(less than 40).

I am new to mailman so I would really appreciate anyone’s help with this.

Thank you

D.V.
--
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] Illegal BOM?

2021-09-03 Thread Christian Buser via Mailman-Users
Hi all

I am using Mailman in a cPanel instalation - Mailman 2.1.33 on  cPanel
98.0.6 - and occasionally receive an error message like the one below:

  addr...@domain.ch
    host mx01.servicehoster.ch [194.191.24.200]
    SMTP error from remote mail server after end of data:
    550 Headers contain illegal byte order mark (BOM)
Reporting-MTA: dns; my.provider.eu

This happened today with  5 (of about 150) subscribers on 2 receiving
servers, but only every few days - not for every message. The message
for which these complaints had been received today have a header line
"X-Mailer: iPhone Mail (18G82)", but I think I have also seen others
before.

So far I could not yet find out why these messages are refused by the
receiving server, it could be a Mailman issue or an issue of the mail
program used by the author of the message.

Any ideas what could be done to prevent these errors?

Thank you,
Christian
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe für Strassenkinder in Ghana: https://www.chance-for-children.org
------
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 Mark Dale via Mailman-Users



 Original Message 
From: Bruce  Johnson via Mailman-Users [mailto:mailman-users@python.org]
Sent: Monday, August 30, 2021, 21:02 UTC
To: mailman-users@python.org
Subject: [Mailman-Users] Mailman + postfix automatically adding aliases


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



The usual thing is to copy and paste that into the /etc/aliases file each time 
you create a list, then run "newaliases" and "postfix reload".

# nano /etc/aliases
# newaliases
# postfix reload


------
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] 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: Web requests with garbage at the end of the list name

2021-08-19 Thread David Gibbs via Mailman-Users

On 8/18/21 3:36 PM, Jon Baron wrote:

I'm pretty sure that this comes from Proofpoint's "URL Defense"
system. 


Ah. OK.


But I don't understand what you mean by "hostile
listname" being "correct".


The listname before the garbage is correct.


 I suggest running all messages through .procmailrc
with this recipe:


The mangled list names are in the web UI, not email.

david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

------
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: Web requests with garbage at the end of the list name

2021-08-19 Thread David Gibbs via Mailman-Users

On 8/18/21 11:34 PM, Stephen J. Turnbull wrote:

Is anyone else seeing requests to their mailman install that look
something like this:

Aug 18 15:10:16 2021 (31166) Hostile listname: 
listname=midrange-l__;!!NVq9dfhzMyHqTw!wLl-dt8zxsuQuoyojs-UYmT_d65WZroClHaYGfHduJ561eT0B7baTQV1ogZzQKRRsw$:
remote=52.34.76.65


What log is that from?  I don't recognize the format.


mischief


  > But I don't understand what you mean by "hostile
  > listname" being "correct".

He means that "midrange-l" is the name of an active list at his site,
I'm pretty sure.


Exactly correct.


host(1) says the source or the request is AWS. :-/

None of this explains why the URL is targeting David's Mailman, unless
it's the Mailman host that is running the Proofpoint.  (It's not your
job ;-), but any further hints would be appreciates.


These requests are coming from an external source. I'm not running 
proofpoint.


Not much I can do about it, I guess.  Good to know the source of the 
requests though.


Not sure what proofpoint is trying to do. They are just getting errors.

Oh well.

Thanks for the info guys.

david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

----------
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] Web requests with garbage at the end of the list name

2021-08-18 Thread David Gibbs via Mailman-Users

Folks:

Is anyone else seeing requests to their mailman install that look 
something like this:


Aug 18 15:10:16 2021 (31166) Hostile listname: 
listname=midrange-l__;!!NVq9dfhzMyHqTw!wLl-dt8zxsuQuoyojs-UYmT_d65WZroClHaYGfHduJ561eT0B7baTQV1ogZzQKRRsw$: 
remote=52.34.76.65


Basically, the list name is correct, but the added "__;!NV..." makes it 
invalid.


The pattern is rather consistent ... "__;!NV" followed by a bunch of 
garbage.


Thanks!

David

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

------
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-17 Thread Christian Buser via Mailman-Users
Hello Jim Dory. On Mon, 16 Aug 2021 21:57:29 -0800, you wrote:

> Great Mark, will try that VERP trick. She is out of the office for 
> the rest of the week so will have to wait and see.
> 
> There's over 1500 subscribers so probably best to search on her 
> corporation's domain - that may return maybe around a couple dozen or 
> so - rather than digest subscribers which are probably a ton.

I am not too sure about this. Here we have some internet providers who use more 
than one domain for their email addresses. You can "freely change" the part 
after the @ sign, and the mails are still delivered. 

The same may apply to corporations who do business under several names, or for 
companies that have been taken over by others.

Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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=E,1,FW9RqlL4xDWSEBzC3uy3bkFn3LCkc1Ye0nH7WCcyKABtHwGpQ76BNMjDvFoM6OKrKsvMU7gqPgEpJ01St79i1zH7v79j9xtJnlHTZXHjITCX1a9JvEw,=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] Re: subscription flood, redux

2021-07-29 Thread David Gibbs via Mailman-Users

On 7/28/21 4:24 PM, Karl Berry wrote:

1) The above mailman-users thread refers to using fail2ban. This sounds
sensible. Does anyone have a a working fail2ban filter they can share
for this? 


I have it setup, but it's not very sophisticated ...

failregex = .*\/\s+-\s+-\s+\[.*\]\s+"POST\s+\/mailman\/subscribe

It's just looking for repeated subscribe attempts.

david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

--
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: Trouble with DMARC on Mailing Lists

2021-07-02 Thread onyeibo via Mailman-Users
Hi Mark

On Friday, July 2nd, 2021 at 5:55 AM, Mark Sapiro  wrote:

>
> The Mailman server is trying to DKIM sign the outgoing mail, but
>
> opendkim on that server is misconfigured. It should have
>
> SenderHeaders List-Post,Sender,From
>
> in it's opendkim.conf so that it signs list mail with the list's domain.
>
> See the MAILING LISTS section near the bottom of
>
> http://www.opendkim.org/opendkim-README
>

Thank you for that.

I was wondering if there is justifcation for OpenARC here.
Is that standard still in use?

Regards
Onyeibo
----------
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: Gmail and DKIM problems

2021-06-30 Thread Grant Taylor via Mailman-Users

On 6/30/21 4:37 PM, Thomas Gramstad wrote:

I understand that he can't do anything about the DKIM setup at gmail.


Nor should he, or anyone else, need to.


Can I as list admin do something in the list setup (Mailman 2.29)?


As others have said, remove incoming DKIM headers from incoming 
messages, and add your own DKIM headers (signature) to outgoing messages.


This is particularly important if you make /any/ changes to the message 
as it passes through the mailing list.


Also, how many subscribers are likely affected by his (or any gmail 
user's) DKIM setup?


It depends on how the sender's domain has configured things; SPF, DKIM, 
DMARC.  Chances are quite good that any sender from a domain using 
contemporary stringent settings will have problems with any recipient 
who has a mail server that honors what the sending domain publishes. 
You have zero control over what the sender's domain does.  You have zero 
control over what the recipient's mail server does.  You only have 
control of what you do with the mailing list.


That is, are most list subscribers receiving his messages anyway, or is 



this problem preventing e-mail from him going to most list subscribers?


I'd say the best that you can hope for is for messages from the mailing 
list to be filed as spam.  The worst, which may be more likely, is that 
the mailing list server develops a bad reputation and ends up blocked by 
one or more recipient domains.


More sending domains are adopting stringent settings.  More receiving 
servers are honoring stringent settings.  It's a multiplicative effect 
as time goes on.  You can either push back or you can update your 
config.  With the multiplicative effect, you will probably need to push 
back more often.


Stop and think for a moment what's actually happening:

1)  The sender's mail server is specifying which server(s) are allowed 
to send email as them and / or apply a cryptographic signature to (part 
of) the message.  They also publish this information so that receiving 
systems can easily consume it.
2)  Receiving systems are using the information that senders publish to 
be able to tell if message are legitimate based on the source and / or 
cryptographic signature.


So, when you (re)send messages from the mailing list as sending domain 
(in the SMTP envelope) you are likely running afoul of SPF.  When you 
modify any (signed) part of the message, you are breaking signatures. 
Thus, recipients see that messages aren't coming from where the sender 
says they should be and that the cryptographic signature is broken. 
Hence the receiving server is naturally treating the message from the 
mailing list as highly suspicious.


To avoid this suspicion:
1)  Send with your own SMTP envelope address (VERP).
2)  Use full personalization.
3)  Remove incoming DKIM signatures.
4)  Add your own outgoing DKIM signature.

I'd suggest updating your config sooner than later.



--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
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: Mailing list limits

2021-06-18 Thread Christian Buser via Mailman-Users
Hi Jessica

Since you have a cPanel installation, go to your cPanal page on the server 
(mosst likely <https://okaj.ch:2083>), scroll down until you find the link for 
"mailing lists" and select it. 

Then just set up a new list by filling in the necessary fields. Of course, you 
have then to configure the detail setup of your list. 

Christian 


Hello jessica.l...@okaj.ch. On Fri, 18 Jun 2021 07:39:44 -, you wrote:
> Dear all
> 
> We (small Swiss NGO) would like to add further mailing lists to our 
> lists on Mailman.
> As soon as we hit http://lists.okaj.ch/mailman/create:, this error 
> message follows: "lscgid: 
> execve():/usr/local/cpanel/3rdparty/mailman/cgi-bin/create: 
> Permission denied“.
> 
> Is there any way to extend the number of lists we have? Thanks for 
> your help, I am still pretty new to this system and don’t yet know 
> all the ins and outs.
> 
> Thanks for your inputs
> Jessica

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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: Problem with the Approved message confirmation

2021-06-06 Thread Raaphael Mankin via Mailman-Users


On 04/06/2021 16:12, Ivan Tejeiro Izquierdo wrote:

To summarize Mark and not drive you crazy, what we need is that the 
person who sends an email to a moderate list, whether or not they 
belong to the list, receive the email that tells them if their post 
has been accepted or rejected.
This is dangerous  if done for  non-members. Consider the case where a 
message is received with spoofed header so that the acknowledgment goes 
to another mailing list or to a  giant mail alias. Remember the NHS 
reply-all storm of a few years back?

--
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: What to do when hosting providers frequently gets listed on an RBL

2021-06-05 Thread Christian Buser via Mailman-Users
Hello Mark Sapiro. On Sat, 5 Jun 2021 12:44:52 -0700, you wrote:

> In the past, Brian Carpenter of EMWD would have responded by now with 
> an offer to support your list and help move it, but tragically, Brian 
> recently died from a COVID virus infection.

This is too bad news - was it mentioned in this list before? 

I would like to express my condolences to his family and to all who knew him! 

I had my 2nd vaccination shot on May 18, so I hope to be relatively safe - but 
you never know. 

Best wishes to all 
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.org
------
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: reCAPTCHA problem with some lists

2021-06-01 Thread David Gibbs via Mailman-Users

On 6/1/21 12:23 PM, David Gibbs wrote:

On 6/1/21 10:40 AM, Stephen J. Turnbull wrote:

  > --
  >    
  >    
  >    

You're missing  here.  I'm pretty sure that is what
accepts the input.  See comment in rendered output below.


Unless I'm missing something, there is no code in Mailman that replaces 
'mm-captcha-ui'.


In Cgi/listinfo.py, there is code that replaces 'mm-recaptcha-ui'

I'm running MM 2.1.29.


I think the mm-captcha-ui token is only used for text based captcha's. 
I'm using recaptcha only.


david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

------
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: reCAPTCHA problem with some lists

2021-06-01 Thread David Gibbs via Mailman-Users

On 6/1/21 10:40 AM, Stephen J. Turnbull wrote:

  > --
  >
  >
  >

You're missing  here.  I'm pretty sure that is what
accepts the input.  See comment in rendered output below.


Unless I'm missing something, there is no code in Mailman that replaces 
'mm-captcha-ui'.


In Cgi/listinfo.py, there is code that replaces 'mm-recaptcha-ui'

I'm running MM 2.1.29.

david

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

------
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: reCAPTCHA problem with some lists

2021-05-31 Thread David Gibbs via Mailman-Users

On 12/3/20 9:02 AM, Brian Carpenter wrote:

Look for the following line on those lists without the reCAPTCHA element:



Add the following two lines right below the above line:




That should reveal reCAPTCHA via the listinfo page for would-be 
subscribers to check when subscribing.


Folks:

Sorry for resurrecting an old thread, but I'm trying to get recaptcha 
working on my site ...


I've got the keys set in my mm_cfg.py file, and have quadruple verified 
that they are correct ... but for some reason I keep getting the error 
"reCAPTCHA validation failed: invalid-input-response" when submitting 
the form.


I'm 99% sure the listinfo.html template is correct.

--
  
  
  
  

  

---

It renders like this:

--
Would you like to receive list mail batched in a daily
  digest?
  
 No
  Yes

  

  
This form requires JavaScript.
https://www.google.com/recaptcha/api.js?hl=en&quot</a>;>

data-sitekey="6LeN3gwTABLV8GkJQlgj4YQC7BYHgDkdJLxZ">



  

	  value="Subscribe">



--

Any suggestions on what I can do to try and diagnose the problem?

Thanks!

David

--
I'm riding in the American Diabetes Association's Tour de Cure to raise 
money for diabetes research, education, advocacy, and awareness.  You 
can make a tax-deductible donation to my ride by visiting 
https://mideml.diabetessucks.net.


You can see where my donations come from by visiting my interactive 
donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).

--------------
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 'The message has no valid senders'

2021-05-19 Thread McGuire, Tommy M. (MSFC-IS90)[EAST2] via Mailman-Users
We recently installed Mailman 3 to replace an existing Mailman 2 installation 
with a large number of lists and users.  I'm now seeing a number of users on 
specific lists whose posts result in:

May 18 14:25:41 2021 (112570) DISCARD: 
; ['The 
message has no valid senders']

The post have sender addresses, which are members or owners of the lists, and 
as far as I can tell, the users are valid. Can anyone shed any light on why a 
post wouldn't have a valid sender?



Tommy M. McGuire
tommy.m.mcgu...@nasa.gov


--
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: Okay, you can call me an idiot now

2021-05-17 Thread Grant Taylor via Mailman-Users

On 5/17/21 11:41 AM, Jayson Smith wrote:

Hi again,


Hi,

Last night I posted a message about Mailman and/or Sendmail failing to 
deliver Emails to a particular address with an upper case first letter. 


Two of you pointed out that the mail was probably stuck in Sendmail's 
outgoing queue, and if it wasn't, the Sendmail logs would show what 
happened to it. Turns out, you were right. Sendmail did not have those 
messages in its outgoing queue, and the logs didn't show what happened 
to them…until I suddenly remembered something, and realized I'd 
been 
making a stupid newbie mistake all along, and I am not a Linux newbie by 
any means!


It happens.

I'd been using Grep to search logs…and I'd forgotten that Grep 
searches, by default, are case sensitive! When I took that into 
account, the nonexistent log entries showing this user's mail going 
out suddenly started existing, wouldn't you know it!


That's why one of my pet phrases is "trust, but verify".  Especially 
when someone else is asking for help / an additional set of eyes on the 
problem.  Trust that your colleague did the proper thing.  But verify it 
yourself.  We all make silly mistakes like this from time to time. 
Don't beat yourself up.


Turns out what's really happening is that all mail from this list is 
going into this user's junk folder. I'm going to ask if he has a 
button/option to declare such mail to not be junk so hopefully this can 



be corrected.


That makes perfect sense.

Aside:  Don't you just love how you have to identify other people's 
problems so that you can convince them that you don't have a problem?



Thanks,


You're welcome.



--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
------
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: MM2/Sendmail failing to send messages to upper case Email addresses?

2021-05-17 Thread Grant Taylor via Mailman-Users

On 5/16/21 8:34 PM, Mark Sapiro wrote:
Why is a sendmail question. Possibly someone on this list knows the 
answer, but a sendmail list might be a better resource.


I give it about a 98% chance that Sendmail still has the message in it's 
queue or that it has bounced it.  (Possibly sending it to an unexpected 
location.)  The mail log should show what Sendmail did with the message.


If it is still in the queue, you can have Sendmail do an interactive 
delivery attempt.  I'd try the following:


   sendmail -v -qI0123456789ABCDEF

Presuming that the message ID in queue is 0123456789ABCDEF.

This should cause Sendmail to try to deliver the message again while 
showing what it's doing on STDOUT.


I think that it's very unlikely that Sendmail is loosing the message. 
It's not impossible, but I'd bet a reasonable lunch that it's less than 
0.1 % of a chance that /Sendmail/ is the reason the message is being lost.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
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] Installation Question: Is a web server necessary ?

2021-04-29 Thread White, Daniel E. (GSFC-770.0)[NICS] via Mailman-Users
Can one use Mailman 3 without it being behind a web service ?

I know the older MM can be managed by emailing commands to it.
Does MM3 work like that as well ?

Thanks.

--
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: Deleting 20,000 pending subscriptions

2021-04-27 Thread nikos via Mailman-Users

Hello.

I attach a program do delete subscription per list. Someone send it to 
me some time ago, when I had the same problem.



On 26/4/2021 1:53 μ.μ., John Elliot V | ProgClub wrote:

Thanks to the advice of Mark Sapiro I have managed to stop the deluge of
subscriptions to my lists, but I am left with the problem of having over
20,000 pending subscriptions awaiting my administration.

What would be great is if there were a command line program I could run
to delete all pending subscription requests, is there such a thing?

Regards,
John Elliot V
#! /usr/bin/python
#
# Copyright (C) 1998-2015 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.

"""Check for pending admin requests and print the results.

Usage: %(PROGRAM)s [options]

Options:

-l /--list=
List requests for the  list.  May be repeated for multiple
lists.  The default is to do all lists.

-v/--verbose
Adds the request ID to the output for each request.

-H/--handle
Lists requests one by one and prompts for a (S)kip, (A)ccept,
(R)eject or (D)iscard response which is then handled immediately.
Optionally, add 'all' to the response to apply it to all remaining
requests of the same type for the current list or reply (Q)uit to
stop after having handled a subset of the requests.

-h/--help
Print this message and exit.

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

import sys
import time
import getopt
from types import UnicodeType

import paths

# Import this after paths so we get Mailman's copy of the email package
from email.Charset import Charset

from Mailman import mm_cfg
from Mailman import Errors
from Mailman import Utils
from Mailman import MailList
from Mailman import Message
from Mailman import i18n
from Mailman.ListAdmin import HELDMSG, SUBSCRIPTION, UNSUBSCRIPTION

NL = '\n'
PROGRAM = sys.argv[0]

_ = i18n._
i18n.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE)
scset = Charset(Utils.GetCharSet(mm_cfg.DEFAULT_SERVER_LANGUAGE))
outcodec = scset.output_codec or 'ascii'

now = time.time()



def usage(code, msg=''):
if code:
fd = sys.stderr
else:
fd = sys.stdout
print >> fd, _(__doc__)
if msg:
print >> fd, msg
sys.exit(code)



def main():
global verbose
try:
opts, args = getopt.getopt(sys.argv[1:], 'l:vHh',
   ['list=', 'verbose', 'handle', 'help'])
except getopt.error, msg:
usage(1, msg)

lists = []
verbose = handle = False
for opt, arg in opts:
if opt in ('-h', '--help'):
usage(0)
if opt in ('-l', '--list'):
lists.append(arg.lower())
if opt in ('-v', '--verbose'):
verbose = True
if opt in ('-H', '--handle'):
handle = True

if args:
usage(1)

if not lists:
lists = Utils.list_names()
for name in lists:
ret = 0
# the list must be locked in order to open the requests database
try:
mlist = MailList.MailList(name)
except Errors.MMUnknownListError:
print >> sys.stderr, '%s: Unknown List' % name
continue
try:
count = mlist.NumRequestsPending()
if count:
i18n.set_language(mlist.preferred_language)
realname = mlist.real_name
reqs = pending_requests(mlist)
print _(
'%(count)d %(realname)s moderator request(s) waiting\n')
changed = 0
alltype = None
for message, id in reqs:
print message
if id and handle:
# Get record type before losing it.
rtype = mlist.GetRecordType(id)
ret = handle_req(mlist, id, alltype)
changed += ret % 100
if ret == 200:
break
if ret >= 100:
alltype = rtype
else:
alltype = None
if changed:
mlist.Save()
finall

<    1   2   3   4   5   6   7   8   9   10   >