[Mailman-Users] Question re. moving a mailing list

2018-09-14 Thread Richard Johnson
I have my original test mailing list "testl...@mischievous.us".  I copied it to 
be "testlist@peacock.place" and then aliased "testlist" on mischievous.us to go 
to "testlist@peacock.place".  This works fine.  My "General Options" has "Munge 
From", so the From address always says "testlist@peacock.place", when 
peacock.place is sending out the messages.  This works fine.

My issue is that the mail sent out says:

From: testlist@peacock.place
To: testl...@mischievous.us
Cc: 

such that when I do a Reply-all, I get a message addressed as:

To: testlist@peacock.place
Cc: testl...@mischievous.us

I notice that I don't seem to receive any duplicate messages.  Perhaps Mailman 
is taking care of that for me, which is great!  I had expected that my 
configuration in /usr/local/mailman/Mailman/mm_cfg.py of:

MTA = 'Postfix'
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
RCPT_BASE64_HEADER_NAME = 'X-My-Recip'
DEFAULT_EMAIL_HOST = 'peacock.place'
DEFAULT_URL_HOST = 'peacock.place'
add_virtualhost('mischievous.us', 'peacock.place')
add_virtualhost('peacock.place', 'peacock.place')
add_virtualhost('www.peacock.place', 'peacock.place')

would have maybe told it that "mischievous.us" is another way of sending to 
this same mailing list and thus it wouldn't include the CC, but maybe I'm 
missing something?

/raj

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


Re: [Mailman-Users] Setting up SSL Virtualhost for Mailman

2018-09-14 Thread Sean Son
On Wed, Sep 12, 2018 at 12:09 PM, Jim Plumb  wrote:

>
>
> -Original Message-
> From: Mailman-Users
> [mailto:mailman-users-bounces+jim=jimplumb@python.org] On Behalf Of
> Sean
> Son
> Sent: Tuesday, September 11, 2018 9:04 PM
> To: Mark Sapiro
> Cc: mailman-users@python.org
> Subject: Re: [Mailman-Users] Setting up SSL Virtualhost for Mailman
>
> On Tue, Sep 11, 2018 at 4:00 PM, Mark Sapiro  wrote:
>
> > On 09/11/2018 11:47 AM, Sean Son wrote:
> > >
> > > Thanks for the reply man. I want to require HTTPS for Mailman and all
> of
> > > its lists. I already have an SSL cert . I am running Apache as the
> > > webserver on RHEL 7.  I took a look at the FAQs on the Mailman site,
> > > regarding setting up SSL. It mentions that a virtual host can be set up
> > for
> > > HTTP to redirect to HTTPS, and a virtualhost can be set up for the
> HTTPS
> > > and mailman configured to only work on HTTPs.  It is the latter part,
> > > setting up the VirtualHost for HTTPS and configuring mailman to work
> only
> > > with HTTPs, which I am lost on.
> >
> > There are multiple ways to do this. It depends on whether you have other
> > virtual hosts and if so, if they should also be able to access mailman.
> >
> > In the simplest case, just put the various things for the mailman config
> > such as
> >
> > ScriptAlias /mailman/ /path/to/mailman/cgi-bin
> > Alias   /pipermail/  /path/to/mailman/archives/public/
> >
> > 
> > Options ExecCGI
> > Require all granted
> > 
> >
> > 
> > Options +FollowSymLinks
> > Require all granted
> > 
> >
> > directly in the mailman https virtual host.
> >
> > --
> > 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
> > https://mail.python.org/mailman/listinfo/mailman-users
> > Mailman FAQ: http://wiki.list.org/x/AgA3
> > Security Policy: http://wiki.list.org/x/QIA9
> > Searchable Archives: http://www.mail-archive.com/
> > mailman-users%40python.org/
> > Unsubscribe: https://mail.python.org/mailman/options/mailman-users/
> > linuxmailinglistsemail%40gmail.com
> >
>
> So i got HTTPS to work on the main site, but now when I access the list
> archives, i see that they are still being accessed through HTTP and not
> HTTPS
>
> So I then ran this command:
>
> $prefix/bin/withlist -l -a -r fix_url
>
> and each of the lists were listed but the word "locked" appeared by each
> one of them.. After the command finished running and I restarted Mailman as
> well as Apache, I still see that the list archives are being accessed
> through HTTP and not HTTPS.  Any ideas on how I should resolve this? What
> does "locked" mean that appeared by each list name:
>
> /usr/lib/mailman/bin/withlist -l -a -r fix_url
> Importing fix_url...
> Running fix_url.fix_url()...
> Loading list list0 (locked)
> Saving list
> Loading list list1 (locked)
> Saving list
> Loading list list2 (locked)
> Saving list
> .
> .
> Finalizing
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/
> mailman-users%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-users/jim%40jimplumb.com
>
> From my experience in recently setting up Mailman with HTTPS you cannot use
> fix_url but instead add this setting to mm_cfg.py:
>
> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
>
>
>
>

Thanks everyone! It worked!!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Question re. moving a mailing list

2018-09-14 Thread Mark Sapiro
On 09/14/2018 09:43 AM, Richard Johnson wrote:
> 
> My issue is that the mail sent out says:
> 
> From: testlist@peacock.place
> To: testl...@mischievous.us
> Cc: 
> 
> such that when I do a Reply-all, I get a message addressed as:
> 
> To: testlist@peacock.place
> Cc: testl...@mischievous.us


Right. Your original message was To: testl...@mischievous.us so when you
reply-all, your MUA includes that address in the recipients of the reply.


> I notice that I don't seem to receive any duplicate messages.  Perhaps 
> Mailman is taking care of that for me, which is great!


Mailman is not doing that. Possibly something is dropping one of the
messages because of the duplicate Message-ID


> I had expected that my configuration in /usr/local/mailman/Mailman/mm_cfg.py 
> of:
> 
> MTA = 'Postfix'
> OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
> RCPT_BASE64_HEADER_NAME = 'X-My-Recip'
> DEFAULT_EMAIL_HOST = 'peacock.place'
> DEFAULT_URL_HOST = 'peacock.place'
> add_virtualhost('mischievous.us', 'peacock.place')
> add_virtualhost('peacock.place', 'peacock.place')
> add_virtualhost('www.peacock.place', 'peacock.place')
> 
> would have maybe told it that "mischievous.us" is another way of sending to 
> this same mailing list and thus it wouldn't include the CC, but maybe I'm 
> missing something?


What tells Mailman that "mischievous.us" is another way of sending to
this same mailing list is putting testl...@mischievous.us in Privacy
options... -> Recipient filters -> acceptable_aliases of the
testlist@peacock.place list.

Your add_virtualhost('mischievous.us', 'peacock.place') and
add_virtualhost('www.peacock.place', 'peacock.place') have nothing to do
with this.

However, as far as I can see, it is not Mailman putting
testl...@mischievous.us in the Cc: of your reply-all. It is your MUA.

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


Re: [Mailman-Users] Question re. moving a mailing list

2018-09-14 Thread Richard Johnson
Ok, it looks as if specifying my "General Options" -> "Host name this list 
prefers for email" as "mischievous.us" will force the From address on all 
outgoing messages to say "testl...@mischievous.us".  Since that matches with 
the original To address, then a Reply-all will not produce two addresses.

I think this will work for me and then when I'm ready to really move totally 
over, I'll just change it.

Thanks for the help!

/raj


> On Sep 14, 2018, at 10:19 AM, Mark Sapiro  wrote:
> 
> On 09/14/2018 09:43 AM, Richard Johnson wrote:
>> 
>> My issue is that the mail sent out says:
>> 
>> From: testlist@peacock.place
>> To: testl...@mischievous.us
>> Cc: 
>> 
>> such that when I do a Reply-all, I get a message addressed as:
>> 
>> To: testlist@peacock.place
>> Cc: testl...@mischievous.us
> 
> 
> Right. Your original message was To: testl...@mischievous.us so when you
> reply-all, your MUA includes that address in the recipients of the reply.
> 
> 
>> I notice that I don't seem to receive any duplicate messages.  Perhaps 
>> Mailman is taking care of that for me, which is great!
> 
> 
> Mailman is not doing that. Possibly something is dropping one of the
> messages because of the duplicate Message-ID
> 
> 
>> I had expected that my configuration in /usr/local/mailman/Mailman/mm_cfg.py 
>> of:
>> 
>> MTA = 'Postfix'
>> OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
>> RCPT_BASE64_HEADER_NAME = 'X-My-Recip'
>> DEFAULT_EMAIL_HOST = 'peacock.place'
>> DEFAULT_URL_HOST = 'peacock.place'
>> add_virtualhost('mischievous.us', 'peacock.place')
>> add_virtualhost('peacock.place', 'peacock.place')
>> add_virtualhost('www.peacock.place', 'peacock.place')
>> 
>> would have maybe told it that "mischievous.us" is another way of sending to 
>> this same mailing list and thus it wouldn't include the CC, but maybe I'm 
>> missing something?
> 
> 
> What tells Mailman that "mischievous.us" is another way of sending to
> this same mailing list is putting testl...@mischievous.us in Privacy
> options... -> Recipient filters -> acceptable_aliases of the
> testlist@peacock.place list.
> 
> Your add_virtualhost('mischievous.us', 'peacock.place') and
> add_virtualhost('www.peacock.place', 'peacock.place') have nothing to do
> with this.
> 
> However, as far as I can see, it is not Mailman putting
> testl...@mischievous.us in the Cc: of your reply-all. It is your MUA.
> 
> -- 
> 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
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/raj%40mischievous.us

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


Re: [Mailman-Users] Spoofed spam problem

2018-09-14 Thread Mark Sapiro
On 09/13/2018 02:45 AM, Clare via Mailman-Users wrote:
> 
> For the time being I've set this address to be moderated. I'm not always
> able to deal with moderation queue promptly so is there something I can do
> to catch these messages before they get through?


If I understand correctly, There is a single spammer posting to the list
by spoofing a member address and there are also legitimate posts from
the member.

If you can identify some constant information in the headers of the spam
posts that isn't in the member's posts, perhaps a domain in a Received:
header, you could make a Privacy options... -> Spam filters ->
header_filter_rules rule to match that and discard the spam.

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