[Mailman-Users] Help with one of Mark's scripts

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

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

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

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

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

And both get the error Non-existent list

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

Usage: ./nonmember_modify.py [options]

Where:

   [snip help text]

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

Non-existent list: Class_of_21_tuc



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

Institutions do not have opinions, merely customs

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


[Mailman-Users] Help with header Approved moderate message

2021-05-27 Thread Ivan Tejeiro Izquierdo
Hi:

Can you change the header "Approved: password" for the approval of moderated 
messages, and change it to another word?

For example, approve moderated messages with the word "OK" and without having 
to specify a password.

Thank you so much.

Regards.
--
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] Help with archive

2021-01-21 Thread sundar
Hello Mark,

I am trying to remove the archives older than 2 years by using the
following python script. But, it works for 365 days only. any other
possibilities to use this script for 2 years.

https://www.msapiro.net/scripts/prune_arch



-- 
Regards,
Sundar
--
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 Topics

2020-10-13 Thread Chip Davis
I'm trying to set up Topics for a Mailman 2.1.33 list I administer, 
and I'm a tad confused.


There appears to be no combination of options to allow a member of a 
list to see _only_ non-topic-specific postings.


If you select one or more topics of interest, you will receive the 
postings under those topics.  You will not receive any 
_topic-specific_ postings that do not match your selections.  
Furthermore, if you have also set "Do you want to receive messages 
that do not match any topic filter?" to 'Yes', you will also receive 
all messages that are _not_ associated with a topic.  Otherwise, you 
will receive _only_ the postings associated with your selected 
topics.  (This appears to function as expected.)


However, if you have not selected any topics, you will receive all 
postings, whether topic-specific or not, regardless the setting of "Do 
you want to receive messages that do not match any topic filter?".


I would like to offer the members of my lists the option of receiving:
  1. All of the postings to the list [All topic categories selected + 
no-match filter=Yes]
  2. Specific topics and all non-topic postings [At least one topic 
category selected + no-match filter=Yes]
  3. Specific topics only [At least one topic category selected + 
no-match filter=No]
  4. Only _non-topic_ postings [No topic categories selected + 
no-match filter=No]


Apparently that is not the heuristic being applied.  If no topic 
categories are selected, the no-match filter setting is ignored (i.e. 
defaults to 'Yes') effectively delivering all listserver traffic to 
that user, and eliminating option 4.  This is "as documented" and 
embarrassingly empirically demonstrated.  :-/


There seems to be no obvious way to say "I want to see only those 
postings that are not topic-specific".


If I put the list's subject_prefix in as the Topic1 regexp (escaped as 
necessary), would the member be able to select it and specify 
'no-match filter=No' to receive _only_ the non-topic-specific 
postings?  (I would test this question myself, but see "embarrassingly 
empirically demonstrated", above.)


If this question has already been addressed in a document somewhere, 
please point me to it.


Thanks!

-Chip-
--
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 Topics

2020-10-13 Thread Chip Davis
[Re-sent after not getting my copy back from the listserver after five 
hours.]


I'm trying to set up Topics for a Mailman 2.1.33 list I administer, 
and I'm a tad confused.


There appears to be no combination of options to allow a member of a 
list to see _only_ non-topic-specific postings.


If you select one or more topics of interest, you will receive the 
postings under those topics.  You will not receive any 
_topic-specific_ postings that do not match your selections.  
Furthermore, if you have also set "Do you want to receive messages 
that do not match any topic filter?" to 'Yes', you will also receive 
all messages that are _not_ associated with a topic.  Otherwise, you 
will receive _only_ the postings associated with your selected 
topics.  (This appears to function as expected.)


However, if you have not selected any topics, you will receive all 
postings, whether topic-specific or not, regardless the setting of "Do 
you want to receive messages that do not match any topic filter?".


I would like to offer the members of my lists the option of receiving:
  1. All of the postings to the list [All topic categories selected + 
no-match filter=Yes]
  2. Specific topics and all non-topic postings [At least one topic 
category selected + no-match filter=Yes]
  3. Specific topics only [At least one topic category selected + 
no-match filter=No]
  4. Only _non-topic_ postings [No topic categories selected + 
no-match filter=No]


Apparently that is not the heuristic being applied.  If no topic 
categories are selected, the no-match filter setting is ignored (i.e. 
defaults to 'Yes') effectively delivering all listserver traffic to 
that user, and eliminating option 4.  This is "as documented" and 
embarrassingly empirically demonstrated.  :-/


There seems to be no obvious way to say "I want to see only those 
postings that are not topic-specific".


If I put the list's subject_prefix in as the Topic1 regexp (escaped as 
necessary), would the member be able to select it and specify 
'no-match filter=No' to receive _only_ the non-topic-specific 
postings?  (I would test this question myself, but see "embarrassingly 
empirically demonstrated", above.)


If this question has already been addressed in a document somewhere, 
please point me to it.


Thanks!

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


Re: [Mailman-Users] help

2019-08-09 Thread Mark J Bradakis via Mailman-Users



Mailman FAQ: http://wiki.list.org/x/AgA3


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


[Mailman-Users] help

2019-08-09 Thread Mark Graves
help

--
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] Help needed using postfix as an outbound gateway for Mailman

2018-11-19 Thread David Gibbs

On 11/15/2018 10:17 AM, David Gibbs wrote:

And, yes, I know that I could use postfix as both the inbound &
outbound mail server ... which I probably should do, but I'm far more
familiar with using sendmail and have it setup & working fine on my
current list server.


I decided to bite the bullet and switch to postfix for inbound & outbound mail.

david

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

I'm riding 615 miles (Yes, you read that right) 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://gmane.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://gmane.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
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] Help needed using postfix as an outbound gateway for Mailman

2018-11-15 Thread Mark Sapiro
On 11/15/18 8:17 AM, David Gibbs wrote:
> 
> The problem is, I'm seeing this in my mail log...
> 
> Nov 15 15:41:43 lists postfix/smtp[18136]: AA76A61E61:
> to=, relay=none, delay=0.01,
> delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for localhost loops back
> to myself)
> 
> It _appears_ that postfix thinks it's the mail server for
> lists.atestdomain.net and can't deliver the mail because it doesn't know
> how to deliver the message.


Exactly. Postfix thinks it is the delivery agent for all mail to any of
the domains in mydestination which includes localhost.


> Here's my current setup:
...
> master.cf
> 24  inet  n   -   n   -   -   smtpd

Is that all of master.cf? If there is an entry

smtp  inet  n   -   y   -   -   smtpd

you might try removing that, or remove the 'localhost' entries from
mydestination.


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


[Mailman-Users] Help needed using postfix as an outbound gateway for Mailman

2018-11-15 Thread David Gibbs

Folks:

I need some help diagnosing a problem using postfix as my outbound mail server 
with Mailman.

Up front I want to say, I have this working FINE with my current mailman list 
server.  I'm in the process of moving my list server to an AWS lightsail 
instance.

And, yes, I know that I could use postfix as both the inbound & outbound mail 
server ... which I probably should do, but I'm far more familiar with using sendmail 
and have it setup & working fine on my current list server.

I've got just about everything setup and working fine.

The problem is, I'm seeing this in my mail log...

Nov 15 15:41:43 lists postfix/smtp[18136]: AA76A61E61: 
to=, relay=none, delay=0.01, 
delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for localhost loops back to myself)

It _appears_ that postfix thinks it's the mail server for lists.atestdomain.net 
and can't deliver the mail because it doesn't know how to deliver the message.

Here's my current setup:

I have sendmail listening on the public SMTP ports on the server. I have postfix 
listening on localhost:24. Mailman is configured with the SMTPHOST & SMTPPORT set 
to localhost & 24.

So mail is received by sendmail, sent to & processed by Mailman, and Mailman 
sends the mail out by connecting to postfix on localhost:24.

The list mail is being delivered fine ... but bounces are not getting processed 
correctly.

I have the domain lists.atestdomain.net listed in the transport map indicating 
that mail for that domain should be sent to localhost:25.

You can see a relatively complete log fragment at 
https://code.midrange.com/e665e40f93.html

Here's (what I think are) the relevant postfix config file entries ...

main.cf:

myhostname = listmail.arealdomain.com
mydomain = $myhostname
myorigin = $mydomain
inet_interfaces = localhost
mydestination = $myhostname, localhost.$mydomain, localhost
transport_maps = hash:/etc/postfix/transport

transport:
lists.atestdomain.net smtp:localhost:25
listmail.arealdomain.com smtp:localhost:25

master.cf
24  inet  n   -   n   -   -   smtpd

Any suggestions on what to look at?

david

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

I'm riding 615 miles (Yes, you read that right) 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://gmane.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation 
map ... https://gmane.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
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] help setting up mailman

2018-09-19 Thread Ryan McClung
Hi Matthew,

I would strongly suggest having your own local storage space for this.
However, I would recommend reading the documentation pertaining to system
requirements before proceeding.

On Wed, Sep 19, 2018 at 11:26 AM Matthew Draft  wrote:

> Hi,
> I'm new to mailman and could use some advise as far as setting up a new
> listserv.  Do I need to rent server space to hold the list data?
>
> Matt
> --
> 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/rmcclung%40afilias.info
>


-- 

Ryan McClung
Systems Administrator @ Afilias Canada
A.  204-4141 Yonge Street, Toronto, ON, Canada, M2P 2A8

W. www.afilias.info
T.  +1.416.646.3304 x4186
--
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] help setting up mailman

2018-09-19 Thread Jim Popovitch via Mailman-Users
On Tue, 2018-09-18 at 08:47 -0400, Matthew Draft wrote:
> Hi,
> I'm new to mailman and could use some advise as far as setting up a
> new listserv.  Do I need to rent server space to hold the list data?

Hi,

If you don't want to rent a server and install and maintain mailman, you
can find a list of Mailman hosting services here:

https://wiki.list.org/COM/Mailman%20hosting%20services


-Jim P.
--
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] help setting up mailman

2018-09-19 Thread Carl Zwanzig

Hello,

On 9/18/2018 5:47 AM, Matthew Draft wrote:

I'm new to mailman and could use some advise as far as setting up a new
listserv.  Do I need to rent server space to hold the list data?


It depends You can hire a setup from some ISPs which are ready to go, 
otherwise, you need a system to run mailman; that could be a VM, 
amazon-hosted instance, or a standalone machine. Have you looked at the 
mailman FAQ? (link in the message footer)


Also, 'listserv' is a name/trademark for a different mailing list manager (MLM).

Later,

z!
--
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] help setting up mailman

2018-09-19 Thread Keith Seyffarth
Matthew Draft  writes:

> Hi,
> I'm new to mailman and could use some advise as far as setting up a new
> listserv.  Do I need to rent server space to hold the list data?

Probably. You will need some form of hosting or you will need a
dedicated IP and your own server that you can manage and keep up all the
time. Getting set up with hosting is probably easier. Many web hosting
providers include Mailman as a part of their package, which may make
this even easier.

Do you currently have a web site and a domain that this mailing list
would be relevant to?

Keith

-- 

from my mac to yours...

Keith Seyffarth
mailto:w...@weif.net
http://www.weif.net/ - Home of the First Tank Guide!
http://www.rpgcalendar.net/ - the Montana Role-Playing Calendar

http://www.miscon.org/ - Montana's Longest Running Science Fiction Convention
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] help setting up mailman

2018-09-19 Thread Matthew Draft
Hi,
I'm new to mailman and could use some advise as far as setting up a new
listserv.  Do I need to rent server space to hold the list data?

Matt
--
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] Help with mailman instance in broken state

2018-05-15 Thread Mark Sapiro
On 5/15/18 10:27 AM, Kevin Bowen wrote:
> 
>> What's in the various mailman/qfiles/* queues.
> 
> I don't seem to have that directory? I'm running v2.1.9 on RHEL5, do you
> know where it would be located?


In RHEL, it's /var/spool/mailman/ (see ).



>> What's in Mailman's locks directory? See > .
> 
> Ok, now this is interesting: there are 6 files in /var/lock/mailman named
> .lock.announce.ucsd.edu..0 They have timestamps between 3
> and 4 in the morning, which is probably around the time the issue cleared
> up. Looking in /var/log/mailman/locks I see, starting right around the time
> the problem started yesterday, a bunch of stack traces with
> ".lock lifetime has expired, breaking" and ".lock
> unexpected linkcount: -1"


So the issue was a locked list. See 
for more on locks, but those file names are  if the form
.lock... so what yo call 'digits' is the
pid of the process waiting on the lock. If there is no file named just
.lock, the list isn't locked and all the other
.lock.* files are orphans and their pids are probably gone, so
just remove them.

Actually, when these files are created, they are created with a time
stamp in the future which represents the expiration of the lock lifetime
so that probably is when the list was no longer locked and things
cleared up.

As far as what caused it, that's hard to say, but one strong possibility
is there was an interaction with the list's admin or admindb UI that was
timed out by the web server and left the list locked.


> Also, I notice that in /var/lib/mailman/data, there are currently 4 files
> called heldmsg--.pck, although the admin interface says
> there are currently no messages being held for moderation. Does that mean
> anything?


Those are orphaned held messages, probably orphaned when you deleted and
recreated the list. You can look at them with Mailman's bin/dumpdb and
if you want them, you can reprocess them with the script at



-- 
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] Help with mailman instance in broken state

2018-05-15 Thread Kevin Bowen
So the issue seems to have resolved itself over night - there's no longer a
qrunner process taking 99% cpu, the list's admin interface is accessible,
and it's no longer rewriting its config.pck every few seconds, so I think
that means the list is now fine (although there hasn't yet been any traffic
through it so I'm not 100% sure). Even if resolved, I'd like to figure out
what happened so it doesn't happen again. To answer your questions:

>Which runner?

I remember the process had qrunner in its command line, but since it's gone
now I can't tell you in any more detail.

>What's in the various mailman/qfiles/* queues.

I don't seem to have that directory? I'm running v2.1.9 on RHEL5, do you
know where it would be located?

>What's in Mailman's logs?

The only thing relvant-seeming we were able to find in the logs was a
mention in vette that a message was being held for moderation, and then a
bunch of bounce-processing.

>What's in Mailman's locks directory? See .

Ok, now this is interesting: there are 6 files in /var/lock/mailman named
.lock.announce.ucsd.edu..0 They have timestamps between 3
and 4 in the morning, which is probably around the time the issue cleared
up. Looking in /var/log/mailman/locks I see, starting right around the time
the problem started yesterday, a bunch of stack traces with
".lock lifetime has expired, breaking" and ".lock
unexpected linkcount: -1"

Also, I notice that in /var/lib/mailman/data, there are currently 4 files
called heldmsg--.pck, although the admin interface says
there are currently no messages being held for moderation. Does that mean
anything?

Kevin Bowen
UCSD ITS UBPS
ke...@ucsd.edu

On Tue, May 15, 2018 at 5:59 AM, Mark Sapiro  wrote:

> On 5/14/18 7:26 PM, Kevin Bowen wrote:
> > When I look in
> > /var/lib/mailman/lists/,
> > I can see that mailman is continually rewriting config.pck every few
> > seconds.
>
>
> I think the "duplicate" post I rejected mentioned a qrunner at 99% cpu.
>
> Which runner? What's in the various mailman/qfiles/* queues.
>
> What's in Mailman's logs?
>
> What's in Mailman's locks directory? See  >.
>
> --
> 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/
> kevin.t.bowen%40gmail.com
>
--
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] Help with mailman instance in broken state

2018-05-15 Thread Mark Sapiro
On 5/14/18 7:26 PM, Kevin Bowen wrote:
> When I look in
> /var/lib/mailman/lists/,
> I can see that mailman is continually rewriting config.pck every few
> seconds.


I think the "duplicate" post I rejected mentioned a qrunner at 99% cpu.

Which runner? What's in the various mailman/qfiles/* queues.

What's in Mailman's logs?

What's in Mailman's locks directory? See .

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


[Mailman-Users] Help with mailman instance in broken state

2018-05-15 Thread Kevin Bowen
My mailman instance (2.1.9) has gotten into a funky broken state where one
of my lists has become inoperable, with a message which should be awaiting
moderation, but the moderator never got notified. The list's config appears
to be corrupt - attempting to load the admin web interface results in a
timeouts (the archive and basic listinfo pages still work, and the admin
interface for all other lists work). When I look in
/var/lib/mailman/lists/,
I can see that mailman is continually rewriting config.pck every few
seconds.

I attempted to fix the issue by restoring the contents of
/var/lib/mailman/lists/ from the previous day's backup, and that
got the config into a working state such that it was possible to load the
web admin interface for the list, but as soon as I started back up the
mailman service, it got right back into the same broken state.

Next I tried deleting the list with rmlist, then recreating it and
importing its config and membership with config_list and sync_members, but
again, as soon as I restart the mailman service, it gets right back into
the same broken state.

Any ideas how to fix this?

Kevin Bowen
UCSD ITS UBPS
ke...@ucsd.edu
--
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] Help - Subscribe/unsubscribe broken

2018-03-27 Thread Mark Sapiro
On 03/27/2018 07:01 AM, Jeff Polasek via Mailman-Users wrote:
> Howdy,
> I recently updated from mailman 2.1.? to 2.1.26.  After this update users can 
> not subscribe or unsubscribe.  Here is the error from the mailman log.  Any 
> ideas what I need to fix?  It may be a database problem?
> Thanks
> Jeff
> 
> Mar 27 08:57:49 2018 admin(21493): 
>  
> 
> admin(21493): [- Mailman Version: 2.1.26 -] 
> 
> admin(21493): [- Traceback --] 
> 
> admin(21493): Traceback (most recent call last):
> 
> admin(21493):   File "/var/lib/mailman/scripts/driver", line 117, in run_main
> 
> admin(21493):     main()
> 
> admin(21493):   File "/var/lib/mailman/Mailman/Cgi/subscribe.py", line 113, 
> in main
> 
> admin(21493):     process_form(mlist, doc, cgidata, language)
> 
> admin(21493):   File "/var/lib/mailman/Mailman/Cgi/subscribe.py", line 248, 
> in process_form
> 
> admin(21493):     mlist.AddMember(userdesc, remote)
> 
> admin(21493):   File "/var/lib/mailman/Mailman/MailList.py", line 923, in 
> AddMember
> 
> admin(21493):     cookie = self.pend_new(Pending.SUBSCRIPTION, userdesc)
> 
> admin(21493):   File "/var/lib/mailman/Mailman/Pending.py", line 85, in 
> pend_new
> 
> admin(21493):     evictions = db.setdefault('evictions', {})
> 
> admin(21493): AttributeError: Message instance has no attribute 'setdefault'


This is very strange. It is saying that in the statement

evictions = db.setdefault('evictions', {})

in Pending.py, db is a Message object. I think the only way this could
happen is if the lists/LISTNAME/pending.pck file is a pickled Message
object rather than a pending database. How that would happen, I don't know.

You could dump this file with Mailman's bin/dumpdb and see what it is,
but the simple fix is just remove the file.

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


[Mailman-Users] Help - Subscribe/unsubscribe broken

2018-03-27 Thread Jeff Polasek via Mailman-Users
Howdy,
I recently updated from mailman 2.1.? to 2.1.26.  After this update users can 
not subscribe or unsubscribe.  Here is the error from the mailman log.  Any 
ideas what I need to fix?  It may be a database problem?
Thanks
Jeff

Mar 27 08:57:49 2018 admin(21493):  

admin(21493): [- Mailman Version: 2.1.26 -] 

admin(21493): [- Traceback --] 

admin(21493): Traceback (most recent call last):

admin(21493):   File "/var/lib/mailman/scripts/driver", line 117, in run_main

admin(21493):     main()

admin(21493):   File "/var/lib/mailman/Mailman/Cgi/subscribe.py", line 113, in 
main

admin(21493):     process_form(mlist, doc, cgidata, language)

admin(21493):   File "/var/lib/mailman/Mailman/Cgi/subscribe.py", line 248, in 
process_form

admin(21493):     mlist.AddMember(userdesc, remote)

admin(21493):   File "/var/lib/mailman/Mailman/MailList.py", line 923, in 
AddMember

admin(21493):     cookie = self.pend_new(Pending.SUBSCRIPTION, userdesc)

admin(21493):   File "/var/lib/mailman/Mailman/Pending.py", line 85, in pend_new

admin(21493):     evictions = db.setdefault('evictions', {})

admin(21493): AttributeError: Message instance has no attribute 'setdefault'

admin(21493): [- Python Information -] 

admin(21493): sys.version     =   2.7.12 (default, Dec  4 2017, 14:50:18) 

[GCC 5.4.0 20160609] 

admin(21493): sys.executable  =   /usr/bin/python 

admin(21493): sys.prefix      =   /usr 

admin(21493): sys.exec_prefix =   /usr 

admin(21493): sys.path        =   ['/var/lib/mailman/pythonlib', 
'/var/lib/mailman', '/usr/lib/mailman/scripts', '/var/lib/mailman', 
'/usr/lib/python2.7/', '/usr/lib/python2.7/plat-x86_64-linux-gnu', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', 
'/usr/lib/python2.7/dist-packages'] 

admin(21493): sys.platform    =   linux2 

admin(21493): [- Environment Variables -] 

admin(21493):  CONTENT_LENGTH: 97 

admin(21493):  CONTENT_TYPE: application/x-www-form-urlencoded 

admin(21493):  HTTP_COOKIE: 
mml+admin=28020069254aba5a73280030306232313361323236663763306465363935393631613539633061313537633030623963303764;
 ajs_anonymous_id=%22d8f8ca92-1109-40e3-9415-0fd09ac14d87%22; 
_ga=GA1.2.4794311.1490733873; ajs_user_id=null; 
__utmz=194481448.1521488781.5.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided);
 ajs_group_id=%223ff0c525-2764-40c1-9653-b402a1c34211%22; 
_hp2_id.4205778290=%7B%22userId%22%3A%222302352706526137%22%2C%22pageviewId%22%3A%225888385097105288%22%2C%22sessionId%22%3A%228880360585997038%22%2C%22identity%22%3Anull%2C%22trackerVersion%22%3A%223.0%22%7D;
 __utmc=194481448; _gid=GA1.2.1014496654.1522088903; 
__utma=194481448.4794311.1490733873.1522089078.1522096859.8 

admin(21493):  SERVER_NAME: mopar.tamu.edu 

admin(21493):  SERVER_PROTOCOL: HTTP/1.1 

admin(21493):  PYTHONPATH: /var/lib/mailman 

admin(21493):  REMOTE_ADDR: 128.194.139.52 

admin(21493):  REQUEST_SCHEME: http 

admin(21493):  SCRIPT_NAME: /mailman/subscribe 

admin(21493):  REQUEST_METHOD: POST 

admin(21493):  HTTP_HOST: mopar.tamu.edu 

admin(21493):  PATH_INFO: /mml 

admin(21493):  SERVER_PORT: 80 

admin(21493):  REMOTE_PORT: 57518 

admin(21493):  QUERY_STRING:  

admin(21493):  REQUEST_URI: /mailman/subscribe/mml 

admin(21493):  DOCUMENT_ROOT: /var/www/html 

--
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] HELP! Just broke Mailman with a bogus list.

2018-03-08 Thread The Mailing List Server Admin

Mark Sapiro recently wrote...


I would be interested in knowing what's wrong and how it
happened. Unfortunately, this issue probably prevents even
running withlist on this list. I.e., Mailman's 'bin/withlist
LISTNAME' will probably throw the same error.


It does.  I did try compiling the original configuration file I
used to create the list and there were no syntax errors.  But
then I would expect a config file with syntax errors not to be
accepted when creating a new list.


To "fix" the problem just move the lists/LISTNAME directory
containing the config.pck and perhaps a few other files out of
the lists/ directory.


That worked and was my first instinct, but I didn't know if that
might cause other issues -- having a list directory that Mailman
was 'expecting' to suddenly be gone.  In any case, moving the
list's own subdirectory out of `~mailman/lists` directory got the
`list_lists` command line and `mailman/listinfo` web page working
again.

So the good news is that it was definitely this new list that
threw a spanner into the machinery, and not some other mysterious
event.

Thanks for the fix.  The files you requested are on the way.

--
  Cordially,
  the UNH Mailing List Server Admins
  Bill Costa, Adjunct Admin
  (603) 862-3056
--
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] HELP! Just broke Mailman with a bogus list.

2018-03-07 Thread Mark Sapiro
On 03/07/2018 10:31 AM, The Mailing List Server Admin wrote:
> I just added a new list where I wanted to experiment with the
> topics feature.  But after adding the list, the list_lists
> utility no longer works:
> 
>> Traceback (most recent call last):
>>   File "/home/mladmin/Util/MM2/list_lists", line 130, in 
>>     main()
>>   File "/home/mladmin/Util/MM2/list_lists", line 100, in main
>>     mlist = MailList.MailList(n, lock=0)
>>   File "/usr/local/mailman/Mailman/MailList.py", line 131, in
>>   __init__
>>     self.Load()
>>   File "/usr/local/mailman/Mailman/MailList.py", line 698, in
>>   Load
>>     self.CheckValues()
>>   File "/usr/local/mailman/Mailman/MailList.py", line 780, in
>>   CheckValues
>>     for name, pattern, desc, emptyflag in self.topics:
>> ValueError: too many values to unpack


It is not clear what went wrong or how or why, but there is bad data in
this list's topics attribute.

To "fix" the problem just move the lists/LISTNAME directory containing
the config.pck and perhaps a few other files out of the lists/ directory.

However, I would be interested in knowing what's wrong and how it
happened. Unfortunately, this issue probably prevents even running
withlist on this list. I.e., Mailman's 'bin/withlist LISTNAME' will
probably throw the same error.

You could help me however by sending me off list the
lists/LISTNAME/config.pck and lists/LISTNAME/config.pck.last files, and
also, if you can recall, telling what you entered in the list's topics
that precipitated this.

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


[Mailman-Users] HELP! Just broke Mailman with a bogus list.

2018-03-07 Thread The Mailing List Server Admin

I just added a new list where I wanted to experiment with the
topics feature.  But after adding the list, the list_lists
utility no longer works:


Traceback (most recent call last):
  File "/home/mladmin/Util/MM2/list_lists", line 130, in 
main()
  File "/home/mladmin/Util/MM2/list_lists", line 100, in main
mlist = MailList.MailList(n, lock=0)
  File "/usr/local/mailman/Mailman/MailList.py", line 131, in
  __init__
self.Load()
  File "/usr/local/mailman/Mailman/MailList.py", line 698, in
  Load
self.CheckValues()
  File "/usr/local/mailman/Mailman/MailList.py", line 780, in
  CheckValues
for name, pattern, desc, emptyflag in self.topics:
ValueError: too many values to unpack


And when I tried to delete the list, I got a similar error:


$ ~mailman/bin/rmlist test.list.topics
Not removing archives.  Reinvoke with -a to remove them.
Traceback (most recent call last):
  File "/usr/local/mailman/bin/rmlist", line 161, in 
main()
  File "/usr/local/mailman/bin/rmlist", line 116, in main
mlist = MailList.MailList(listname, lock=0)
  File "/usr/local/mailman/Mailman/MailList.py", line 131, in
__init__
self.Load()
  File "/usr/local/mailman/Mailman/MailList.py", line 698, in
Load
self.CheckValues()
  File "/usr/local/mailman/Mailman/MailList.py", line 780, in
CheckValues
for name, pattern, desc, emptyflag in self.topics:
ValueError: too many values to unpack


I am assuming it is this last list that I added that is causing
the problem.  How can I back this out without using the rmlist
utility?

Using Mailman version: 2.1.20

--
  Cordially,
  the UNH Mailing List Server Admins
  Bill Costa, Adjunct Admin
  (603) 862-3056
--
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] Help with installation

2016-02-25 Thread Mark Sapiro
On 02/24/2016 08:52 AM, Ibrahim Jarif wrote:
> 
> I'm to setup mailman as per this link
> http://wiki.list.org/HyperKitty/DevelopmentSetupGuide


We are working on setting up mailman-users at mailman3.org (running on
MM 3 of course), but we're not quite there yet.



In the mean time the best list for Mailman 3 and particularly
HyperKitty, Postorius and MailmanBundler issues is
mailman-develop...@python.org or you can try the #mailman IRC channel on
freenode.

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


[Mailman-Users] Help with installation

2016-02-25 Thread Ibrahim Jarif
Hi,
I'm Ibrahim !

I'm to setup mailman as per this link
http://wiki.list.org/HyperKitty/DevelopmentSetupGuide

The documentation asks to setup hyperkitty using this link
https://hyperkitty.readthedocs.org/en/latest/development.html. At the
'Setting up the databases' step running

django-admin migrate --pythonpath hyperkitty_standalone --settings settings

throws importError. Refer the attachment.

I'd really appreciate if someone could help me out.
Thank you.

Regards,
Ibrahim Jarif
--
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] help with error on start

2015-05-27 Thread Mark Sapiro
On 05/26/2015 08:56 PM, Ricardo Santos wrote:
 Download from http://ftp.gnu.org/gnu/mailman/mailman-2.1.20.tgz; but have
 error again:
 
 # /var/lib/mailman/bin/newlist
 
 Traceback (most recent call last):
 
...
   File /usr/lib/python2.6/site-packages/dns/message.py, line 191
 
 print('id %d' % self.id, file=s)
 
  ^
 
 SyntaxError: invalid syntax


It appears you have installed a Python 3 versipn of dnspython in Python 2.6

-- 
Mark Sapiro m...@msapiro.netThe 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] help with error on start

2015-05-26 Thread Ricardo Santos
Download from http://ftp.gnu.org/gnu/mailman/mailman-2.1.20.tgz; but have
error again:

# /var/lib/mailman/bin/newlist

Traceback (most recent call last):

  File /var/lib/mailman/bin/newlist, line 108, in module

from Mailman import MailList

  File /var/lib/mailman/Mailman/MailList.py, line 45, in module

from Mailman import Utils

  File /var/lib/mailman/Mailman/Utils.py, line 75, in module

import dns.resolver

  File /usr/lib/python2.6/site-packages/dns/resolver.py, line 35, in
module

import dns.message

  File /usr/lib/python2.6/site-packages/dns/message.py, line 191

print('id %d' % self.id, file=s)

 ^

SyntaxError: invalid syntax

2015-05-19 0:30 GMT-04:00 Mark Sapiro m...@msapiro.net:

 On 05/18/2015 05:32 AM, Ricardo Santos wrote:
  Thanks Mark for you answer. I installed from a tutorial with this command
  (Centos 6.6)
 
  yum --enablerepo=remi install mailman  (Ver 3:2.1.12-18.el6 )


 OK, but the /usr/lib/mailman/Mailman/i18n.py file in your installed
 Mailman doesn't look like the one distributed by GNU Mailman nor does it
 look like the one from RHEL 5 that I happen to have.

 So either something went wrong with your package install, or you will
 have to pursue this with Red Hat/Centos.

 Or, you could try downliading i18n.py from
 
 http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/i18n.py
 
 and replacing yours with that. That will probably get you past the
 current issue, but there may be other things wrong.

 --
 Mark Sapiro m...@msapiro.netThe 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/ericardosantos%40gmail.com

--
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] help with error on start

2015-05-18 Thread Ricardo Santos
Thanks Mark for you answer. I installed from a tutorial with this command
(Centos 6.6)

 yum --enablerepo=remi install mailman  (Ver 3:2.1.12-18.el6 )



2015-05-17 11:54 GMT-04:00 Mark Sapiro m...@msapiro.net:

 On 05/16/2015 06:55 PM, Ricardo Santos wrote:
  I installed mailman and have those message:
 
  /usr/lib/mailman/bin/check_db --all --verbose
 
  Traceback (most recent call last):
 ...
File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line 37, in
 module
 
  from Mailman.i18n import _
 
File /usr/lib/mailman/Mailman/i18n.py, line 36, in module
 
  _ctype_charset = _get_ctype_charset()


 Something is wrong here. The Mailman/i18n.py distributed by the GNU
 Mailman project does not anything like the above line.

 How did you install Mailman? Where did /usr/lib/mailman/Mailman/i18n.py
 come from? If this is a 'package', see http://wiki.list.org/x/12812344.

 --
 Mark Sapiro m...@msapiro.netThe 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/ericardosantos%40gmail.com

--
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] help with error on start

2015-05-18 Thread Mark Sapiro
On 05/18/2015 05:32 AM, Ricardo Santos wrote:
 Thanks Mark for you answer. I installed from a tutorial with this command
 (Centos 6.6)
 
 yum --enablerepo=remi install mailman  (Ver 3:2.1.12-18.el6 )


OK, but the /usr/lib/mailman/Mailman/i18n.py file in your installed
Mailman doesn't look like the one distributed by GNU Mailman nor does it
look like the one from RHEL 5 that I happen to have.

So either something went wrong with your package install, or you will
have to pursue this with Red Hat/Centos.

Or, you could try downliading i18n.py from
http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/i18n.py
and replacing yours with that. That will probably get you past the
current issue, but there may be other things wrong.

-- 
Mark Sapiro m...@msapiro.netThe 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


[Mailman-Users] help with error on start

2015-05-17 Thread Ricardo Santos
I installed mailman and have those message:

/usr/lib/mailman/bin/check_db --all --verbose

Traceback (most recent call last):

  File /usr/lib/mailman/bin/check_db, line 61, in module

from Mailman.MailList import MailList

  File /usr/lib/mailman/Mailman/MailList.py, line 51, in module

from Mailman.Archiver import Archiver

  File /usr/lib/mailman/Mailman/Archiver/__init__.py, line 17, in module

from Archiver import *

  File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line 37, in module

from Mailman.i18n import _

  File /usr/lib/mailman/Mailman/i18n.py, line 36, in module

_ctype_charset = _get_ctype_charset()

  File /usr/lib/mailman/Mailman/i18n.py, line 31, in _get_ctype_charset

old = locale.setlocale(locale.LC_CTYPE, '')

  File /usr/lib/python2.6/locale.py, line 513, in setlocale

return _setlocale(category, locale)

locale.Error: unsupported locale setting


Service is stopped. It can not start anyway. Some help please?
--
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] help with error on start

2015-05-17 Thread Mark Sapiro
On 05/16/2015 06:55 PM, Ricardo Santos wrote:
 I installed mailman and have those message:
 
 /usr/lib/mailman/bin/check_db --all --verbose
 
 Traceback (most recent call last):
...
   File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line 37, in module
 
 from Mailman.i18n import _
 
   File /usr/lib/mailman/Mailman/i18n.py, line 36, in module
 
 _ctype_charset = _get_ctype_charset()


Something is wrong here. The Mailman/i18n.py distributed by the GNU
Mailman project does not anything like the above line.

How did you install Mailman? Where did /usr/lib/mailman/Mailman/i18n.py
come from? If this is a 'package', see http://wiki.list.org/x/12812344.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help with ONE broken list (Mailman 2.1.9) - part 2

2015-05-07 Thread Drew Tenenholz
At 3:09 PM -0700 5/5/15, Mark Sapiro wrote:
I'm a bit confused, but I think I understand. You say this is Mailman
2.1.9, but the above traceback says
/usr/lib/mailman/Mailman/Gui/Privacy.py defines a list attribute
dmarc_quarantine_moderation_action which didn't exist before 2.1.18.

My best guess is something backported the DMARC mitigations into your
Mailman 2.1.9 and also included code in Mailman/versions.py to update
older lists, but whether or not a list gets updated by this process
depends on the list's data_version being less than the DATA_FILE_VERSION
defined in Mailman/Version.py.

So, still guessing but, the backport incremented DATA_FILE_VERSION so
all the existing lists got updated except the list that came from the
2.1.14 Mailman that already had a data_version = the new DATA_FILE_VERSION.

To fix this, do the following:

bin/withlist -l problem_list_name
(responses from withlist ending with prompt)
 m.data_version = 1
 m.Save()
 - control-D here to exit

If I am correct, that will fix the problem, and If it is something else,
no harm will be done.

Mark --

Thanks for the suggestion.  I did try it, and it actually did make things 
worse, though I've been able to get back to the previous (yet still broken) 
state. 

It appears to me that something within 
/lib/mailman/lists/problem-list/config.pck is the problem child.  I'd be happy 
to remove and re-create the list with good settings.  But I _must_ have the 
subscribers including their bounce status, digest-status, the real-names 
they've entered through the Mailman confirmation page, etc.etc.  Is there a way 
to do this in Mailman 2.1.9?  (Remembering that I have a working version of the 
list on a restored snapshot of the server, where everthing actually does work.)

I say this based on the results of applying the change Mark suggested, and 
recovering from the troubles it caused.  Sorry to include all the gory details 
below, and thanks to anyone who is brave enough to read to the end

Thanks Again,
Drew Tenenholz


Before applying the change Mark suggested, I thought I'd at least capture what 
/Mailman.Versions.py actually says:

[root]# more /usr/lib/mailman/Mailman/Version.py

# Copyright (C) 1998-2006 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.

# Mailman version
VERSION = 2.1.9

# And as a hex number in the manner of PY_VERSION_HEX
ALPHA = 0xa
BETA  = 0xb
GAMMA = 0xc
# release candidates
RC= GAMMA
FINAL = 0xf

MAJOR_REV = 2
MINOR_REV = 1
MICRO_REV = 9
REL_LEVEL = FINAL
# at most 15 beta releases!
REL_SERIAL = 0

HEX_VERSION = ((MAJOR_REV  24) | (MINOR_REV  16) | (MICRO_REV  8) |
   (REL_LEVEL  4)  | (REL_SERIAL  0))

# config.pck schema version number
DATA_FILE_VERSION = 97

# qfile/*.db schema version number
QFILE_SCHEMA_VERSION = 3

# version number for the lists/listname/pending.db file schema
PENDING_FILE_SCHEMA_VERSION = 2

# version number for the lists/listname/request.db file schema
REQUESTS_FILE_SCHEMA_VERSION = 1



After applying the change to the one list, I got this:

[root]# bin/withlist -l problem-list
{enter m.data_version change here}

Loading list promed-rus (locked)
Traceback (most recent call last):
  File ./withlist, line 297, in ?
main()
  File ./withlist, line 275, in main
r = do_list(listname, args, func)
  File ./withlist, line 194, in do_list
m = MailList.MailList(listname, lock=LOCK)
  File /usr/lib/mailman/Mailman/MailList.py, line 128, in __init__
self.Lock()
  File /usr/lib/mailman/Mailman/MailList.py, line 165, in Lock
self.Load()
  File /usr/lib/mailman/Mailman/MailList.py, line 670, in Load
self.CheckVersion(dict)
  File /usr/lib/mailman/Mailman/MailList.py, line 723, in CheckVersion
Update(self, stored_state)
  File /usr/lib/mailman/Mailman/versions.py, line 51, in Update
UpdateOldVars(l, stored_state)
  File /usr/lib/mailman/Mailman/versions.py, line 264, in UpdateOldVars
elif l.data_version = 10 and l.posters:
  File /usr/lib/mailman/Mailman/MailList.py, line 146, in __getattr__
raise AttributeError, name
AttributeError: posters



Furthermore, even the simple URL http://list.server.tld/mailman/listinfo threw 
a Python error, and bin/list_lists errored as well:

[root]# bin/list_lists
Traceback (most recent call last):
  File 

Re: [Mailman-Users] Help with ONE broken list (Mailman 2.1.9) - part 2

2015-05-07 Thread Mark Sapiro
On 05/07/2015 10:11 AM, Drew Tenenholz wrote:

 
 Thanks for the suggestion.  I did try it, and it actually did make things 
 worse, though I've been able to get back to the previous (yet still broken) 
 state. 


My mistake. I thought setting data_version to 1 would be OK and it was
simpler than having you look things up. Sorry ...


...
 # config.pck schema version number
 DATA_FILE_VERSION = 97


OK.


 After applying the change to the one list, I got this:
 
 [root]# bin/withlist -l problem-list
 {enter m.data_version change here}
 
 Loading list promed-rus (locked)
 Traceback (most recent call last):
   File ./withlist, line 297, in ?
 main()
   File ./withlist, line 275, in main
 r = do_list(listname, args, func)
   File ./withlist, line 194, in do_list
 m = MailList.MailList(listname, lock=LOCK)
   File /usr/lib/mailman/Mailman/MailList.py, line 128, in __init__
 self.Lock()
   File /usr/lib/mailman/Mailman/MailList.py, line 165, in Lock
 self.Load()
   File /usr/lib/mailman/Mailman/MailList.py, line 670, in Load
 self.CheckVersion(dict)
   File /usr/lib/mailman/Mailman/MailList.py, line 723, in CheckVersion
 Update(self, stored_state)
   File /usr/lib/mailman/Mailman/versions.py, line 51, in Update
 UpdateOldVars(l, stored_state)
   File /usr/lib/mailman/Mailman/versions.py, line 264, in UpdateOldVars
 elif l.data_version = 10 and l.posters:
   File /usr/lib/mailman/Mailman/MailList.py, line 146, in __getattr__
 raise AttributeError, name
 AttributeError: posters


As I said, I thought it would be OK, but you get this if data_version is
= 10. So you need to set it bigger than that. Actually, in your case,
anything between 11 and 96 will do, but set it to 96.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help with ONE broken list (Mailman 2.1.9) P.S.

2015-05-05 Thread Mark Sapiro
On 05/05/2015 12:51 PM, drew.tenenh...@isid.org wrote:
 P.S.
 
 If this error message helps, here is something that doesn't work on the
 production machine but is fine on the development one:
 
 root# ./config_list -v -i /path_to_file/config_from_previous_date list-name
 Traceback (most recent call last):
   File ./config_list, line 362, in ?
 main()
   File ./config_list, line 357, in main
 do_input(listname, infile, checkonly, verbose)
   File ./config_list, line 258, in do_input
 guibyprop = getPropertyMap(mlist)
   File ./config_list, line 230, in getPropertyMap
 for element in gui.GetConfigInfo(mlist, category, subcat):
   File /usr/lib/mailman/Mailman/Gui/Privacy.py, line 162, in
 GetConfigInfo
 if mlist.dmarc_quarantine_moderation_action:
   File /usr/lib/mailman/Mailman/MailList.py, line 146, in __getattr__
 raise AttributeError, name
 AttributeError: dmarc_quarantine_moderation_action


I'm a bit confused, but I think I understand. You say this is Mailman
2.1.9, but the above traceback says
/usr/lib/mailman/Mailman/Gui/Privacy.py defines a list attribute
dmarc_quarantine_moderation_action which didn't exist before 2.1.18.

My best guess is something backported the DMARC mitigations into your
Mailman 2.1.9 and also included code in Mailman/versions.py to update
older lists, but whether or not a list gets updated by this process
depends on the list's data_version being less than the DATA_FILE_VERSION
defined in Mailman/Version.py.

So, still guessing but, the backport incremented DATA_FILE_VERSION so
all the existing lists got updated except the list that came from the
2.1.14 Mailman that already had a data_version = the new DATA_FILE_VERSION.

To fix this, do the following:

bin/withlist -l problem_list_name
(responses from withlist ending with prompt)
 m.data_version = 1
 m.Save()
- control-D here to exit

If I am correct, that will fix the problem, and If it is something else,
no harm will be done.

-- 
Mark Sapiro m...@msapiro.netThe 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


[Mailman-Users] Help with ONE broken list (Mailman 2.1.9)

2015-05-05 Thread Drew Tenenholz
Hi all --

I'm hoping you can make some suggestions on hot to get a broken list working 
again.  Here's the basic details.

Mailman 2.1.9
RHEL 5.x
I have root access to the VM running our lists.

The problem was caused by an IT Dept. standard RHEL update on April 21.  
Somehow, this update managed to revert some file back to an earlier state, 
breaking just ONE of my lists.  This was a list I migrated from a different 
mailman server  on March 31  (v2.1.14 installed from source on Mac OS X - so 
not the Apple distribution).  All of the other lists which were in place before 
March 31 are just fine.

For certain, /var/lib/mailman/data/aliases was replaced with an earlier version 
(I can't tell you how long it took to find this out), and the newest 
aliases from the migration were removed.  So, I replaced them, and restarted 
both mailman and postfix, but no joy.

Now, I've been struggling through trying to get the rest of the configuration 
to work.  Here are some sample problems:

1) http://list.name.tld/mailman/admin/list-name/general page will not load, 
giving the Oops, we've hit a bug mailman/python error.  Oddly enough, I can 
manually type in the correct URL for things like the list members or language 
options and those pages DO load.

2) I've probably broken a lot of common sense rules, but I've replaced the 
/var/lib/mailman/lists/list-name/config.pck file with the one I used during the 
migration.  That not only doesn't fix the list, it seems to reset the list 
admin password (which i can now fix with change_pw), the URL (which I can fix 
with bin/withlist -l -r fix_url list-name -v).  but, as I said, the list is 
still showing all the problems as before.

3) For unknown reasons, /bin/config_list -o will not complete.


So, I got the IT folks to actually restore a snapshot of the machine to a 
DIFFERENT VM, and frustratingly enough, that version of the list seems to work 
fine.  I can even copy over the config.pck from the damaged list into this 
April 4 snapshot, and it WORKS!  (Grrr)  I can also export the 
configuration from this newly restored and munged setup back onto the 
production machine, and it FAILS.


On the production machine, bin/check_db and bin/check_perms both run without 
reporting any problems.

If it makes any difference at all, this list is set to run with RUSSIAN 
CYRILLIC (KOI8-R) as the default language, so when I export the members list 
with full names, all I get are ???.  

I'd prefer to not only have the working list, but working archives, and the 
correct subscriber list as of the date things started to go worky.

Then, I hope to restore all of the shunted messages that were clogging up the 
entire system most of which were pending messages for the damaged list, and 
clear out that queue.

If you have gotten this far:
1) THANK YOU.
2) As you can see, this is a VERY ACTIVE mailman install.  It probably sends 
500,000 mails/day to 70,000 subscribers on 12-15 lists, and also has to handle 
50-100 confirmation requests/day with people constantly adding/removing 
themselves.  Sort of like trying to sip out of a fire hose

Thinks in Advance,
Drew Tenenholz
--
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] Help with ONE broken list (Mailman 2.1.9) P.S.

2015-05-05 Thread drew . tenenholz

P.S.

If this error message helps, here is something that doesn't work on  
the production machine but is fine on the development one:


root# ./config_list -v -i /path_to_file/config_from_previous_date list-name
Traceback (most recent call last):
  File ./config_list, line 362, in ?
main()
  File ./config_list, line 357, in main
do_input(listname, infile, checkonly, verbose)
  File ./config_list, line 258, in do_input
guibyprop = getPropertyMap(mlist)
  File ./config_list, line 230, in getPropertyMap
for element in gui.GetConfigInfo(mlist, category, subcat):
  File /usr/lib/mailman/Mailman/Gui/Privacy.py, line 162, in GetConfigInfo
if mlist.dmarc_quarantine_moderation_action:
  File /usr/lib/mailman/Mailman/MailList.py, line 146, in __getattr__
raise AttributeError, name
AttributeError: dmarc_quarantine_moderation_action

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


[Mailman-Users] Help: Api for remove list

2015-04-28 Thread Selva Gaja
Hi,

I can remove a mailman list from this terminal command  * rmlist -a
listname*

Is there any API for removing the Mailman List.

-- 
Thanks and Regards,

Selva Gajendran.S
--
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] Help: Api for remove list

2015-04-28 Thread Mark Sapiro
On 04/28/2015 08:25 AM, Selva Gaja wrote:
 Hi,
 
 I can remove a mailman list from this terminal command  * rmlist -a
 listname*
 
 Is there any API for removing the Mailman List.
 


It depends what you mean by API. There is the command you show above,
and there are the underlying things that rmlist does, but I suspect you
want to know if there is a way to remove a list from Mailman's GUI.

If you set

OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes

in mm_cfg.py, every page in Mailman's admin GUI will have a Delete this
mailing list (requires confirmation) link under Other Administrative
Activities. Without this setting, the link is not there and attempts to
remove a list via the http(s)://example.com/mailman/rmlist/LISTNAME CGI
will fail.

-- 
Mark Sapiro m...@msapiro.netThe 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


[Mailman-Users] Help with munge settongs

2015-04-06 Thread Rafael Salasnik
Have had problems with DMARC bounces. Upgraded to 2.1.18  but still 
having problems. Am still unsure what the settings should be on lists 
where it should show its come from the individual poster.


Can someone give me all the appropriate various settings.

Many thanks

--
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] Help with munge settongs

2015-04-06 Thread Mark Sapiro
On 04/05/2015 11:11 PM, Rafael Salasnik wrote:
 Have had problems with DMARC bounces. Upgraded to 2.1.18  but still
 having problems. Am still unsure what the settings should be on lists
 where it should show its come from the individual poster.
 
 Can someone give me all the appropriate various settings.


For the minimum disruption set General Options - from_is_list to No and
set Privacy options... - Sender filters - dmarc_moderation_action to
either Munge From or Wrap Message. Follow the General Options -
(Details for from_is_list) link for a description of what these 2
actions do and decide which you and your user's prefer. Wrap Message is
more standards compliant because it preserves the original author's
address if the From: of the wrapped message and essentially forwards it
as an attachment. However, many users, especially those with iOS mobile
devices, don't like it.

In either case, the original message if munged or outer message if
wrapped will be From: original display name via list name
list-address and the original From: will be merged into any Reply-To:
or will just be the  Reply-To: if there otherwise wouldn't be one. (In
2.1.19, it's put in Cc: to make reply/reply-all more consistent with
their behavior on unaltered messages, although that's only when
reply_goes_to_list is not Poster.

Set Privacy options... - Sender filters -
dmarc_quarantine_moderation_action as desired.

If you prefer to treat all posts equally regardless of the DMARC policy
of the From: domain, set from_is_list to the desired action.

I initially used from_is_list because I was afraid certain individuals
with Yahoo mail accounts would complain about being singled out, but I
ultimately went to dmarc_moderation_action and got no complaints.

I use dmarc_moderation_action = Mung From (I tried Wrap Message first -
I really wanted to go that way - but I got too many complaints. It's an
individual thing. Others with the same or similar devices thought it was
OK, but several complained)

The biggest issue I have with Munge From is with one heavy user whose
MUA doesn't properly handle Reply-To: (and also doesn't add References:
or In-Reply-To: and breaks threading in my MUA, but that's an unrelated
issue).

-- 
Mark Sapiro m...@msapiro.netThe 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] Help with regular expression filters

2015-02-04 Thread Malcolm Austen

On Wed, 04 Feb 2015 15:56:14 -, Mark Sapiro m...@msapiro.net wrote:


Malcolm Austen writes:

  What I would really like is a (simple) way to trap the absence of a
  subject header but I think, we can (understandably) only trap on the
  content of something that is present :-(

...

In my production Mailman, I do it as part of the tests in a custom
handler, but see the FAQ at http://wiki.list.org/x/8683854 for a way
to do it with header_filter_rules.


Thank you Mark, I had missed that in the FAQ (slaps wrist). It makes  
perfect sense once explained!


= Malcolm.

--
Malcolm Austen malcolm.aus...@weald.org.uk
GENUKI trustee gen...@weald.org.uk
Pedigree User Group chair...@pugweb.org.uk
Oxfordshire FHS webmas...@ofhs.org.uk
FFHS Communications Officer communicati...@ffhs.org.uk
--
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] Help with regular expression filters

2015-02-04 Thread Mark Sapiro
On 02/04/2015 06:04 AM, Stephen J. Turnbull wrote:
 Malcolm Austen writes:
 
   What I would really like is a (simple) way to trap the absence of a  
   subject header but I think, we can (understandably) only trap on the  
   content of something that is present :-(
...
 
 I don't think it would be hard to add this feature if there's no way
 to do it, although Mark may not want to do it in 2.1.x.  Wait for Mark
 and if he says it can't be done in current Mailman, I'd suggest filing
 an RFE at https://launchpad.net/mailman.


In my production Mailman, I do it as part of the tests in a custom
handler, but see the FAQ at http://wiki.list.org/x/8683854 for a way
to do it with header_filter_rules.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help with regular expression filters

2015-02-04 Thread Malcolm Austen

On Tue, 03 Feb 2015 21:43:09 -, Mark Sapiro m...@msapiro.net wrote:

In Mailman, with Python regexps
https://docs.python.org/2/library/re.html, I would use

^Subject:.*\Wtest\W

\W matches any 'non-word' character and is equivalent to [^a-zA-Z0-9_],
i.e. anything including new-line which is not a letter, digit or  
underscore.


I trap with - ^subject:.*\btest.* - accepting \W is the better option, I  
tail it with .* as I want to catch 'testing' as well as 'test' :-)


I also have traps - ^subject:.*virus.* - on 'virus', 'spam' and 'digest'  
:-)


What I would really like is a (simple) way to trap the absence of a  
subject header but I think, we can (understandably) only trap on the  
content of something that is present :-(


= Malcolm.

--
Malcolm Austen malcolm.aus...@weald.org.uk
GENUKI trustee gen...@weald.org.uk
Pedigree User Group chair...@pugweb.org.uk
Oxfordshire FHS webmas...@ofhs.org.uk
FFHS Communications Officer communicati...@ffhs.org.uk
--
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] Help with regular expression filters

2015-02-04 Thread Stephen J. Turnbull
Malcolm Austen writes:

  What I would really like is a (simple) way to trap the absence of a  
  subject header but I think, we can (understandably) only trap on the  
  content of something that is present :-(

As a workaround, procmail supports negative assertions of that kind:

:0:
* ! ^Subject
no-subject-bitbucket

would do what you want.  That may not be acceptable to you, of course,
depending on the facilities available to you, or convenience.  Just
throwing it out there, somebody might find it useful.

I don't think it would be hard to add this feature if there's no way
to do it, although Mark may not want to do it in 2.1.x.  Wait for Mark
and if he says it can't be done in current Mailman, I'd suggest filing
an RFE at https://launchpad.net/mailman.

Steve


--
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] Help with regular expression filters

2015-02-04 Thread Adam McGreggor
On Tue, Feb 03, 2015 at 10:46:39AM -0800, Marino Pascal wrote:
 I have a filter to block the word test from Subject because some
 people won't receive list mail for a few hours and think it's broken
 so they post test

People who send test mails to lists I manage usually find themselves
moderated.

-- 
I am firm.  You are obstinate.  He is a pig-headed fool.
-- Katharine Whitehorn
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help with regular expression filters

2015-02-03 Thread Marino Pascal
I have a filter to block the word test from Subject because some people won't receive list mail for a few hours and think it's broken so they 
post test

And once one person does it everybody else feels obligated to test.
So I use
Subject: .*test
Problem with that is that it also blocks latest and testimony.
I suck at regular expressions and would appreciate some help.
I also don't have a test list to test this :)

Thanks
Marino Pascal
--
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] Help with regular expression filters

2015-02-03 Thread e.c.
At least in Emacs the following regexp works

\_test\_

that finds 'test' but not 'fastest' or 'testy'

bash, perl, ruby, etc. may have different ways of doing the same thing.

ed

On Tue, Feb 3, 2015 at 12:46 PM, Marino Pascal mpas...@gmail.com wrote:
 I have a filter to block the word test from Subject because some people
 won't receive list mail for a few hours and think it's broken so they post
 test
 And once one person does it everybody else feels obligated to test.
 So I use
 Subject: .*test
 Problem with that is that it also blocks latest and testimony.
 I suck at regular expressions and would appreciate some help.
 I also don't have a test list to test this :)

 Thanks
 Marino Pascal
 --
 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/eminmn%40sysmatrix.net
--
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] Help with regular expression filters

2015-02-03 Thread Mark Sapiro
On 02/03/2015 12:08 PM, e.c. wrote:
 At least in Emacs the following regexp works
 
 \_test\_
 
 that finds 'test' but not 'fastest' or 'testy'
 
 bash, perl, ruby, etc. may have different ways of doing the same thing.


In Mailman, with Python regexps
https://docs.python.org/2/library/re.html, I would use

^Subject:.*\Wtest\W

\W matches any 'non-word' character and is equivalent to [^a-zA-Z0-9_],
i.e. anything including new-line which is not a letter, digit or underscore.

 import re
 cre = re.compile('^Subject:.*\Wtest\W', re.IGNORECASE)
 s1 = Subject: This is a test of mailman.
 s2 = Subject: This is a test.
 s3 = Subject: I am testing...
 s4 = Subject: This is a test
... 
 cre.search(s1)
_sre.SRE_Match object at 0x7f740d0abac0
 cre.search(s2)
_sre.SRE_Match object at 0x7f740d0abb28
 cre.search(s3)
 cre.search(s4)
_sre.SRE_Match object at 0x7f740d0abac0

-- 
Mark Sapiro m...@msapiro.netThe 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] Help Request Returning Nothing

2015-01-26 Thread Dennis Putnam
On 1/25/2015 8:50 PM, Mark Sapiro wrote:
 On 01/25/2015 05:17 PM, Dennis Putnam wrote:
 On 1/25/2015 7:39 PM, Mark Sapiro wrote:
 See the FAQ at http://wiki.list.org/x/KYCB (these RHEL/CentOS changes
 are now over 10 years old).
 Not to be contrary but that was not the case with CentOS 6.  This change
 was introduced by CentOS 7 regardless of what that wiki page says.
 CentOS 7 is less than a year old.

 The change was introduced by Red Hat in RHEL 2.1.5-21. The original
 author of that FAQ article was John Dennis of Red Hat.

 I don't know about CentOS as even though my production server runs
 CentOS 5 (hey, it hasn't even been rebooted in over 5 years), I've never
 installed or even seen the CentOS Mailman package.

 Are you sure you had the CentOS package and not a source or other
 install under CentOS 6?

 Anyway, this is all a diversion from your actual issue.

 If you send me, off list, forwarded as attachment, the help response you
 receive from Mailman, I'll see if I can find anything further from that.



 --
 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/dap1%40bellsouth.net
Hi Mark,

I am sending it separately now.


signature.asc
Description: OpenPGP digital signature
--
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] Help Request Returning Nothing

2015-01-25 Thread Mark Sapiro
On 01/25/2015 05:17 PM, Dennis Putnam wrote:
 On 1/25/2015 7:39 PM, Mark Sapiro wrote:

 See the FAQ at http://wiki.list.org/x/KYCB (these RHEL/CentOS changes
 are now over 10 years old).
 Not to be contrary but that was not the case with CentOS 6.  This change
 was introduced by CentOS 7 regardless of what that wiki page says.
 CentOS 7 is less than a year old.


The change was introduced by Red Hat in RHEL 2.1.5-21. The original
author of that FAQ article was John Dennis of Red Hat.

I don't know about CentOS as even though my production server runs
CentOS 5 (hey, it hasn't even been rebooted in over 5 years), I've never
installed or even seen the CentOS Mailman package.

Are you sure you had the CentOS package and not a source or other
install under CentOS 6?

Anyway, this is all a diversion from your actual issue.

If you send me, off list, forwarded as attachment, the help response you
receive from Mailman, I'll see if I can find anything further from that.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
--
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] Help Request Returning Nothing

2015-01-24 Thread Mark Sapiro
On 01/24/2015 04:16 PM, Dennis Putnam wrote:
 I've recently muddled through a migration to a new server and struggled
 with setting up a custom URL for templates. However, in trying to set up
 the URL on a previously working help.txt, I've apparently fouled
 something up. I now get the correct URL but little else. A help request
 is returning the following:
 
 
 
 The results of your email command are provided below. Attached is your
 original message.
 
 - Results:
 Ignoring non-text/plain MIME parts

This means your original message had more than just a single text/plain
part, probably it was multipart/alternative with both text/plain and
text/html alternatives. This should be OK.

 You can access your personal options via the following url:
 
 https://myhost.mydomain.com/mailman/options/cufsalumni/dap1%40bellsouth.net


This is generated by the 'help' command processor, so you got that far.


 help
 Help


And this seems to indicate either Mailman/Commands/cmd_help.py or your
help.txt template is corrupted.

Look for a file named help.txt in the following places if they exist:

1) lists/LISTNAME/en/ where LISTNAME is the name of the list you sent
the request to
2) templates/DOMAIN/en/ where DOMAIN is the domain of the list
3) templates/site/en/
4) templates/en/

The first help.txt template found is the one being used. What does it
contain?

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
--
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] Help customizing VERP_CONFIRM_REGEXP

2014-07-18 Thread Pablo Montepagano
THANK YOU! Worked like a charm. I owe you a beer, at least. :)

On Fri, Jul 18, 2014 at 12:46 AM, Mark Sapiro m...@msapiro.net wrote:
 On 07/17/2014 08:28 AM, Pablo Montepagano wrote:

 When confirmations are sent, the FROM header does not follow this
 pattern Mailman listaddr-confirm+coo...@example.org, it just has
 the addres, i.e, listaddr-confirm+coo...@example.org. I wolud like
 to add the Mailman  to the beginning and  at the end.


 There are two ways to accomplish something like what you want. To do it
 only in mm_cfg.py, there's no way to add the trailing '', but you could set

 VERP_CONFIRMATIONS = Yes
 VERP_CONFIRM_FORMAT = '(Mailman) %(addr)s+%(cookie)s'
 VERP_CONFIRM_REGEXP =
  r'(?s)^\(Mailman\) (.*)?(?Paddr.+)\+(?Pcookie[0-9a-f]{40})@.*$'

 That last should all be on one line. Also the [0-9a-f]{40} instead of
 [^@+]+ is not a necessary change, but it fixes a problem if the list
 name contains a '+'

 The above will create a From header (Mailman)
 listaddr-confirm+coo...@example.org and the regexp will recognize it in
 replies, although the two MUAs I tried (Thunderbird and Mutt) will
 address the reply to Mailman listaddr-confirm+coo...@example.org
 which will be recognized by the default regexp.

 The other way involves editing Mailman/MailList.py and changing

 def GetConfirmEmail(self, cookie):
 return mm_cfg.VERP_CONFIRM_FORMAT % {
 'addr'  : '%s-confirm' % self.internal_name(),
 'cookie': cookie,
 } + '@' + self.host_name

 to

 def GetConfirmEmail(self, cookie):
 return 'Mailman ' + mm_cfg.VERP_CONFIRM_FORMAT % {
 'addr'  : '%s-confirm' % self.internal_name(),
 'cookie': cookie,
 } + '@' + self.host_name + ''

 This will produce a From: of Mailman
 listaddr-confirm+coo...@example.org which will be recognized by the
 default regexp, so only

 VERP_CONFIRMATIONS = Yes

 is needed in mm_cfg.py.

 --
 Mark Sapiro m...@msapiro.netThe 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/pablo%40montepagano.com.ar
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help customizing VERP_CONFIRM_REGEXP

2014-07-17 Thread Pablo Montepagano
I have enabled in my server VERP_CONFIRMATIONS so that the subject of
email confirmations is more human-friendly. But I would also like to
change the format of the From: header of email confirmations.

Currently they follow the default value of VERP_CONFIRM_REGEXP. I've
been trying to change it so that I can get something like this:

From: Mailman listaddr-confirm+coo...@example.org


This is currently in my mm_cfg.py:

VERP_CONFIRM_REGEXP = r'(?s)^(.*)?(?Paddr.+)\+(?Pcookie[^@+]+)@.*$'
VERP_CONFIRMATIONS = Yes

Does anyone know how to do this?

I'm running mailman 2.1.13

Thanks in advance,

Pablo
--
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] Help customizing VERP_CONFIRM_REGEXP

2014-07-17 Thread Mark Sapiro
On 07/16/2014 03:18 PM, Pablo Montepagano wrote:
 
 Currently they follow the default value of VERP_CONFIRM_REGEXP. I've
 been trying to change it so that I can get something like this:
 
 From: Mailman listaddr-confirm+coo...@example.org


That is what you get by default if VERP_CONFIRMATIONS = Yes


 This is currently in my mm_cfg.py:
 
 VERP_CONFIRM_REGEXP = r'(?s)^(.*)?(?Paddr.+)\+(?Pcookie[^@+]+)@.*$'

Wht are you changing this in this way? It should work, but so should the
default. You should only need to change VERP_CONFIRM_REGEXp if you've
changed VERP_CONFIRM_FORMAT.


 VERP_CONFIRMATIONS = Yes
 
 Does anyone know how to do this?


I do not understand what the problem is. Are you not getting the From:
you want? If not, did you restart Mailman after changing mm_cfg.py?

-- 
Mark Sapiro m...@msapiro.netThe 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] Help customizing VERP_CONFIRM_REGEXP

2014-07-17 Thread Pablo Montepagano
I'm sorry for not being clear. VERP_CONFIRM_REGEXP is set to the same
value that comes with Defaults.py

When confirmations are sent, the FROM header does not follow this
pattern Mailman listaddr-confirm+coo...@example.org, it just has
the addres, i.e, listaddr-confirm+coo...@example.org. I wolud like
to add the Mailman  to the beginning and  at the end.

Why? So that those who receive the invitation/confirmation email see a
human readable name in the From header.

Hope I'm being clear. Thanks!

On Thu, Jul 17, 2014 at 11:21 AM, Mark Sapiro m...@msapiro.net wrote:
 On 07/16/2014 03:18 PM, Pablo Montepagano wrote:

 Currently they follow the default value of VERP_CONFIRM_REGEXP. I've
 been trying to change it so that I can get something like this:

 From: Mailman listaddr-confirm+coo...@example.org


 That is what you get by default if VERP_CONFIRMATIONS = Yes


 This is currently in my mm_cfg.py:

 VERP_CONFIRM_REGEXP = r'(?s)^(.*)?(?Paddr.+)\+(?Pcookie[^@+]+)@.*$'

 Wht are you changing this in this way? It should work, but so should the
 default. You should only need to change VERP_CONFIRM_REGEXp if you've
 changed VERP_CONFIRM_FORMAT.


 VERP_CONFIRMATIONS = Yes

 Does anyone know how to do this?


 I do not understand what the problem is. Are you not getting the From:
 you want? If not, did you restart Mailman after changing mm_cfg.py?

 --
 Mark Sapiro m...@msapiro.netThe 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/pablo%40montepagano.com.ar
--
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] Help customizing VERP_CONFIRM_REGEXP

2014-07-17 Thread Mark Sapiro
On 07/17/2014 08:28 AM, Pablo Montepagano wrote:
 
 When confirmations are sent, the FROM header does not follow this
 pattern Mailman listaddr-confirm+coo...@example.org, it just has
 the addres, i.e, listaddr-confirm+coo...@example.org. I wolud like
 to add the Mailman  to the beginning and  at the end.


There are two ways to accomplish something like what you want. To do it
only in mm_cfg.py, there's no way to add the trailing '', but you could set

VERP_CONFIRMATIONS = Yes
VERP_CONFIRM_FORMAT = '(Mailman) %(addr)s+%(cookie)s'
VERP_CONFIRM_REGEXP =
 r'(?s)^\(Mailman\) (.*)?(?Paddr.+)\+(?Pcookie[0-9a-f]{40})@.*$'

That last should all be on one line. Also the [0-9a-f]{40} instead of
[^@+]+ is not a necessary change, but it fixes a problem if the list
name contains a '+'

The above will create a From header (Mailman)
listaddr-confirm+coo...@example.org and the regexp will recognize it in
replies, although the two MUAs I tried (Thunderbird and Mutt) will
address the reply to Mailman listaddr-confirm+coo...@example.org
which will be recognized by the default regexp.

The other way involves editing Mailman/MailList.py and changing

def GetConfirmEmail(self, cookie):
return mm_cfg.VERP_CONFIRM_FORMAT % {
'addr'  : '%s-confirm' % self.internal_name(),
'cookie': cookie,
} + '@' + self.host_name

to

def GetConfirmEmail(self, cookie):
return 'Mailman ' + mm_cfg.VERP_CONFIRM_FORMAT % {
'addr'  : '%s-confirm' % self.internal_name(),
'cookie': cookie,
} + '@' + self.host_name + ''

This will produce a From: of Mailman
listaddr-confirm+coo...@example.org which will be recognized by the
default regexp, so only

VERP_CONFIRMATIONS = Yes

is needed in mm_cfg.py.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread Mark Sapiro
On 02/08/2014 05:24 PM, George Kasica wrote:
 Here you go sent to mailt...@netwrx1.org gets me
 
 Feb  8 19:11:41 eagle postfix/pipe[25088]: 30CEE121CDE:
 to=mailt...@lists.netwrx1.org, relay=mailman, delay=0.51,
 delays=0.15/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
 service)
 
 
 And a short time later I have a message in my inbox (and 4 other users test
 IDs do as well)


So the 'mailman' service can deliver to mailt...@lists.netwrx1.org, but
not to skunk-wo...@lists.netwrx1.org. If this service is
postfix_to_mailman.py (You never confirmed that it was or wasn't), the
only way this can happen is if the $var-prefix/lists/skunk-works/
directory doesn't exist, but then postfix_to_mailman should fail with an
error message the would be in the Postfix log message.

Therefore, it appears that the problem is not in the delivery of posts
to skunk-wo...@lists.netwrx1.org, but rather in the processing/delivery
of the post by Mailman.

Check Mailman's logs.

Also, are there any list members that would receive the post (Mailman's
'bin/list_members --regular --nomail=enabled skunk-works' will tell
you). If the only eligible recipient is you, is your 'not metoo' setting
off?


 From what I'm reading in the FAQ this is not a supported method by Mailman
 but I'm not seeing where its pointing me to any help in getting this
 working. Would I be better off with the official Postfix - Mailman
 integration mentioned and if so how would I do this in the current MySQL
 environment or would I need to start over? Starting from zero concerns me a
 bit as this is currently handing mail traffic just not lists.
 
 Currently the Postfix/Mailman setup is set for MySQL simply because that's
 the FAQ I followed but this is a VERY small environment...would I be better
 served to go the route of hash.db tables and rebuild this to work that way?


If you want help from this list, we are best able to help you if you
configure Postfix to use hashes for Postfix's alias_maps and
virtual_alias_maps for Mailman list addresses as discussed at
http://www.list.org/mailman-install/postfix-integration.html and
http://www.list.org/mailman-install/postfix-virtual.html. I don't
think this is necessarily incompatible with using MySQL for other addresses.


 (I'm not a huge MySQL fan personally for this it seems like overkill) We're
 talking 10 lists with maybe 1000 users total between them and about the same
 number of virtual domains to handle mail.


-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread George Kasica
Mark:

Answers to questions below:

As to your comment about using hashes for mailman...I'm thinking that might
be the best course, and for postfix in general, this s a REALLY small
installation as I mentioned and very low traffic realistically. We're not
running YahooGroups here :)



Yes, it uses is postfix_to_mailman.py thought I had that in the other
message.

The directory /var/lib/mailman/lists/skunk-works does exist

Error

 is empty

Post

Jan 31 02:42:41 2014 (13402) post to mailtest from gkas...@netwrx1.com,
size=15798,
message-id=1ed525c0d0004e7e8e015c332b0c1...@bl2pr05mb177.namprd05.prod.outl
ook.com, success

Qrunner
===
Feb 08 15:22:01 2014 (20887) IncomingRunner qrunner started.
Feb 08 15:22:02 2014 (20891) RetryRunner qrunner started.
Feb 08 15:22:02 2014 (20884) ArchRunner qrunner started.
Feb 08 15:22:02 2014 (20890) VirginRunner qrunner started.
Feb 08 15:22:02 2014 (20886) CommandRunner qrunner started.
Feb 08 15:22:02 2014 (20889) OutgoingRunner qrunner started.
Feb 08 15:22:02 2014 (20888) NewsRunner qrunner started.
Feb 08 15:22:02 2014 (20885) BounceRunner qrunner started.

Smtp

Feb 08 15:24:41 2014 (20889)
mailman.0.1391894679.20937.skunk-wo...@netwrx1.org smtp to skunk-works for
1 recips, completed in 0.162 seconds
Feb 08 15:45:34 2014 (20889)
mailman.0.1391895934.21132.skunk-wo...@netwrx1.org smtp to skunk-works for
1 recips, completed in 0.085 seconds
Feb 08 15:45:35 2014 (20889)
mailman.1.1391895934.21132.skunk-wo...@netwrx1.org smtp to skunk-works for
1 recips, completed in 0.099 seconds

Vette
=
Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.com
Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.com


I'm set to receive postings: 
cd /var/lib/mailman/bin

./list_members --regular --nomail=enabled skunk-works
gkas...@netwrx1.com

Not-meetoo is NOT checked

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Sunday, February 09, 2014 10:53 AM
To: George Kasica
Cc: Mailman Users
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/08/2014 05:24 PM, George Kasica wrote:
 Here you go sent to mailt...@netwrx1.org gets me
 
 Feb  8 19:11:41 eagle postfix/pipe[25088]: 30CEE121CDE:
 to=mailt...@lists.netwrx1.org, relay=mailman, delay=0.51, 
 delays=0.15/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
 service)
 
 
 And a short time later I have a message in my inbox (and 4 other users 
 test IDs do as well)


So the 'mailman' service can deliver to mailt...@lists.netwrx1.org, but not
to skunk-wo...@lists.netwrx1.org. If this service is postfix_to_mailman.py
(You never confirmed that it was or wasn't), the only way this can happen is
if the $var-prefix/lists/skunk-works/ directory doesn't exist, but then
postfix_to_mailman should fail with an error message the would be in the
Postfix log message.

Therefore, it appears that the problem is not in the delivery of posts to
skunk-wo...@lists.netwrx1.org, but rather in the processing/delivery of the
post by Mailman.

Check Mailman's logs.

Also, are there any list members that would receive the post (Mailman's
'bin/list_members --regular --nomail=enabled skunk-works' will tell you). If
the only eligible recipient is you, is your 'not metoo' setting off?

 From what I'm reading in the FAQ this is not a supported method by 
 Mailman but I'm not seeing where its pointing me to any help in 
 getting this working. Would I be better off with the official Postfix 
 - Mailman integration mentioned and if so how would I do this in the 
 current MySQL environment or would I need to start over? Starting from 
 zero concerns me a bit as this is currently handing mail traffic just not
lists.
 
 Currently the Postfix/Mailman setup is set for MySQL simply because 
 that's the FAQ I followed but this is a VERY small environment...would 
 I be better served to go the route of hash.db tables and rebuild this to
work that way?


If you want help from this list, we are best able to help you if you
configure Postfix to use hashes for Postfix's alias_maps and
virtual_alias_maps for Mailman list addresses as discussed at
http://www.list.org/mailman-install/postfix-integration.html and
http://www.list.org/mailman-install/postfix-virtual.html. I don't think
this is necessarily incompatible with using MySQL for other addresses.


 (I'm not a huge MySQL fan personally for this it seems like overkill) 
 We're talking 10 lists with maybe 1000 users total between them and 
 about the same number of virtual domains to handle mail.


-- 
Mark Sapiro m...@msapiro.netThe 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

Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread Mark Sapiro
On 02/09/2014 09:50 AM, George Kasica wrote:
 Mark:
 
 Answers to questions below:
 
 As to your comment about using hashes for mailman...I'm thinking that might
 be the best course, and for postfix in general, this s a REALLY small
 installation as I mentioned and very low traffic realistically. We're not
 running YahooGroups here :)


Although the setup you're using seems to work, at least for Postfix's
delivery.


 Yes, it uses is postfix_to_mailman.py thought I had that in the other
 message.
 
 The directory /var/lib/mailman/lists/skunk-works does exist
 
 Error
 
  is empty
 
 Post
 
 Jan 31 02:42:41 2014 (13402) post to mailtest from gkas...@netwrx1.com,
 size=15798,
 message-id=1ed525c0d0004e7e8e015c332b0c1...@bl2pr05mb177.namprd05.prod.outl
 ook.com, success


OK. The post log is written at outgoing smtp time so the absence of a
skunk-works entry doesn't mean the post didn't reach Mailman.


 Qrunner
 ===
 Feb 08 15:22:01 2014 (20887) IncomingRunner qrunner started.
 Feb 08 15:22:02 2014 (20891) RetryRunner qrunner started.
 Feb 08 15:22:02 2014 (20884) ArchRunner qrunner started.
 Feb 08 15:22:02 2014 (20890) VirginRunner qrunner started.
 Feb 08 15:22:02 2014 (20886) CommandRunner qrunner started.
 Feb 08 15:22:02 2014 (20889) OutgoingRunner qrunner started.
 Feb 08 15:22:02 2014 (20888) NewsRunner qrunner started.
 Feb 08 15:22:02 2014 (20885) BounceRunner qrunner started.
 
 Smtp
 
 Feb 08 15:24:41 2014 (20889)
 mailman.0.1391894679.20937.skunk-wo...@netwrx1.org smtp to skunk-works for
 1 recips, completed in 0.162 seconds
 Feb 08 15:45:34 2014 (20889)
 mailman.0.1391895934.21132.skunk-wo...@netwrx1.org smtp to skunk-works for
 1 recips, completed in 0.085 seconds
 Feb 08 15:45:35 2014 (20889)
 mailman.1.1391895934.21132.skunk-wo...@netwrx1.org smtp to skunk-works for
 1 recips, completed in 0.099 seconds


These are Mailman notifications about something to do with the
skunk-works list. Did you receive them? What did they say?

Why are there no entries for the sucessful post to mailtest? Too long ago?


 Vette
 =
 Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
 8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.com
 Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
 8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.com


Are these your posts? Check your outgoing mail folder for the message
ids. Check the list's Content filtering - filter_action. It could be
discarding the message. Also check the Privacy options... - Sender
filters actions.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread George Kasica
See below

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Sunday, February 09, 2014 12:05 PM
To: George Kasica
Cc: Mailman Users
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/09/2014 09:50 AM, George Kasica wrote:
 Mark:
 
 Answers to questions below:
 
 As to your comment about using hashes for mailman...I'm thinking that 
 might be the best course, and for postfix in general, this s a REALLY 
 small installation as I mentioned and very low traffic realistically. 
 We're not running YahooGroups here :)


Although the setup you're using seems to work, at least for Postfix's
delivery.
Correct Everything but mailman is working virtual domain wise.

 Yes, it uses is postfix_to_mailman.py thought I had that in the other 
 message.
 
 The directory /var/lib/mailman/lists/skunk-works does exist
 
 Error
 
  is empty
 
 Post
 
 Jan 31 02:42:41 2014 (13402) post to mailtest from 
 gkas...@netwrx1.com, size=15798, 
 message-id=1ed525c0d0004e7e8e015c332b0c1...@bl2pr05mb177.namprd05.pro
 d.outl
 ook.com, success


OK. The post log is written at outgoing smtp time so the absence of a
skunk-works entry doesn't mean the post didn't reach Mailman.
OK


 Qrunner
 ===
 Feb 08 15:22:01 2014 (20887) IncomingRunner qrunner started.
 Feb 08 15:22:02 2014 (20891) RetryRunner qrunner started.
 Feb 08 15:22:02 2014 (20884) ArchRunner qrunner started.
 Feb 08 15:22:02 2014 (20890) VirginRunner qrunner started.
 Feb 08 15:22:02 2014 (20886) CommandRunner qrunner started.
 Feb 08 15:22:02 2014 (20889) OutgoingRunner qrunner started.
 Feb 08 15:22:02 2014 (20888) NewsRunner qrunner started.
 Feb 08 15:22:02 2014 (20885) BounceRunner qrunner started.
 
 Smtp
 
 Feb 08 15:24:41 2014 (20889)
 mailman.0.1391894679.20937.skunk-wo...@netwrx1.org smtp to 
 skunk-works for
 1 recips, completed in 0.162 seconds
 Feb 08 15:45:34 2014 (20889)
 mailman.0.1391895934.21132.skunk-wo...@netwrx1.org smtp to 
 skunk-works for
 1 recips, completed in 0.085 seconds
 Feb 08 15:45:35 2014 (20889)
 mailman.1.1391895934.21132.skunk-wo...@netwrx1.org smtp to 
 skunk-works for
 1 recips, completed in 0.099 seconds


These are Mailman notifications about something to do with the skunk-works
list. Did you receive them? What did they say? 
No those were test messages I sent but never received

Why are there no entries for the sucessful post to mailtest? Too long ago?
No clue - this is a log from yesterday and its complete to current
day and time



 Vette
 =
 Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
 8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.c
 om Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
 8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.c
 om


Are these your posts? Check your outgoing mail folder for the message ids.
Check the list's Content filtering - filter_action. It could be discarding
the message. Also check the Privacy options... - Sender filters actions.

Yes those are posts from me. 
Nothing skunk-works related is sitting in the outbound postfix queue

What am I looking for on content filtering settings? And Privacy and Sender
Filters. I don't recall changing from defaults.

Here is what it is:
Content Filter - Filter Action is Discard
Privacy Options - Sender Filters Nothing is held or moderated



-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread Mark Sapiro
On 02/09/2014 10:18 AM, George Kasica wrote:

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

 Vette
 =
 Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
 8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.c
 om Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
 8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.c
 om
 
 
 Are these your posts? Check your outgoing mail folder for the message ids.
 Check the list's Content filtering - filter_action. It could be discarding
 the message. Also check the Privacy options... - Sender filters actions.
 
   Yes those are posts from me. 
 Nothing skunk-works related is sitting in the outbound postfix queue
 
 What am I looking for on content filtering settings? And Privacy and Sender
 Filters. I don't recall changing from defaults.
 
 Here is what it is:
 Content Filter - Filter Action is Discard
 Privacy Options - Sender Filters Nothing is held or moderated


Your messages are being automatically discarded by Mailman. There are
only 5 ways this can happen.

1) The post is from a moderated member and member_moderation_action is
Discard.

2) The post is from a non-member and either the non-member is in
discard_these_nonmembers or generic_nonmember_action is discard.

The above settings are found in Privacy options... - Sender filters.

3) A header in the post matches a Spam Filter Rule in Privacy options...
- Spam filters - header_filter_rules with a Discard action.

4) Content filtering - filter_content is Yes, the post is empty after
content filtering and filter_action is Discard.

5) Non-digest options - scrub_nondigest is Yes, ARCHIVE_HTML_SANITIZER
is set to 0 in mm_cfg.py and the post is non-multipart with MIME type
text/html.

In your case, 4) is most likely, Either the post is text/html and you
don't accept text/html or the post is multipart/related and you don't
accept multipart/related or all multipart types.

Set filter_action to Reject and see what happens.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread Mark Sapiro
On 02/09/2014 04:29 PM, George Kasica wrote:
 
 SO what should I be setting here to allow Text only or convert to text only?

In pass_mime_types set

multipart
message/rfc822
text/plain
text/html

Also set both collapse_alternatives and convert_html_to_plaintext to Yes.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread George Kasica
OK...Got a bounce back:

The message's content type was not explicitly allowed

Odd since I'm using outlook2013 and I've set it to what is supposed to be
Text...

SO what should I be setting here to allow Text only or convert to text only?

George

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Sunday, February 09, 2014 6:01 PM
To: George Kasica
Cc: Mailman Users
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/09/2014 10:18 AM, George Kasica wrote:

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

 Vette
 =
 Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
 8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.
 c
 om Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
 8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.
 c
 om
 
 
 Are these your posts? Check your outgoing mail folder for the message ids.
 Check the list's Content filtering - filter_action. It could be 
 discarding the message. Also check the Privacy options... - Sender
filters actions.
 
   Yes those are posts from me. 
 Nothing skunk-works related is sitting in the outbound postfix queue
 
 What am I looking for on content filtering settings? And Privacy and 
 Sender Filters. I don't recall changing from defaults.
 
 Here is what it is:
 Content Filter - Filter Action is Discard Privacy Options - Sender 
 Filters Nothing is held or moderated


Your messages are being automatically discarded by Mailman. There are only 5
ways this can happen.

1) The post is from a moderated member and member_moderation_action is
Discard.

2) The post is from a non-member and either the non-member is in
discard_these_nonmembers or generic_nonmember_action is discard.

The above settings are found in Privacy options... - Sender filters.

3) A header in the post matches a Spam Filter Rule in Privacy options...
- Spam filters - header_filter_rules with a Discard action.

4) Content filtering - filter_content is Yes, the post is empty after
content filtering and filter_action is Discard.

5) Non-digest options - scrub_nondigest is Yes, ARCHIVE_HTML_SANITIZER is
set to 0 in mm_cfg.py and the post is non-multipart with MIME type
text/html.

In your case, 4) is most likely, Either the post is text/html and you don't
accept text/html or the post is multipart/related and you don't accept
multipart/related or all multipart types.

Set filter_action to Reject and see what happens.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-09 Thread George Kasica
We are running from what I can see thanks to a tremendous amount of help
from Mark Sapiro.

Thank you very much to all.  Turned out to be content filtering issues.

George Kasica

-Original Message-
From: Mailman-Users
[mailto:mailman-users-bounces+gkasica=netwrx1@python.org] On Behalf Of
George Kasica
Sent: Sunday, February 09, 2014 6:29 PM
To: Mark Sapiro
Cc: Mailman Users
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

OK...Got a bounce back:

The message's content type was not explicitly allowed

Odd since I'm using outlook2013 and I've set it to what is supposed to be
Text...

SO what should I be setting here to allow Text only or convert to text only?

George

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net]
Sent: Sunday, February 09, 2014 6:01 PM
To: George Kasica
Cc: Mailman Users
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/09/2014 10:18 AM, George Kasica wrote:

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

 Vette
 =
 Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
 8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.
 c
 om Feb 08 16:52:49 2014 (20887) Message discarded, msgid:
 8b7df489fa54454e9c854e3441103...@bn1pr05mb188.namprd05.prod.outlook.
 c
 om
 
 
 Are these your posts? Check your outgoing mail folder for the message ids.
 Check the list's Content filtering - filter_action. It could be 
 discarding the message. Also check the Privacy options... - Sender
filters actions.
 
   Yes those are posts from me. 
 Nothing skunk-works related is sitting in the outbound postfix queue
 
 What am I looking for on content filtering settings? And Privacy and 
 Sender Filters. I don't recall changing from defaults.
 
 Here is what it is:
 Content Filter - Filter Action is Discard Privacy Options - Sender 
 Filters Nothing is held or moderated


Your messages are being automatically discarded by Mailman. There are only 5
ways this can happen.

1) The post is from a moderated member and member_moderation_action is
Discard.

2) The post is from a non-member and either the non-member is in
discard_these_nonmembers or generic_nonmember_action is discard.

The above settings are found in Privacy options... - Sender filters.

3) A header in the post matches a Spam Filter Rule in Privacy options...
- Spam filters - header_filter_rules with a Discard action.

4) Content filtering - filter_content is Yes, the post is empty after
content filtering and filter_action is Discard.

5) Non-digest options - scrub_nondigest is Yes, ARCHIVE_HTML_SANITIZER is
set to 0 in mm_cfg.py and the post is non-multipart with MIME type
text/html.

In your case, 4) is most likely, Either the post is text/html and you don't
accept text/html or the post is multipart/related and you don't accept
multipart/related or all multipart types.

Set filter_action to Reject and see what happens.

-- 
Mark Sapiro m...@msapiro.netThe 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/gkasica%40netwrx1.com
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread George Kasica
Hello:

Currently I've got Postfix running with virtual domains with a MySQL
database and am trying to get Mailman to do so as well.

I can get one domain to work mailt...@netwrx1.org but anything else is
failing as below. Can someone assist? I've loaded the aliases as shown in to
mysql and the snip of the mm_cfg.py is below as well.
I've looked at varius on line FAQs and other references but am still stuck -
have bounced all the relevant iitems postfix and mailman.

Thanks in advance, I'm sure its something simple I'm missing.

George

Error:
=
Feb  7 15:09:29 eagle postfix/smtpd[5953]: Anonymous TLS connection
established from
mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]: TLSv1 with
cipher AES128-SHA (128/128 bits)
Feb  7 15:09:55 eagle magicspam-postfix[5957]: Checking exemption lists...
Feb  7 15:09:56 eagle magicspam-postfix[5958]: Checking exemption lists...
Feb  7 15:09:56 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-by2lp0235.outbound.protection.outlook.com,
client_address=207.46.163.235, sender=gkas...@netwrx1.com,
recipient=skunk-wo...@netwrx1.org
Feb  7 15:09:56 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-by2lp0235.outbound.protection.outlook.com,
client_address=207.46.163.235, sender=gkas...@netwrx1.com,
recipient=skunk-wo...@netwrx1.org
Feb  7 15:09:56 eagle postfix/smtpd[5953]: NOQUEUE: reject: RCPT from
mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]: 550 5.1.1
skunk-wo...@netwrx1.org: Recipient address rejected: User unknown in
virtual mailbox table; from=gkas...@netwrx1.com
to=skunk-wo...@netwrx1.org proto=ESMTP
helo=na01-by2-obe.outbound.protection.outlook.com
Feb  7 15:09:56 eagle postfix/smtpd[5953]: disconnect from
mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]

Aliases
==
INSERT  INTO aliases (mail,destination) VALUES
('skunkwo...@netwrx1.org','skunkwo...@lists.netwrx1.org'),
('skunkworks-ad...@netwrx1.org','skunkworks-ad...@lists.netwrx1.org'),
('skunkworks-boun...@netwrx1.org','skunkworks-boun...@lists.netwrx1.org'),
('skunkworks-conf...@netwrx1.org','skunkworks-conf...@lists.netwrx1.org'),
('skunkworks-j...@netwrx1.org','skunkworks-j...@lists.netwrx1.org'),
('skunkworks-le...@netwrx1.org','skunkworks-le...@lists.netwrx1.org'),
('skunkworks-ow...@netwrx1.org','skunkworks-ow...@lists.netwrx1.org'),
('skunkworks-requ...@netwrx1.org','skunkworks-requ...@lists.netwrx1.org'),
('skunkworks-subscr...@netwrx1.org','skunkworks-subscr...@lists.netwrx1.org'
),
('skunkworks-unsubscr...@netwrx1.org','skunkworks-unsubscribe@lists.netwrx1.
org');

/etc/mm_cfg.py
=
#-
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = 'netwrx1.org'
#-
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST   = 'eagle.netwrx1.org'
#-
VIRTUAL_HOSTS =
{'netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabetes.ne
t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org'}
 
# Required when setting any of its arguments.
#add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('www.netwrx1.com','netwrx1.com')
add_virtualhost('www.netwrx1.net','netwrx1.net')
add_virtualhost('www.netwrx1.org','netwrx1.org')
add_virtualhost('www.mke-skywarn.org','mke-skywarn.org')
add_virtualhost('www.petdiabetes.net','petdiabetes.net')
add_virtualhost('www.skywarn.biz','skywarn.biz')
add_virtualhost('www.skywarn.tv','skywarn.tv')
add_virtualhost('www.skywarn.us','skywarn.us')
add_virtualhost('www.twmbfelinerescue.org','twmbfelinerescue.org')
 
POSTFIX_STYLE_VIRTUAL_DOMAINS =
['netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabetes.ne
t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org']


--- 
===[George R. Kasica]===+1 262 677 0766
geor...@netwrx1.com +1 206 374 6482 FAX 
http://www.netwrx1.com/georgek  Jackson, WI USA 
gkas...@netwrx1.com

(`-''-/).___..--''`-._
`6_ 6  )   `-.  ( ).`-.__.`)
(_Y_.)'  ._   )  `._ `. ``-..-'
_..`--'_..-_/  /--'_.' ,'
(il),-''  (li),'  ((!.-'

--
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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread Mark Sapiro
On 02/07/2014 01:59 PM, George Kasica wrote: Hello:
 
 Currently I've got Postfix running with virtual domains with a MySQL
 database and am trying to get Mailman to do so as well.
 
 I can get one domain to work mailt...@netwrx1.org but anything else is
 failing as below. Can someone assist? I've loaded the aliases as shown in to
 mysql and the snip of the mm_cfg.py is below as well.
 I've looked at varius on line FAQs and other references but am still stuck -
 have bounced all the relevant iitems postfix and mailman.
...
 Feb  7 15:09:56 eagle postfix/smtpd[5953]: NOQUEUE: reject: RCPT from
 mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]: 550 5.1.1
 skunk-wo...@netwrx1.org: Recipient address rejected: User unknown in
 virtual mailbox table; from=gkas...@netwrx1.com
 to=skunk-wo...@netwrx1.org proto=ESMTP
 helo=na01-by2-obe.outbound.protection.outlook.com
...
 Aliases
 ==
 INSERT  INTO aliases (mail,destination) VALUES
 ('skunkwo...@netwrx1.org','skunkwo...@lists.netwrx1.org'),


skunk-works or skunkworks? Is that the problem?


 /etc/mm_cfg.py
 =
...
 VIRTUAL_HOSTS =
 {'netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabetes.ne
 t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org'}


The above is wrong!

VIRTUAL_HOSTS is a python dictionary with keys = URL hosts and values =
the corresponding email hosts. (The above syntax creates something
entirely different.) It is maintained by add_virtualhost directives as
below. It should never be assigned a value in mm_cfg.py because this
creates an entity mm_cfg.VIRTUAL_HOSTS distinct from
Defaults.VIRTUAL_HOSTS, but the add_virtualhost directives still
maintain Defaults.VIRTUAL_HOSTS which is not referenced in Mailman.

The only direct reference th VIRTUAL_HOSTS that should ever be in
mm_cfg.py is

VIRTUAL_HOSTS.clear()

if needed to remove the default entry set in Defaults.py if it is
erroneous, and if needed, it must be VIRTUAL_HOSTS.clear() and not
VIRTUAL_HOSTS = {} to avoid creating mm_cfg.VIRTUAL_HOSTS distinct from
Defaults.VIRTUAL_HOSTS.

 # Required when setting any of its arguments.
 #add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 add_virtualhost('www.netwrx1.com','netwrx1.com')
 add_virtualhost('www.netwrx1.net','netwrx1.net')
 add_virtualhost('www.netwrx1.org','netwrx1.org')
 add_virtualhost('www.mke-skywarn.org','mke-skywarn.org')
 add_virtualhost('www.petdiabetes.net','petdiabetes.net')
 add_virtualhost('www.skywarn.biz','skywarn.biz')
 add_virtualhost('www.skywarn.tv','skywarn.tv')
 add_virtualhost('www.skywarn.us','skywarn.us')
 add_virtualhost('www.twmbfelinerescue.org','twmbfelinerescue.org')
  
 POSTFIX_STYLE_VIRTUAL_DOMAINS =
 ['netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabetes.ne
 t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org']


This does nothing if you don't also have

MTA = 'Postfix'

to cause Mailman to generate data/aliases and data/virtual-mailman to be
referenced by Postfix.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread George Kasica
Mark

Thanks,  sorry on the idiot mistake - OK...I can't read :)
Too many hours in front of the screen

I corrected the aliases and other items you mentioned here and actually
deleted and remade the list completely. No more not found errors in the logs
BUT

I can send out messages to the list and they don't show as bouncing in the
logs below but I also don't ever see them come back to the list here

I'm set for get received notice here in outlook

So I see it got there

Your message has been delivered to the following groups:
skunk-wo...@netwrx1.org
Subject: Test Message


Feb  8 16:12:34 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-bn1lp0149.outbound.protection.outlook.com,
client_address=207.46.163.
149, sender=gkas...@netwrx1.com, recipient=skunk-wo...@netwrx1.org
Feb  8 16:12:34 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-bn1lp0149.outbound.protection.outlook.com,
client_address=207.46.163.
149, sender=gkas...@netwrx1.com, recipient=skunk-wo...@netwrx1.org
Feb  8 16:12:37 eagle postfix/pipe[21348]: 44236121652:
to=skunk-wo...@lists.ne
twrx1.org, orig_to=skunk-wo...@netwrx1.org, relay=spamassassin, delay=30,
delays=27/0.01/0/3.1, dsn=2.0.0, status=sent (delivered via spamassassin
service)
Feb  8 16:12:38 eagle postfix/pipe[21355]: B85CD121CCD:
to=skunk-wo...@lists.netwrx1.org, relay=mailman, delay=0.54,
delays=0.19/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
service)

Looking at the mailman logs the only one with any activity at the time I sent
a test message is one called vette
# cat vette
Feb 08 16:12:39 2014 (20887) Message discarded, msgid:
8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.com

Can you assist?

George



-Original Message-
From: Mailman-Users
[mailto:mailman-users-bounces+gkasica=netwrx1@python.org] On Behalf Of
Mark Sapiro
Sent: Saturday, February 08, 2014 12:21 PM
To: mailman-users@python.org
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/07/2014 01:59 PM, George Kasica wrote: Hello:

 Currently I've got Postfix running with virtual domains with a MySQL
 database and am trying to get Mailman to do so as well.

 I can get one domain to work mailt...@netwrx1.org but anything else is
 failing as below. Can someone assist? I've loaded the aliases as shown
 in to mysql and the snip of the mm_cfg.py is below as well.
 I've looked at varius on line FAQs and other references but am still
 stuck - have bounced all the relevant iitems postfix and mailman.
...
 Feb  7 15:09:56 eagle postfix/smtpd[5953]: NOQUEUE: reject: RCPT from
 mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]: 550
 5.1.1
 skunk-wo...@netwrx1.org: Recipient address rejected: User unknown in
 virtual mailbox table; from=gkas...@netwrx1.com
 to=skunk-wo...@netwrx1.org proto=ESMTP
 helo=na01-by2-obe.outbound.protection.outlook.com
...
 Aliases
 ==
 INSERT  INTO aliases (mail,destination) VALUES
 ('skunkwo...@netwrx1.org','skunkwo...@lists.netwrx1.org'),


skunk-works or skunkworks? Is that the problem?


 /etc/mm_cfg.py
 =
...
 VIRTUAL_HOSTS =
 {'netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabe
 tes.ne
 t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org'}


The above is wrong!

VIRTUAL_HOSTS is a python dictionary with keys = URL hosts and values = the
corresponding email hosts. (The above syntax creates something entirely
different.) It is maintained by add_virtualhost directives as below. It
should never be assigned a value in mm_cfg.py because this creates an entity
mm_cfg.VIRTUAL_HOSTS distinct from Defaults.VIRTUAL_HOSTS, but the
add_virtualhost directives still maintain Defaults.VIRTUAL_HOSTS which is
not referenced in Mailman.

The only direct reference th VIRTUAL_HOSTS that should ever be in mm_cfg.py
is

VIRTUAL_HOSTS.clear()

if needed to remove the default entry set in Defaults.py if it is erroneous,
and if needed, it must be VIRTUAL_HOSTS.clear() and not VIRTUAL_HOSTS = {}
to avoid creating mm_cfg.VIRTUAL_HOSTS distinct from Defaults.VIRTUAL_HOSTS.

 # Required when setting any of its arguments.
 #add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 add_virtualhost('www.netwrx1.com','netwrx1.com')
 add_virtualhost('www.netwrx1.net','netwrx1.net')
 add_virtualhost('www.netwrx1.org','netwrx1.org')
 add_virtualhost('www.mke-skywarn.org','mke-skywarn.org')
 add_virtualhost('www.petdiabetes.net','petdiabetes.net')
 add_virtualhost('www.skywarn.biz','skywarn.biz')
 add_virtualhost('www.skywarn.tv','skywarn.tv')
 add_virtualhost('www.skywarn.us','skywarn.us')
 add_virtualhost('www.twmbfelinerescue.org','twmbfelinerescue.org')

 POSTFIX_STYLE_VIRTUAL_DOMAINS =
 ['netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabe
 tes.ne
 t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org']


This does nothing if you don't also have

MTA = 'Postfix'

to cause Mailman

Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread George Kasica
The ODD part is I have a list here set up as  mailtest and its working fine.
I don't see any differences in setup.


-Original Message-
From: Mailman-Users
[mailto:mailman-users-bounces+gkasica=netwrx1@python.org] On Behalf Of
George Kasica
Sent: Saturday, February 08, 2014 4:39 PM
To: Mark Sapiro; mailman-users@python.org
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

Mark

Thanks,  sorry on the idiot mistake - OK...I can't read :) Too many hours in
front of the screen

I corrected the aliases and other items you mentioned here and actually
deleted and remade the list completely. No more not found errors in the logs
BUT

I can send out messages to the list and they don't show as bouncing in the
logs below but I also don't ever see them come back to the list here

I'm set for get received notice here in outlook

So I see it got there

Your message has been delivered to the following groups:
skunk-wo...@netwrx1.org
Subject: Test Message


Feb  8 16:12:34 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-bn1lp0149.outbound.protection.outlook.com,
client_address=207.46.163.
149, sender=gkas...@netwrx1.com, recipient=skunk-wo...@netwrx1.org Feb  8
16:12:34 eagle postgrey[16312]: action=pass, reason=triplet found,
client_name=mail-bn1lp0149.outbound.protection.outlook.com,
client_address=207.46.163.
149, sender=gkas...@netwrx1.com, recipient=skunk-wo...@netwrx1.org Feb  8
16:12:37 eagle postfix/pipe[21348]: 44236121652:
to=skunk-wo...@lists.ne
twrx1.org, orig_to=skunk-wo...@netwrx1.org, relay=spamassassin, delay=30,
delays=27/0.01/0/3.1, dsn=2.0.0, status=sent (delivered via spamassassin
service)
Feb  8 16:12:38 eagle postfix/pipe[21355]: B85CD121CCD:
to=skunk-wo...@lists.netwrx1.org, relay=mailman, delay=0.54,
delays=0.19/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
service)

Looking at the mailman logs the only one with any activity at the time I
sent a test message is one called vette # cat vette Feb 08 16:12:39 2014
(20887) Message discarded, msgid:
8ec65c559e294241ba9cb4bfa98b6...@bn1pr05mb188.namprd05.prod.outlook.com

Can you assist?

George



-Original Message-
From: Mailman-Users
[mailto:mailman-users-bounces+gkasica=netwrx1@python.org] On Behalf Of
Mark Sapiro
Sent: Saturday, February 08, 2014 12:21 PM
To: mailman-users@python.org
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/07/2014 01:59 PM, George Kasica wrote: Hello:

 Currently I've got Postfix running with virtual domains with a MySQL 
 database and am trying to get Mailman to do so as well.

 I can get one domain to work mailt...@netwrx1.org but anything else is 
 failing as below. Can someone assist? I've loaded the aliases as shown 
 in to mysql and the snip of the mm_cfg.py is below as well.
 I've looked at varius on line FAQs and other references but am still 
 stuck - have bounced all the relevant iitems postfix and mailman.
...
 Feb  7 15:09:56 eagle postfix/smtpd[5953]: NOQUEUE: reject: RCPT from
 mail-by2lp0235.outbound.protection.outlook.com[207.46.163.235]: 550
 5.1.1
 skunk-wo...@netwrx1.org: Recipient address rejected: User unknown in 
 virtual mailbox table; from=gkas...@netwrx1.com 
 to=skunk-wo...@netwrx1.org proto=ESMTP 
 helo=na01-by2-obe.outbound.protection.outlook.com
...
 Aliases
 ==
 INSERT  INTO aliases (mail,destination) VALUES 
 ('skunkwo...@netwrx1.org','skunkwo...@lists.netwrx1.org'),


skunk-works or skunkworks? Is that the problem?


 /etc/mm_cfg.py
 =
...
 VIRTUAL_HOSTS =
 {'netwrx1.com','netwrx1.net','netwrx1.org','mke-skywarn.org','petdiabe
 tes.ne
 t','skywarn.biz','skywarn.tv','skywarn.us','twmbfelinerescue.org'}


The above is wrong!

VIRTUAL_HOSTS is a python dictionary with keys = URL hosts and values = the
corresponding email hosts. (The above syntax creates something entirely
different.) It is maintained by add_virtualhost directives as below. It
should never be assigned a value in mm_cfg.py because this creates an entity
mm_cfg.VIRTUAL_HOSTS distinct from Defaults.VIRTUAL_HOSTS, but the
add_virtualhost directives still maintain Defaults.VIRTUAL_HOSTS which is
not referenced in Mailman.

The only direct reference th VIRTUAL_HOSTS that should ever be in mm_cfg.py
is

VIRTUAL_HOSTS.clear()

if needed to remove the default entry set in Defaults.py if it is erroneous,
and if needed, it must be VIRTUAL_HOSTS.clear() and not VIRTUAL_HOSTS = {}
to avoid creating mm_cfg.VIRTUAL_HOSTS distinct from Defaults.VIRTUAL_HOSTS.

 # Required when setting any of its arguments.
 #add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 add_virtualhost('www.netwrx1.com','netwrx1.com')
 add_virtualhost('www.netwrx1.net','netwrx1.net')
 add_virtualhost('www.netwrx1.org','netwrx1.org')
 add_virtualhost('www.mke-skywarn.org','mke-skywarn.org')
 add_virtualhost('www.petdiabetes.net','petdiabetes.net')
 add_virtualhost('www.skywarn.biz

Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread Mark Sapiro
On 02/08/2014 02:39 PM, George Kasica wrote:
 
 I can send out messages to the list and they don't show as bouncing in the
 logs below but I also don't ever see them come back to the list here
...
 Feb  8 16:12:38 eagle postfix/pipe[21355]: B85CD121CCD:
 to=skunk-wo...@lists.netwrx1.org, relay=mailman, delay=0.54,
 delays=0.19/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
 service)


What is the 'mailman' service in Postfix (definition in master.cf). If
it is postfix_to_mailman.py, see the FAQ at http://wiki.list.org/x/EYDt.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread Mark Sapiro
On 02/08/2014 02:44 PM, George Kasica wrote:
 The ODD part is I have a list here set up as  mailtest and its working fine.
 I don't see any differences in setup.


Is there a postfix transport maps entry affecting one of these
lists/domains and not the other?

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread George Kasica
This is all the setup doc told me to add:

/etc/postfix# cat transport
lists.netwrx1.org mailman:

This s the other list

INSERT INTO aliases (mail,destination) VALUES
('mailt...@netwrx1.org','mailt...@lists.netwrx1.org'),
('mailtest-ad...@netwrx1.org','mailtest-ad...@lists.netwrx1.org'),
('mailtest-boun...@netwrx1.org','mailtest-boun...@lists.netwrx1.org'),
('mailtest-conf...@netwrx1.org','mailtest-conf...@lists.netwrx1.org'),
('mailtest-j...@netwrx1.org','mailtest-j...@lists.netwrx1.org'),
('mailtest-le...@netwrx1.org','mailtest-le...@lists.netwrx1.org'),
('mailtest-ow...@netwrx1.org','mailtest-ow...@lists.netwrx1.org'),
('mailtest-requ...@netwrx1.org','mailtest-requ...@lists.netwrx1.org'),
('mailtest-subscr...@netwrx1.org','mailtest-subscr...@lists.netwrx1.org'),
('mailtest-unsubscr...@netwrx1.org','mailtest-unsubscr...@lists.netwrx1.org'
);

Here is skunk-works:

INSERT INTO aliases (mail,destination) VALUES
('mailt...@netwrx1.org','mailt...@lists.netwrx1.org'),
('mailtest-ad...@netwrx1.org','mailtest-ad...@lists.netwrx1.org'),
('mailtest-boun...@netwrx1.org','mailtest-boun...@lists.netwrx1.org'),
('mailtest-conf...@netwrx1.org','mailtest-conf...@lists.netwrx1.org'),
('mailtest-j...@netwrx1.org','mailtest-j...@lists.netwrx1.org'),
('mailtest-le...@netwrx1.org','mailtest-le...@lists.netwrx1.org'),
('mailtest-ow...@netwrx1.org','mailtest-ow...@lists.netwrx1.org'),
('mailtest-requ...@netwrx1.org','mailtest-requ...@lists.netwrx1.org'),
('mailtest-subscr...@netwrx1.org','mailtest-subscr...@lists.netwrx1.org'),
('mailtest-unsubscr...@netwrx1.org','mailtest-unsubscr...@lists.netwrx1.org'
);



-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Saturday, February 08, 2014 5:24 PM
To: George Kasica; mailman-users@python.org
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/08/2014 02:44 PM, George Kasica wrote:
 The ODD part is I have a list here set up as  mailtest and its working
fine.
 I don't see any differences in setup.


Is there a postfix transport maps entry affecting one of these lists/domains
and not the other?

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread Mark Sapiro
On 02/08/2014 03:29 PM, George Kasica wrote:
 This is all the setup doc told me to add:
 
 /etc/postfix# cat transport
 lists.netwrx1.org mailman:
 
 This s the other list
 
 INSERT INTO aliases (mail,destination) VALUES
 ('mailt...@netwrx1.org','mailt...@lists.netwrx1.org'),
...


I don't know why there'd be a difference between the lists.

When you mail to the mailtest list, does the Postfix log entry look
similar to

 Feb  8 16:12:38 eagle postfix/pipe[21355]: B85CD121CCD:
 to=skunk-works at lists.netwrx1.org, relay=mailman, delay=0.54,
 delays=0.19/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
 service)

In any case, see the FAQ at http://wiki.list.org/x/EYDt.

-- 
Mark Sapiro m...@msapiro.netThe 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] Help needed Mailman, Postfix with MySQL and Virtual Domain Lists

2014-02-08 Thread George Kasica
Mark:

Here it is:

mailman   unix  -   n   n   -   -   pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} 
${user}

Which points to
/usr/lib/mailman/bin/postfix-to-mailman.py -
/etc/mailman/postfix-to-mailman.py*


Based on a quick look at the FAQ you point to below, would I be better off
not using the postfx-to-mailman.py and going with what is in section 6.1.1
Integrating Postfix and Mailman? And if so how would I do that with MySQL as
a backend as this seems to be designed for hash.db files and aliases not
MySQL

Sorry, I'm not a Postfix or Mailman expert I'm coming from a exim/majordomo
environment.


George


-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Saturday, February 08, 2014 5:17 PM
To: George Kasica; mailman-users@python.org
Subject: Re: [Mailman-Users] Help needed Mailman, Postfix with MySQL and
Virtual Domain Lists

On 02/08/2014 02:39 PM, George Kasica wrote:
 
 I can send out messages to the list and they don't show as bouncing in 
 the logs below but I also don't ever see them come back to the list
here
...
 Feb  8 16:12:38 eagle postfix/pipe[21355]: B85CD121CCD:
 to=skunk-wo...@lists.netwrx1.org, relay=mailman, delay=0.54, 
 delays=0.19/0.01/0/0.35, dsn=2.0.0, status=sent (delivered via mailman
 service)


What is the 'mailman' service in Postfix (definition in master.cf). If it is
postfix_to_mailman.py, see the FAQ at http://wiki.list.org/x/EYDt.

-- 
Mark Sapiro m...@msapiro.netThe 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] help finding template

2014-01-19 Thread Mark Sapiro
On 01/18/2014 04:18 PM, Ricardo Kleemann wrote:
 
 What about the template for confirmation? When clicking on the
 confirmation link (either subscribe or unsubscribe) from the email that
 is sent, it displays a page to confirm the request. And then once you
 click on the button to confirm, there's another page displayed which is
 like the confirmation results. Do those have templates?


No. They are all built from strings by Mailman/Cgi/confirm.py.

Note that any Mailman URL of the form http://www.example.com/mailman/xxx
is processed by the script Mailman/Cgi/xxx.py

-- 
Mark Sapiro m...@msapiro.netThe 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


[Mailman-Users] help finding template

2014-01-18 Thread Ricardo Kleemann
Hi,

The link normally at the footer of list messages, for example:

Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/ricardo%40americasnet.com

Will send out a confirmation email and also takes the user to a
user-specific version of the options page.

I'm trying to find, with no success, where the template for that output
page is. It seems this might be a hardcoded output that uses the mailman.po
text strings, but cannot have its overall content/layout be customized?

thanks
Ricardo
--
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] help finding template

2014-01-18 Thread Mark Sapiro

Ricardo Kleemann wrote:

 I'm trying to find, with no success, where the template for that output
 page is. It seems this might be a hardcoded output that uses the
 mailman.po
 text strings, but cannot have its overall content/layout be customized?


The output is built on the fly by the Mailman/Cgi/options.py script. Aside
from the message Your unsubscription request has been forwarded to the
list administrator for approval. or The confirmation email has been
sent. as appropriate, the response is also the options login page, so you
can't modify it without messing up it's function as the options login
page.

-- 
Mark Sapiro m...@msapiro.netThe 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] help finding template

2014-01-18 Thread Ricardo Kleemann
Ok, thanks.


On Sat, Jan 18, 2014 at 1:49 PM, Mark Sapiro m...@msapiro.net wrote:


 Ricardo Kleemann wrote:
 
  I'm trying to find, with no success, where the template for that output
  page is. It seems this might be a hardcoded output that uses the
  mailman.po
  text strings, but cannot have its overall content/layout be customized?


 The output is built on the fly by the Mailman/Cgi/options.py script. Aside
 from the message Your unsubscription request has been forwarded to the
 list administrator for approval. or The confirmation email has been
 sent. as appropriate, the response is also the options login page, so you
 can't modify it without messing up it's function as the options login
 page.


What about the template for confirmation? When clicking on the confirmation
link (either subscribe or unsubscribe) from the email that is sent, it
displays a page to confirm the request. And then once you click on the
button to confirm, there's another page displayed which is like the
confirmation results. Do those have templates?

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


[Mailman-Users] Help with Reverse-Proxy Integration

2013-08-07 Thread Thomas Murgan
Hello,

I am a newbie to Mailman.Googling and I have tried following steps in
this link:

http://mail.python.org/pipermail/mailman-users/2004-July/038393.html

This does not work for me:
ProxyPass /mailman http://internal-server/mailman
ProxyPassReverse /mailman http://internal-server/mailman

This works:
ProxyPass / http://internal-server/mailman/
ProxyPassReverse / http://internal-server/mailman/

but this somehow gets the 'mailman' portion in the URL hidden.

Example:
http://external-server/listinfo   http://internal-server/mailman/listinfo

Issues arising:

When I want to access the admin web externally (clicking the 'Let me in'
button):

http://external-server/mailman/admin/list   it produces 404 Not found
message:

The requested URL /mailman/mailman/admin/list was not found on this
server. An extra mailman get included in the URL.

Somehow it seems the solution may be simple (solved previously), but can
someone please direct me.

thanks
Thomas
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help with Reverse-Proxy Integration

2013-08-07 Thread Stephen J. Turnbull
Thomas Murgan writes:

  This does not work for me:
  ProxyPass /mailman http://internal-server/mailman
  ProxyPassReverse /mailman http://internal-server/mailman

If you want all URLs starting with http://external-server/mailman; to
be forwarded to corresponding URLs at http://internal-server/mailman;,
this is the correct syntax.  If in fact what you want is something
different, be specific.

Without seeing the rest of the URL space configuration it's hard to
guess what might be wrong.  What do you mean by doesn't work?  What
errors are produced in the browser?  What is in Apache's log?  Check
Apache's error log as well.

Given that

  http://external-server/listinfo   http://internal-server/mailman/listinfo

works (I assume you mean that produces the listinfo page from the
Mailman installed on internal-server), I would guess that you have
some configuration on external-server that interferes with configuring
/mailman with ProxyPass.  Was Mailman ever installed on
external-server, so that there is an Alias or ScriptAlias for the path
/Mailman on that Apache?  Perhaps you have a Location or Directory
element blocking the ProxyPass.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help with Reverse-Proxy Integration

2013-08-07 Thread Thomas Murgan

On 8/8/2013 12:45 PM, Stephen J. Turnbull wrote:
 Thomas Murgan writes:
 
   This does not work for me:
   ProxyPass /mailman http://internal-server/mailman
   ProxyPassReverse /mailman http://internal-server/mailman
 
 If you want all URLs starting with http://external-server/mailman; to
 be forwarded to corresponding URLs at http://internal-server/mailman;,
 this is the correct syntax.  If in fact what you want is something
 different, be specific.
 
 Without seeing the rest of the URL space configuration it's hard to
 guess what might be wrong.  What do you mean by doesn't work?  What
 errors are produced in the browser?  What is in Apache's log?  Check
 Apache's error log as well.
 
 Given that
 
   http://external-server/listinfo   http://internal-server/mailman/listinfo
 
 works (I assume you mean that produces the listinfo page from the
 Mailman installed on internal-server), I would guess that you have
 some configuration on external-server that interferes with configuring
 /mailman with ProxyPass.  Was Mailman ever installed on
 external-server, so that there is an Alias or ScriptAlias for the path
 /Mailman on that Apache?  Perhaps you have a Location or Directory
 element blocking the ProxyPass.
 
I did have mailman installed on the external-server. I have removed it
and now my ProxyPass works like a charm.

Thanks again
 

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] HELP

2013-05-03 Thread Dave Foran
I have an issue and I am confused on how to fix the problem

 

I have root access and I can not create a  new list from the web site

 

Any ideas 

 

Dave

 

--

Dave Foran  Internet ONLY:
mailto:d...@hamnet.org d...@hamnet.org

Cruise Missile Coordinates 41.36.46N 81.25.53W

 

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] HELP

2013-05-03 Thread Mark Sapiro
On 05/03/2013 10:17 AM, Dave Foran wrote:
 
 I have root access and I can not create a  new list from the web site


See the FAQ at http://wiki.list.org/x/lYA9.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Yosem Companys
Hi all,

I'm one of the moderators of the Stanford University Program on Liberation
Technology at http://liberationtechnology.stanford.edu/.

I was wondering whether someone on this list could help me.  I'm
experiencing a problem with Mailman's digest option where, no matter what I
do, Mailman is sending too many digests daily.

I have configured the options Mailman gives me as follows:

   - Can list members choose to receive list traffic bunched in digests?
   Yes.
   - Which delivery mode is the default for new users? Regular.
   - When receiving digests, which format is default? MIME.
   - How big in Kb should a digest be before it gets sent out? 0.
   - Should a digest be dispatched daily when the size threshold isn't
   reached? No.
   - How often should a new digest volume be started? Daily.
   - Should Mailman start a new digest volume? No.
   - Should Mailman send the next digest right now, if it is not empty? No.

I'm sure I'm doing something wrong, but I can't figure out what it is.  If
anyone on this list can help me, I will be very grateful.

Thanks,

Yosem
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Malcolm Austen
On Mon, 04 Mar 2013 21:14:44 -, Yosem Companys ycompa...@gmail.com  
wrote:



   - How big in Kb should a digest be before it gets sent out? 0.


I'm not sure that zero has any special meaning there - just that any one  
message will always cause it to send out a digest immediately. I'd try a  
large number in there and set 'daily' back to yes.


= Malcolm.

--
Using Opera's revolutionary email client: http://www.opera.com/mail/
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! Mailman's Digest Option Sending Too ManyDigests

2013-03-05 Thread Mark Sapiro
Yosem Companys wrote:

Mailman is sending too many digests daily.

I have configured the options Mailman gives me as follows:

   - How big in Kb should a digest be before it gets sent out? 0.


This is the major problem. 0 does not mean unlimited. It means a digest
will be sent with every post because any post makes a digest = 0.

Set this to some reasonable size.


   - Should a digest be dispatched daily when the size threshold isn't
   reached? No.


If you thought 0 was unlimited, how did you think a digest would ever
be produced if not daily and not on size?


   - How often should a new digest volume be started? Daily.


This does not mean send a digest daily. That's the previous setting.
This means how often should the volume number be incremented and the
issue number reset to 1.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Stephen J. Turnbull
Yosem Companys writes:
  Hi all,
  
  I'm one of the moderators of the Stanford University Program on Liberation
  Technology at http://liberationtechnology.stanford.edu/.

You've come to the right place.  Mailman is a liberating technology!

  I was wondering whether someone on this list could help me.  I'm
  experiencing a problem with Mailman's digest option where, no matter what I
  do, Mailman is sending too many digests daily.
  
  I have configured the options Mailman gives me as follows:
  
 - Can list members choose to receive list traffic bunched in digests?
 Yes.
 - Which delivery mode is the default for new users? Regular.
 - When receiving digests, which format is default? MIME.
 - How big in Kb should a digest be before it gets sent out? 0.

I don't have time to look at the code, but I think this is your
problem.  I suspect that this needs to be positive (0 does mean
infinite in many contexts, but it's not documented to mean that here).

If you really want the digest to get (almost) arbitrarily large before
being sent, you could set it to 100 (meaning 1GB).  But I think
most users' mail programs will choke on that.  I would say 1000 is
about as large as I'd want it to go.

 - Should a digest be dispatched daily when the size threshold isn't
 reached? No.
 - How often should a new digest volume be started? Daily.

The digest volume has nothing to do with the number of digests sent.
It's like the volume of a journal.  If you only have one digest per
day, you're going to have 365 volumes per year, and one issue per
volume.  I would guess that's not what you want.

 - Should Mailman start a new digest volume? No.
 - Should Mailman send the next digest right now, if it is not empty? No.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Farokh Irani
Here's your problem. You need to set it to something higher than 0. I 
use 100 for mine.


Yosem Companys wrote:

- How big in Kb should a digest be before it gets sent out? 0.



Farokh

MCF Software...simply dependably engineered
For all your computer and networking needs including hosting solutions
for every need.
Phone: 845-735-0210
Cell: 914-262-1594

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Yosem Companys
Thank you to everyone who responded. To avoid cluttering your inbox, I'll
respond to all of your questions in this one email.

I originally had the drone list options set to the following:

   - When receiving digests, which format is default? MIME.
   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   Yes.
   - How often should a new digest volume be started? Daily.

That seemed to work for a while, but all of a sudden this week all the
digest subscribers started complaining that they were receiving 1 digest
per message.

So I went about changing the options.  The first thing I thought was that
the threshold was too low, so I increased it.  Since I had read on the web
that zero meant unlimited, I did that.  I now realize that the
documentation on those sites must be wrong, as it is correct on the List
Administration Manual, to which one of you drew my attention:
https://www.gnu.org/software/mailman/mailman-admin/node19.html.  In any
case, this explains why when I would send a message that only said TEST in
the subject, a new digest was created.

Once the logical thing did not work, I wrote to ask for your help.  But, as
I had subscribers dropping out like flies, I played around with the options
until I found a configuration that stopped the problem.  This was achieved
with the following:

   - When receiving digests, which format is default? Plain.
   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   No.
   - How often should a new digest volume be started? Weekly.

Now I realize that what probably fixed the problem was the combination of
Plain and 300.  Given that, I will keep that threshold, change the
options to the following, and cross my fingers:

   - When receiving digests, which format is default? Plain.
   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   Yes.
   - How often should a new digest volume be started? Monthly.

I assume 300 is more than enough for plain text.

Thanks all for your help! :)

Yosem



On Tue, Mar 5, 2013 at 6:39 AM, Stephen J. Turnbull step...@xemacs.org
wrote:
 Yosem Companys writes:
   Hi all,
  
   I'm one of the moderators of the Stanford University Program on
Liberation
   Technology at http://liberationtechnology.stanford.edu/.

 You've come to the right place.  Mailman is a liberating technology!

   I was wondering whether someone on this list could help me.  I'm
   experiencing a problem with Mailman's digest option where, no matter
what I
   do, Mailman is sending too many digests daily.
  
   I have configured the options Mailman gives me as follows:
  
  - Can list members choose to receive list traffic bunched in
digests?
  Yes.
  - Which delivery mode is the default for new users? Regular.
  - When receiving digests, which format is default? MIME.
  - How big in Kb should a digest be before it gets sent out? 0.

 I don't have time to look at the code, but I think this is your
 problem.  I suspect that this needs to be positive (0 does mean
 infinite in many contexts, but it's not documented to mean that here).

 If you really want the digest to get (almost) arbitrarily large before
 being sent, you could set it to 100 (meaning 1GB).  But I think
 most users' mail programs will choke on that.  I would say 1000 is
 about as large as I'd want it to go.

  - Should a digest be dispatched daily when the size threshold isn't
  reached? No.
  - How often should a new digest volume be started? Daily.

 The digest volume has nothing to do with the number of digests sent.
 It's like the volume of a journal.  If you only have one digest per
 day, you're going to have 365 volumes per year, and one issue per
 volume.  I would guess that's not what you want.

  - Should Mailman start a new digest volume? No.
  - Should Mailman send the next digest right now, if it is not
empty? No.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! Mailman's Digest Option Sending Too ManyDigests

2013-03-05 Thread Mark Sapiro
Yosem Companys wrote:

   - When receiving digests, which format is default? MIME.
   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   Yes.


This is all good.


   - How often should a new digest volume be started? Daily.


This is probably not what you want.


That seemed to work for a while, but all of a sudden this week all the
digest subscribers started complaining that they were receiving 1 digest
per message.


If the settings were unchanged, there was some other issue. Were the
same messages repeated in the subsequent digests? What was logged in
Mailman's error log?


So I went about changing the options.  The first thing I thought was that
the threshold was too low, so I increased it.  Since I had read on the web
that zero meant unlimited, I did that.  I now realize that the
documentation on those sites must be wrong, as it is correct on the List
Administration Manual, to which one of you drew my attention:
https://www.gnu.org/software/mailman/mailman-admin/node19.html.  In any
case, this explains why when I would send a message that only said TEST in
the subject, a new digest was created.


Actually, the manual you cite is wrong too. I'll fix it.


Once the logical thing did not work, I wrote to ask for your help.  But, as
I had subscribers dropping out like flies, I played around with the options
until I found a configuration that stopped the problem.  This was achieved
with the following:

   - When receiving digests, which format is default? Plain.


This only affects the default for new subscribers and has no bearing on
digest frequency anyway.


   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   No.


This may make a difference if the issue is that cron/senddigests is
being run many times a day instead of just once.


   - How often should a new digest volume be started? Weekly.

Now I realize that what probably fixed the problem was the combination of
Plain and 300.


As I said, plain has nothing to do with it. The issue is either
cron/senddigests run too frequently in which case Should a digest be
dispatched daily will make the difference, or it is some other
underlying problem which has bee fixed by the site admins in the mean
time.


Given that, I will keep that threshold, change the
options to the following, and cross my fingers:

   - When receiving digests, which format is default? Plain.
   - How big in Kb should a digest be before it gets sent out? 300.
   - Should a digest be dispatched daily when the size threshold isn't reached?
   Yes.


If this starts the problem again, the issue is someone changed the
frequency with which cron/senddigests is run by Mailman's crontab. If
not, the problem was something else outside your list settyings, and
someone else fixed it.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help with Mailman

2012-10-11 Thread Gotham Webmaster
I manage a website
http://www.gothamnetworking.com
that uses Mailman as it's listserv

We have over 775 members, 40 groups and run about 146 separate mailing lists

Once list in particular is not working and I don't know why. I could use some 
help.

Thanks,
 
Mitch Tobol
Gotham Webmaster
webmas...@gothamnetworking.com
631-842-4600



--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help with Mailman

2012-10-11 Thread Barry S. Finkel

On 10/10/2012 8:13 PM, Gotham Webmaster wrote:

I manage a website
http://www.gothamnetworking.com
that uses Mailman as it's listserv

We have over 775 members, 40 groups and run about 146 separate mailing lists

Once list in particular is not working and I don't know why. I could use some 
help.

Thanks,
  
Mitch Tobol

Gotham Webmaster
webmas...@gothamnetworking.com
631-842-4600

First, Listserv is a registered trademark of the product from L-soft; 
it is not a

generic term that describes mailing list management software.
Second, define is not working.  Many things could be happening, but 
without more

details, we have no idea what fixes to suggest.
--Barry Finkel
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help! How to quell list address in personalised messages

2012-07-02 Thread Geoff Shang

Hi,

A bit urgent.

I thought I'd turn on personalisation for an announce list I'm putting 
together, in order to have the person's address in the To field instead of 
the list address.  The box will only be used for this list and messages 
wil only go out about once a month, so performance isn't an issue.


But when I turned on full personalisation and got my Email address in the 
To field, the list address got sent in the Cc field.


Is there any way I can stop this?   I want to keep people from trying to 
post to the list.  I will close other doors as well but there's really no 
need for people to see the list address.


Geoff.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! How to quell list address in personalised messages

2012-07-02 Thread Mark Sapiro
On 7/2/2012 8:02 AM, Geoff Shang wrote:
 
 But when I turned on full personalisation and got my Email address in
 the To field, the list address got sent in the Cc field.
 
 Is there any way I can stop this?   I want to keep people from trying to
 post to the list.  I will close other doors as well but there's really
 no need for people to see the list address.


This is intentional and by design to facilitate people replying to the
list even with full personalization.

If you don't want this, you need to modify
Mailman/Handlers/CookHeaders.py to not add the list posting address to
Cc: or add a custom handler following CookHeaders to remove it.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! How to quell list address in personalised messages

2012-07-02 Thread Geoff Shang

On Mon, 2 Jul 2012, Mark Sapiro wrote:


This is intentional and by design to facilitate people replying to the
list even with full personalization.


Yes but for an announcement-type list you don't want this.


If you don't want this, you need to modify
Mailman/Handlers/CookHeaders.py to not add the list posting address to
Cc: or add a custom handler following CookHeaders to remove it.


Thanks very much.  I just found the same advice you wrote two years ago at 
http://mail.python.org/pipermail/mailman-users/2010-April/069241.html


Lets see if I can do this without serious breakage.

Geoff.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! How to quell list address in personalised messages

2012-07-02 Thread Mark Sapiro
Geoff Shang ge...@quitelikely.com wrote:

On Mon, 2 Jul 2012, Mark Sapiro wrote:

Lets see if I can do this without serious breakage.

Geoff.


If you need help, let me know.


-- 
Mark Sapiro m...@msapiro.net
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help! How to quell list address in personalised messages

2012-07-02 Thread Geoff Shang

On Mon, 2 Jul 2012, Mark Sapiro wrote:


If you need help, let me know.


Think I got it.  Commenting out the block at line 161 (Mailman 2.1.13) 
seems to have done the trick.


Thanks again,
Geoff.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Help: how to extract a list's description using abash or Python script (Mailman version 2.1.9)

2012-06-04 Thread Mehdi Mortezai
Thanks much for the code, Mark!

Mehdi


-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net]
Sent: Friday, June 01, 2012 11:20 PM
To: Mehdi Mortezai; mailman-users@python.org
Subject: Re: [Mailman-Users] Help: how to extract a list's description
using abash or Python script (Mailman version 2.1.9)

Mehdi Mortezai wrote:

I need to generate a monthly report on all my mailing lists that
includes each list's name, description, admin, and members.  I have
come up with a bash script using some Python scripts for Mailman that
generates most of the reporting but could not find a script or a way to
extract a list's description.


Mailman's bin/list_lists produces a list of all the installations list
names and descriptions.


Any hint/help for pointing out how to extract the description of any
list via a bash script will be very much appreciated.


#!/bin/bash
# assume $1 is the list name
/usr/lib/mailman/bin/list_lists | grep -i  $1  |\  sed -r s/\s*\S+ -
//


-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Help: how to extract a list's description using a bash or Python script (Mailman version 2.1.9)

2012-06-02 Thread Mehdi Mortezai
Hello All,

I am new to your the Mailman Users' group. I manage Mailman 2.1.9 (a VM
Red Hat Enterprise 5 system) for my organization but I am new to Mailman
and don't know much about Python scripting.

I need to generate a monthly report on all my mailing lists that includes
each list's name, description, admin, and members.  I have come up with a
bash script using some Python scripts for Mailman that generates most of
the reporting but could not find a script or a way to extract a list's
description.

Any hint/help for pointing out how to extract the description of any list
via a bash script will be very much appreciated.

Thanks very much for your input.

Mehdi
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


  1   2   3   4   5   6   7   8   9   10   >