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


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


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


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


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


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


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


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

from Mailman import MailList

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

from Mailman import Utils

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

import dns.resolver

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


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 :

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

and replacing yours with that. That will probably get you past the
current issue, but there may be other things wrong.

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

> 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
> 
> >
> > from Mailman.i18n import _
> >
> >   File "/usr/lib/mailman/Mailman/i18n.py", line 36, in 
> >
> > _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 .
>
> --
> 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/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-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 
> 
> from Mailman.i18n import _
> 
>   File "/usr/lib/mailman/Mailman/i18n.py", line 36, in 
> 
> _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 .

-- 
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 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 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 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//pending.db file schema
PENDING_FILE_SCHEMA_VERSION = 2

# version number for the lists//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_list

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


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 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 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
" 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 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 regular expression filters

2015-02-04 Thread Malcolm Austen

On Wed, 04 Feb 2015 15:56:14 -, Mark Sapiro  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  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 
GENUKI trustee 
Pedigree User Group 
Oxfordshire FHS 
FFHS Communications Officer 
--
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  for a way
to do it with header_filter_rules.

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


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

On Tue, 03 Feb 2015 21:43:09 -, Mark Sapiro  wrote:

In Mailman, with Python regexps
, 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 
GENUKI trustee 
Pedigree User Group 
Oxfordshire FHS 
FFHS Communications Officer 
--
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
> 
> \_
> 
> 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
, 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 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 regular expression filters

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

\_

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  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 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  (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  (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 The 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-25 Thread Dennis Putnam
On 1/25/2015 7:39 PM, Mark Sapiro wrote:
> On 01/25/2015 07:49 AM, Dennis Putnam wrote:
>> This is a bit convoluted. I don't know if this is unique to the CentOS 7
>> implementation or standard but everything is spread out now even more. I
>> found that /usr/lib/mailman/templates no longer exists. That directory
>> contains just a README that says the location was changed to
>> /etc/mailman/templates. In addition, I see there is also an mm_cfg.py in
>> /etc/mailman which is a sym link to /var/lib/mailman/Mailman/mm_cfg.py.
>> Nothing like consistency. Why wasn't the templates directory also a
>> symlink? Sheesh!
>
>
> See the FAQ at  (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 file /etc/mailman/templates/en/help.txt appears to be correct.
>>> The first help.txt template found is the one being used. What does it
>>> contain?
>
> The file below looks OK, but you should never change a template in
> templates/en/. If you want to make a sitewide change, you should put the
> edited template in templates/site/en/. If you want to make a list
> specific change, you should put the edited template in lists/LISTNAME/en/
Although edited out of this reply, my reply for the first location in
the search order was correct and that is what was posted below.
>
> See the FAQ at .
>
> Given that the template seems OK, there may be something wrong with the
> Mailman/Commands/cmd_help.py module itself. Has this been edited?
Not intentionally.
>  Is
> there anything in Mailman's error log relating to these help commands?
No, that would be too easy. :-)
>
>
>> (sanitized)
>> -
>> Help for %(listname)s mailing list:
>>
>> This is email command help for version %(version)s of the "Mailman"
>> list manager.  The following describes commands you can send to get
>> information about and control your subscription to Mailman lists at
>> this site.  A command can be in the subject line or in the body of the
>> message.
>>
>> Note that much of the following can also be accomplished via the World
>> Wide Web, at:
>>
>> %(listinfo_url)s
>>
>> In particular, you can use the Web site to have your password sent to
>> your delivery address.
>>
>> List specific commands (subscribe, who, etc) should be sent to the
>> *-request address for the particular list, e.g. for the 'mailman'
>> list, use 'mailman-request@...'.
>>
>> About the descriptions - words in "<>"s signify REQUIRED items and
>> words in "[]" denote OPTIONAL items.  Do not include the "<>"s or
>> "[]"s when you use the commands.
>>
>> The following commands are valid:
>>
>> %(commands)s
>>
>> Commands should be sent to listname.requ...@somemailserver.com
>>
>> Questions and concerns for the attention of a person should be sent to
>>
>> listname.ow...@somemailserver.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/dap1%40bellsouth.net



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 07:49 AM, Dennis Putnam wrote:
> This is a bit convoluted. I don't know if this is unique to the CentOS 7
> implementation or standard but everything is spread out now even more. I
> found that /usr/lib/mailman/templates no longer exists. That directory
> contains just a README that says the location was changed to
> /etc/mailman/templates. In addition, I see there is also an mm_cfg.py in
> /etc/mailman which is a sym link to /var/lib/mailman/Mailman/mm_cfg.py.
> Nothing like consistency. Why wasn't the templates directory also a
> symlink? Sheesh!



See the FAQ at  (these RHEL/CentOS changes
are now over 10 years old).



> The file /etc/mailman/templates/en/help.txt appears to be correct.
>>
>> The first help.txt template found is the one being used. What does it
>> contain?


The file below looks OK, but you should never change a template in
templates/en/. If you want to make a sitewide change, you should put the
edited template in templates/site/en/. If you want to make a list
specific change, you should put the edited template in lists/LISTNAME/en/

See the FAQ at .

Given that the template seems OK, there may be something wrong with the
Mailman/Commands/cmd_help.py module itself. Has this been edited? Is
there anything in Mailman's error log relating to these help commands?


> (sanitized)
> -
> Help for %(listname)s mailing list:
> 
> This is email command help for version %(version)s of the "Mailman"
> list manager.  The following describes commands you can send to get
> information about and control your subscription to Mailman lists at
> this site.  A command can be in the subject line or in the body of the
> message.
> 
> Note that much of the following can also be accomplished via the World
> Wide Web, at:
> 
> %(listinfo_url)s
> 
> In particular, you can use the Web site to have your password sent to
> your delivery address.
> 
> List specific commands (subscribe, who, etc) should be sent to the
> *-request address for the particular list, e.g. for the 'mailman'
> list, use 'mailman-request@...'.
> 
> About the descriptions - words in "<>"s signify REQUIRED items and
> words in "[]" denote OPTIONAL items.  Do not include the "<>"s or
> "[]"s when you use the commands.
> 
> The following commands are valid:
> 
> %(commands)s
> 
> Commands should be sent to listname.requ...@somemailserver.com
> 
> Questions and concerns for the attention of a person should be sent to
> 
> listname.ow...@somemailserver.com
> -

-- 
Mark Sapiro The 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-25 Thread Dennis Putnam
On 1/24/2015 8:24 PM, Mark Sapiro wrote:
> 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:
This is a bit convoluted. I don't know if this is unique to the CentOS 7
implementation or standard but everything is spread out now even more. I
found that /usr/lib/mailman/templates no longer exists. That directory
contains just a README that says the location was changed to
/etc/mailman/templates. In addition, I see there is also an mm_cfg.py in
/etc/mailman which is a sym link to /var/lib/mailman/Mailman/mm_cfg.py.
Nothing like consistency. Why wasn't the templates directory also a
symlink? Sheesh!
>
> 1) lists/LISTNAME/en/ where LISTNAME is the name of the list you sent
> the request to
 This is the one it should be using and looks correct
(/var/lib/mailman/lists/LISTNAME/en/help.txt).
> 2) templates/DOMAIN/en/ where DOMAIN is the domain of the list
Does not exist.
> 3) templates/site/en/
Does not exist.
> 4) templates/en/
The file /etc/mailman/templates/en/help.txt appears to be correct.
>
> The first help.txt template found is the one being used. What does it
> contain?
>
>
(sanitized)
-
Help for %(listname)s mailing list:

This is email command help for version %(version)s of the "Mailman"
list manager.  The following describes commands you can send to get
information about and control your subscription to Mailman lists at
this site.  A command can be in the subject line or in the body of the
message.

Note that much of the following can also be accomplished via the World
Wide Web, at:

%(listinfo_url)s

In particular, you can use the Web site to have your password sent to
your delivery address.

List specific commands (subscribe, who, etc) should be sent to the
*-request address for the particular list, e.g. for the 'mailman'
list, use 'mailman-request@...'.

About the descriptions - words in "<>"s signify REQUIRED items and
words in "[]" denote OPTIONAL items.  Do not include the "<>"s or
"[]"s when you use the commands.

The following commands are valid:

%(commands)s

Commands should be sent to listname.requ...@somemailserver.com

Questions and concerns for the attention of a person should be sent to

listname.ow...@somemailserver.com
-

Thanks.



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 The 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  wrote:
> On 07/17/2014 08:28 AM, Pablo Montepagano wrote:
>>
>> When confirmations are sent, the FROM header does not follow this
>> pattern "Mailman ", 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\) (.*<)?(?P.+)\+(?P[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 "
> 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
> " which will be recognized by the
> default regexp, so only
>
> VERP_CONFIRMATIONS = Yes
>
> is needed in mm_cfg.py.
>
> --
> 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/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 ", 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\) (.*<)?(?P.+)\+(?P[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 "
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
" which will be recognized by the
default regexp, so only

VERP_CONFIRMATIONS = Yes

is needed in mm_cfg.py.

-- 
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 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 ", 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  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 
>
>
> That is what you get by default if VERP_CONFIRMATIONS = Yes
>
>
>> This is currently in my mm_cfg.py:
>>
>> VERP_CONFIRM_REGEXP = r'(?s)^(.*<)?(?P.+)\+(?P[^@+]+)@.*$'
>
> 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 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/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/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 


That is what you get by default if VERP_CONFIRMATIONS = Yes


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

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


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 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 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 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 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 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 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)
>  smtp to 
> skunk-works for
> 1 recips, completed in 0.162 seconds
> Feb 08 15:45:34 2014 (20889)
>  smtp to 
> skunk-works for
> 1 recips, completed in 0.085 seconds
> Feb 08 15:45:35 2014 (20889)
>  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 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 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)
>  smtp to skunk-works for
> 1 recips, completed in 0.162 seconds
> Feb 08 15:45:34 2014 (20889)
>  smtp to skunk-works for
> 1 recips, completed in 0.085 seconds
> Feb 08 15:45:35 2014 (20889)
>  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 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 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)
 smtp to skunk-works for
1 recips, completed in 0.162 seconds
Feb 08 15:45:34 2014 (20889)
 smtp to skunk-works for
1 recips, completed in 0.085 seconds
Feb 08 15:45:35 2014 (20889)
 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=, 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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
h

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=, 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
 and
. 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 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 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=, 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 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 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=, 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 .

-- 
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 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 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 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 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 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=, 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 .

-- 
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 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=, orig_to=, 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=, 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
> : Recipient address rejected: User unknown in 
> virtual mailbox table; from= 
> to= proto=ESMTP 
> helo=
...
> 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'

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=, orig_to=, 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=, 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
> : Recipient address rejected: User unknown in
> virtual mailbox table; from=
> to= proto=ESMTP
> helo=
...
> 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',

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
> : Recipient address rejected: User unknown in
> virtual mailbox table; from=
> to= proto=ESMTP
> helo=
...
> 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 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 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 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 finding template

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


On Sat, Jan 18, 2014 at 1:49 PM, Mark Sapiro  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


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


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 .

-- 
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
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 The 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! 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 
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 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 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 The 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! Mailman's Digest Option Sending Too Many Digests

2013-03-05 Thread Malcolm Austen
On Mon, 04 Mar 2013 21:14:44 -, Yosem Companys   
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 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


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 quell list address in personalised messages

2012-07-02 Thread Mark Sapiro
Geoff Shang  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 
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:


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
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 The 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 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 The 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 extract a list's description using abash or Python script (Mailman version 2.1.9)

2012-06-01 Thread Mark Sapiro
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 The 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 needed, mailing list deleted!

2012-05-13 Thread Mark Sapiro
Amit Bhatt wrote:

>Please let me know how to make public archive accessible and how one can 
>view the private archive by entering login iD and password.


To fix the public archive problem, there are two possibilities.

1) There is some problem with the archives/public/ structure. Either
there is no archives/public directory, or its group is not Mailman's
group or its mode is not 2775 or itts contents is not just symlinks
from LISTNAME to archives/public/LISTNAME. If that is the case, fix it.

2) There is some problem with the Alias /pipermail/ directive in the
web server. See
.


If you can log in to the private page and see the archives, but the
users can't using their list email address and password, I suspect
user error.

-- 
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
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 needed, mailing list deleted!

2012-05-13 Thread Amit Bhatt
After Giving a hard effort, the mailing list is restored by restoring the 
backup, but now the issue is with our  archive.
Users are facing an error 404 page not found while trying to access public 
archive.
Alternatively, when I set a private archive option from the admin interface, 
the archive is viewable to me, but it is asking other users to enter login 
and password. Users are doing this but it is still not opening.


Please let me know how to make public archive accessible and how one can 
view the private archive by entering login iD and password.


Thanks,

Amit Bhatt
- Original Message - 
From: "Mark Sapiro" 

To: "Amit Bhatt" ; 
Sent: Saturday, May 12, 2012 12:50 AM
Subject: Re: [Mailman-Users] Help needed, mailing list deleted!



Amit Bhatt wrote:


Some hacker has deleted our mailing list using backdoor shell spyware.
I expected my service provider would retrieve the list by restoring full 
backup. they restored the data, but mailing list is still not there!



The list settings, membership, etc. are all in the
lists/LISTNAME/config.pck file. Was that restored?


Since the above incidence is very shocking and disturbing for me and our 
subscribers, I would anticipate any ultimate and best possible solutions 
from you experts on this board.



We always try to do our best with any issue whether it's easy or hard
and whether it affects many people or only a few.

That said, your service provider is in a much better position to help
you with this than we are.

--
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
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 needed, mailing list deleted!

2012-05-11 Thread Mark Sapiro
Amit Bhatt wrote:
>
>Some hacker has deleted our mailing list using backdoor shell spyware.
>I expected my service provider would retrieve the list by restoring full 
>backup. they restored the data, but mailing list is still not there!


The list settings, membership, etc. are all in the
lists/LISTNAME/config.pck file. Was that restored?


>Since the above incidence is very shocking and disturbing for me and our 
>subscribers, I would anticipate any ultimate and best possible solutions from 
>you experts on this board.


We always try to do our best with any issue whether it's easy or hard
and whether it affects many people or only a few.

That said, your service provider is in a much better position to help
you with this than we are.

-- 
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
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 needed, mailing list deleted!

2012-05-11 Thread David
On Fri, May 11, 2012 at 1:20 PM, Amit Bhatt  wrote:

> Hi all,
>
> Some hacker has deleted our mailing list using backdoor shell spyware.
> I expected my service provider would retrieve the list by restoring full
> backup. they restored the data, but mailing list is still not there!
> Now, is there anyway to get it back? or we have to create new mailing list.
>

Do you have shell (and root/sudo) access to the server? Or are you limited
to cpanel?
--
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 Bounce Processing

2012-05-10 Thread Barry S, Finkel
te: Mon, 7 May 2012 10:15:07 -0400

Final-Recipient: RFC822; jlancas...@qatarairways.com.qa
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx1.qatarairways.com.qa
Diagnostic-Code: SMTP; 550 #5.1.0 Address rejected.
Last-Attempt-Date: Mon, 7 May 2012 10:15:50 -0400

Final-Recipient: RFC822; schin...@transmartconsulting.gr
Action: failed
Status: 5.1.2
Remote-MTA: DNS; transmartconsulting.gr
Diagnostic-Code: SMTP; 550 Host unknown
Last-Attempt-Date: Mon, 7 May 2012 10:19:19 -0400

Final-Recipient: RFC822; kwanghun.ch...@uclouvain.be
Action: failed
Status: 5.1.1
Remote-MTA: DNS; smtp.sgsi.ucl.ac.be
Diagnostic-Code: SMTP;550 5.1.1: Recipient
addressrejected: unknown address
Last-Attempt-Date: Mon, 7 May 2012 10:21:47 -0400

Final-Recipient: RFC822; seher...@uniandes.edu.co
Action: failed
Status: 5.1.1
Remote-MTA: DNS; avmx02.uniandes.edu.co
Diagnostic-Code: SMTP; 550 5.1.1 Recipient address rejected: User
unknown
Last-Attempt-Date: Mon, 7 May 2012 10:24:44 -0400

Final-Recipient: RFC822; js...@ust.hk
Action: failed
Status: 5.3.0
Remote-MTA: DNS; mx1.ust.hk
Diagnostic-Code: SMTP; 553 5.3.0... Recipient address no
longerexists
Last-Attempt-Date: Mon, 7 May 2012 10:25:27 -0400


The original message was received at Mon, 7 May 2012 09:50:13 -0400 from
localhost [127.0.0.1]

- The following addresses had permanent fatal errors -

 (reason: 550 5.1.1 unknown or illegal user:
kenneth.k...@canterbury.ac.nz)
 (reason: 550 #5.1.0 Address rejected.)
 (reason: 550 Host unknown)

 (reason: 511 Destinataire inconnu - Recipient unknown -
(muhammad.mazahi...@etudiants.ensam.eu))

 (reason: 550 5.1.1: Recipient address
rejected: User unknown)
 (reason: 550 Host unknown)

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net]
Sent: Tuesday, May 08, 2012 7:25 PM
To: Futchko, Rose
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] Help with Bounce Processing

On 5/7/2012 2:17 PM, Futchko, Rose wrote:


We are using Mailman 2.15 and have an unusual problem that I was
hoping that someone can help me with.


There is no 2.15. Do you mean 2.1.5?



We have close to 109 lists running
successfully, however there are times when bounce processing sends the
following message (over 100 times) in the span of a few hours to one
user/subscriber to the list. They are not the admin:



This is a Mailman mailing list bounce action notice:


Without seeing the complete message with all headers, it is virtually
impossible to guess what may be happening. Can you post a complete
message example with all headers?


I have looked at the rejection mail, and there are things that I do not
understand; maybe critical information has been modified/obscured.

It appears that a piece of mail was sent:

From: Elise Miller-Hooks 
  To: "transci-logistics-sect...@list.informs.org" 
,
"transci-logistics-soci...@list.informs.org" 


  Date: Mon, 7 May 2012 08:08:37 -0400

The mail that was sent appears to be a  "rejection message" from some 
mail that was
sent to a large number of invalid addresses.   I am not sure why the 
sender sent the
mail to two mailing lists.  If the lists are archived, look at the 
archives to see what
the original mail was.  In my experience with Mailman, mail sent to a 
list would
result in undeliverables returned back to the LISTNAME-bounce address, 
and Mailman
would process those undeliverables.  If the list is so-configured, then 
the last bounce
(that causes a subscriber's bounce score to reach its limit) will be 
sent to the list

owner(s).  With no knowledge of your lists, I do not know if this sender,
Elise Miller-Hooks, is a list owner and by mistake re-sent a rejection 
message back

to the list.
--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


Re: [Mailman-Users] Help with Bounce Processing

2012-05-09 Thread Futchko, Rose
nl.gov 
Diagnostic-Code: SMTP; 550 #5.1.0 Address rejected. 
Last-Attempt-Date: Mon, 7 May 2012 10:15:07 -0400 
 
Final-Recipient: RFC822; jlancas...@qatarairways.com.qa 
Action: failed 
Status: 5.1.1 
Remote-MTA: DNS; mx1.qatarairways.com.qa 
Diagnostic-Code: SMTP; 550 #5.1.0 Address rejected. 
Last-Attempt-Date: Mon, 7 May 2012 10:15:50 -0400 
 
Final-Recipient: RFC822; schin...@transmartconsulting.gr 
Action: failed 
Status: 5.1.2 
Remote-MTA: DNS; transmartconsulting.gr 
Diagnostic-Code: SMTP; 550 Host unknown 
Last-Attempt-Date: Mon, 7 May 2012 10:19:19 -0400 
 
Final-Recipient: RFC822; kwanghun.ch...@uclouvain.be 
Action: failed 
Status: 5.1.1 
Remote-MTA: DNS; smtp.sgsi.ucl.ac.be 
Diagnostic-Code: SMTP;550 5.1.1 : Recipient
addressrejected: unknown address 
Last-Attempt-Date: Mon, 7 May 2012 10:21:47 -0400 
 
Final-Recipient: RFC822; seher...@uniandes.edu.co 
Action: failed 
Status: 5.1.1 
Remote-MTA: DNS; avmx02.uniandes.edu.co 
Diagnostic-Code: SMTP; 550 5.1.1 Recipient address rejected: User
unknown 
Last-Attempt-Date: Mon, 7 May 2012 10:24:44 -0400 
 
Final-Recipient: RFC822; js...@ust.hk 
Action: failed 
Status: 5.3.0 
Remote-MTA: DNS; mx1.ust.hk 
Diagnostic-Code: SMTP; 553 5.3.0 ... Recipient address no
longerexists 
Last-Attempt-Date: Mon, 7 May 2012 10:25:27 -0400 


The original message was received at Mon, 7 May 2012 09:50:13 -0400 from
localhost [127.0.0.1]

   - The following addresses had permanent fatal errors -

(reason: 550 5.1.1 unknown or illegal user:
kenneth.k...@canterbury.ac.nz) 
(reason: 550 #5.1.0 Address rejected.) 
(reason: 550 Host unknown)

(reason: 511 Destinataire inconnu - Recipient unknown -
(muhammad.mazahi...@etudiants.ensam.eu))

(reason: 550 5.1.1 : Recipient address
rejected: User unknown) 
(reason: 550 Host unknown)

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Tuesday, May 08, 2012 7:25 PM
To: Futchko, Rose
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] Help with Bounce Processing

On 5/7/2012 2:17 PM, Futchko, Rose wrote:

> We are using Mailman 2.15 and have an unusual problem that I was 
> hoping that someone can help me with.


There is no 2.15. Do you mean 2.1.5?


> We have close to 109 lists running
> successfully, however there are times when bounce processing sends the

> following message (over 100 times) in the span of a few hours to one 
> user/subscriber to the list. They are not the admin:
> 
>  
> 
> This is a Mailman mailing list bounce action notice:


Without seeing the complete message with all headers, it is virtually
impossible to guess what may be happening. Can you post a complete
message example with all headers?

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

2012-05-08 Thread Mark Sapiro
On 5/7/2012 2:17 PM, Futchko, Rose wrote:

> We are using Mailman 2.15 and have an unusual problem that I was hoping
> that someone can help me with.


There is no 2.15. Do you mean 2.1.5?


> We have close to 109 lists running
> successfully, however there are times when bounce processing sends the
> following message (over 100 times) in the span of a few hours to one
> user/subscriber to the list. They are not the admin:
> 
>  
> 
> This is a Mailman mailing list bounce action notice:


Without seeing the complete message with all headers, it is virtually
impossible to guess what may be happening. Can you post a complete
message example with all headers?

-- 
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
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 for sibling list/avoid duplicate emails

2011-03-11 Thread Mark Sapiro
Marcello Villani wrote:

>Hi,
>I have the following lists in my environment:
>li...@mydomain.org
>li...@mydomain.org
>li...@mydomain.org
>
>Some members are inside two or three lists.
>
>My goal is to avoid duplicate emails for people who belong to more
>than one list!!


Don't cross post .


>I installed mailman 2.1.13: as far as I know this version has "sibling
>lists" option. The problem is that I didn't find a proper instruction
>to configure them neither the commands to use them...
>
>In the "web administrative pages/non digest options" of mailman I
>found  two commands:
>regular_exclude_lists
>regular_include_lists
>
>Do I need to use them?
>Can someone help me in this configuration?


Put li...@mydomain.org and li...@mydomain.org in listA's
regular_exclude_lists and li...@mydomain.org listB's
regular_exclude_lists.

A post to all three lists will be sent to members of listC only from
listC, to members of listB who aren't members of listC only from listB
and to members of only listA from listA.

Posts to just two of the three lists work similarly.

-- 
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
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 in understanding Mailman setup

2010-12-02 Thread Mark Sapiro
Robert Moskowitz wrote:

>Major success.  See below.
>
[...]
>On this fedora 12 system I finally found the directory at:
>
>/var/lib/mailman/lists


See the FAQ at .


>Is there a 'good' way to list the content of the config.pck file?  
>special characters in it.


/usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/LISTNAME/config.pck


[...]
>this is the same as the doc files I have been reading.  So I studied 
>postfix a bit more and took a plunge and got most things working.  
>Rather I got the list I created with the web interface working, but not 
>the mailman list I created with the script in the beginning.  Now that 
>might have been because I did not have other things set up right.
>
>I have one test user subscribed to both the 'mailman' and the 'newlist' 
>lists.  The 'newlist' works.  But with the 'mailman' list I get the error:
>
>: mail for mailman.htt-consult.com 
>loops back to myself
>
>Note this is the same domain as newl...@mailman.htt-consult.com  And 
>mailman.htt-consult.com is a virtual host name.


I'm guessing you followed the Postfix integration instructions as
indicated by the below, but you had previously created the 'mailman'
list so its virtual mappings are not in virtual-mailman.

Run as root or mailman

  /usr/lib/mailman/bin/genaliases

to rebuild the aliases and virtual-mailman files from the current
config.


>> If you need further help, please post the output of 'postconf -n', the
>> relevant parts of main.cf and the delivery status message from the
>> Postfix log or the received DSN when you attempt to mail to a list
>> address.
>
>When I first ran the '.../newlist mailman' it created the mailman list 
>and printed out lines to add to /etc/aliases and then to run 
>newaliases.  Now when I ran this I had NOT added the MTA line to the 
>mm_cfg.py file and that might have been why it was printed in this 
>manner?  Anyway below is my current mm_cfg.py and output from 'postconf 
>-n'.  I am planning on doing a rebuild of the system and see if I can 
>get through in one go-around a complete system build.  If I can, then I 
>can move my mail folders over from the running system and go live with 
>the new.  If not, well some more fiddling until I can try again
>
>mm-cfg.py (comment lines pulled for compactness):
>
[...]
>
>DEFAULT_URL_HOST   = 'mailman.htt-consult.com'
>DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com'
>
>VIRTUAL_HOSTS.clear()
>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com'


The above is a problem. It needs to be a sequence of domains, not a
single domain. This needs to be fixed before running genaliases. Make
it

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.htt-consult.com']

The square brackets are important.


>MTA = 'Postfix'
>
>
>postconf -n:
>
[...]

This looks OK to me. The important things are the mailman entries in 

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

and

virtual_alias_maps = 
 proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, 
 mysql:/etc/postfix/mysql-virtual_email2email.cf, 
 hash:/etc/mailman/virtual-mailman

However, you probably also want

recipient_delimiter = +

if you are ever going to enable any VERP options in Mailman.

-- 
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
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 in understanding Mailman setup

2010-12-02 Thread Robert Moskowitz

Major success.  See below.

On 12/02/2010 10:45 AM, Mark Sapiro wrote:

Robert Moskowitz wrote:
   

First my system is Fedora 12 with Postfix and an SQL database for the
users, virtual domains, forwarders, and transport.  See:
http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-12-x86_64

So I installed Mailman, ran the script to set its password, then the
modified the config file to support virtual host
(http:/mailman.domain.com/mailman) and postfix.  After this, I could run
the script that created the mailman list that then prints a bunch of
entries to add to /etc/aliases.  I am having major problems with these
aliases.  I don't know how to put commands in the SQL database (perhaps
it SHOULD work with the forwarder table) and the SQL virtual domain
setup is NOT working with what Mailman is expecting and these aliases
commands.  So that is one problem I am not figuring out.
 


See below.


   

But I went and created a second list via the http://./mailman/create
URL.  Where is the information about this list kept?  I can't find it.
No changes were made to /etc/aliases for this new list.  Perhaps if I
saw what a web created list needed I might figure out a way to get
things integrated.
 


All of a list's configuration and membership date is in Mailman's
lists/LISTNAME/ directory in a Python pickle file named config.pck.
You should see both a mailman/ directory and a/
directory, ewch containing config.pck, config.pck.last and possibly a
few other files.
   



On this fedora 12 system I finally found the directory at:

/var/lib/mailman/lists

Is there a 'good' way to list the content of the config.pck file?  
special characters in it.

You may be thinking that the 'mailman' list data is in the file
data/sitelist.cfg. That is not the case. The data/sitelist.cfg is a
suggestion intended to be used as input to config_list for the site
list because normal defaults may not be appropriate for the site list.
I.e.,

   bin/config_list -i data/sitelist.cfg mailman


   

I have asked over on the postfix list if anyone there is running Postfix
with SQL and mailman and so far only one person has piped up siging the
praises of Postfix with the SQL backend, but nothing on Mailman.  So I
need a bit of help here...
 


Mailman's aliases must be processed by Postfix's local delivery module.
If you are dealing with them manually, they can be put in
/etc/aliases, or Mailman/Postfix can be configured to generate them
automatically. However, this assumes that the delivery module for the
domain is Postfix local delivery. If you have put something in main.cf
that uses some other delivery for the mailman.domain.com domain. In
that case, you may find the FAQ at  of
interest.
   


this is the same as the doc files I have been reading.  So I studied 
postfix a bit more and took a plunge and got most things working.  
Rather I got the list I created with the web interface working, but not 
the mailman list I created with the script in the beginning.  Now that 
might have been because I did not have other things set up right.


I have one test user subscribed to both the 'mailman' and the 'newlist' 
lists.  The 'newlist' works.  But with the 'mailman' list I get the error:


: mail for mailman.htt-consult.com 
loops back to myself


Note this is the same domain as newl...@mailman.htt-consult.com  And 
mailman.htt-consult.com is a virtual host name.



If you need further help, please post the output of 'postconf -n', the
relevant parts of main.cf and the delivery status message from the
Postfix log or the received DSN when you attempt to mail to a list
address.


When I first ran the '.../newlist mailman' it created the mailman list 
and printed out lines to add to /etc/aliases and then to run 
newaliases.  Now when I ran this I had NOT added the MTA line to the 
mm_cfg.py file and that might have been why it was printed in this 
manner?  Anyway below is my current mm_cfg.py and output from 'postconf 
-n'.  I am planning on doing a rebuild of the system and see if I can 
get through in one go-around a complete system build.  If I can, then I 
can move my mail folders over from the running system and go live with 
the new.  If not, well some more fiddling until I can try again


mm-cfg.py (comment lines pulled for compactness):

# -*- python -*-

from Defaults import *
import pwd, grp

MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]

from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = 'mailman.htt-consult.com'
DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com'

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com'

MTA = 'Postfix'


postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
broken_sasl_auth_clients = yes

Re: [Mailman-Users] Help in understanding Mailman setup

2010-12-02 Thread Mark Sapiro
Robert Moskowitz wrote:
>
>First my system is Fedora 12 with Postfix and an SQL database for the 
>users, virtual domains, forwarders, and transport.  See:  
>http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-12-x86_64
>
>So I installed Mailman, ran the script to set its password, then the 
>modified the config file to support virtual host 
>(http:/mailman.domain.com/mailman) and postfix.  After this, I could run 
>the script that created the mailman list that then prints a bunch of 
>entries to add to /etc/aliases.  I am having major problems with these 
>aliases.  I don't know how to put commands in the SQL database (perhaps 
>it SHOULD work with the forwarder table) and the SQL virtual domain 
>setup is NOT working with what Mailman is expecting and these aliases 
>commands.  So that is one problem I am not figuring out.


See below.


>But I went and created a second list via the http://./mailman/create 
>URL.  Where is the information about this list kept?  I can't find it.  
>No changes were made to /etc/aliases for this new list.  Perhaps if I 
>saw what a web created list needed I might figure out a way to get 
>things integrated.


All of a list's configuration and membership date is in Mailman's
lists/LISTNAME/ directory in a Python pickle file named config.pck.
You should see both a mailman/ directory and a /
directory, ewch containing config.pck, config.pck.last and possibly a
few other files.

You may be thinking that the 'mailman' list data is in the file
data/sitelist.cfg. That is not the case. The data/sitelist.cfg is a
suggestion intended to be used as input to config_list for the site
list because normal defaults may not be appropriate for the site list.
I.e.,

  bin/config_list -i data/sitelist.cfg mailman


>I have asked over on the postfix list if anyone there is running Postfix 
>with SQL and mailman and so far only one person has piped up siging the 
>praises of Postfix with the SQL backend, but nothing on Mailman.  So I 
>need a bit of help here...


Mailman's aliases must be processed by Postfix's local delivery module.
If you are dealing with them manually, they can be put in
/etc/aliases, or Mailman/Postfix can be configured to generate them
automatically. However, this assumes that the delivery module for the
domain is Postfix local delivery. If you have put something in main.cf
that uses some other delivery for the mailman.domain.com domain. In
that case, you may find the FAQ at  of
interest.

If you need further help, please post the output of 'postconf -n', the
relevant parts of main.cf and the delivery status message from the
Postfix log or the received DSN when you attempt to mail to a list
address.

-- 
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
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 list mail not sending

2010-09-13 Thread Mark Sapiro
Trevor Bekolay wrote:
>
>The problem, for reference if anyone else has this issue (getting "You
>must supply a valid email address." when trying to see the subscribers
>list), the problem was in editing the html for the listinfo page.
> was deleted, but  remained, so
>the  tag was basically getting ignored.


Mailman 2.1.14, currently in the release cycle (see
)
with the final targeted for next Monday, addresses this at least
partially by moving the  tag closer to the
start of the actual subscribe form where it is less likely to be
overlooked when editing the page to remove the subscribe form.

-- 
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
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 list mail not sending

2010-09-13 Thread Trevor Bekolay
Thanks a lot, mail is sending fine now (as it always did, apparently).

The problem, for reference if anyone else has this issue (getting "You
must supply a valid email address." when trying to see the subscribers
list), the problem was in editing the html for the listinfo page.
 was deleted, but  remained, so
the  tag was basically getting ignored.

On Sat, Sep 11, 2010 at 10:32 AM, Mark Sapiro  wrote:
> Trevor Bekolay wrote:
>
>> - Members can't view the subscriber list through the listinfo page
>
> What happens when they try?
>
> Is Privacy options... -> Subscription rules -> private_roster set to
> 'Anyone' or 'List members'?
>
> Is General Options -> new_member_options -> Conceal the member's address
> unchecked?
>
> --
> Mark Sapiro         The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>
--
Mailman-Users mailing list Mailman-Users@python.org
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 list mail not sending

2010-09-11 Thread Mark Sapiro
Trevor Bekolay wrote:

> - Members can't view the subscriber list through the listinfo page

What happens when they try?

Is Privacy options... -> Subscription rules -> private_roster set to
'Anyone' or 'List members'?

Is General Options -> new_member_options -> Conceal the member's address
unchecked?

-- 
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
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 list mail not sending

2010-09-11 Thread Mark Sapiro
Trevor Bekolay wrote:
>
>And here are the Postfix logs from an email that Mailman tries to send
>to list subscribers:
>
>Sep 10 12:19:09 CTNSRV postfix/smtpd[11967]: 0415246459:
>client=CTNSRV[127.0.0.1]
>Sep 10 12:19:09 CTNSRV postfix/cleanup[11955]: 0415246459:
>message-id=
>Sep 10 12:19:09 CTNSRV postfix/qmgr[31165]: 0415246459:
>from=, size=2693, nrcpt=1 (queue
>active)
>Sep 10 12:19:09 CTNSRV postfix/smtp[11969]: 0415246459:
>to=,

  ^^


>relay=gmail-smtp-in.l.google.com[74.125.95.27]:25, delay=0.69,
>delays=0.05/0.01/0.13/0.5, dsn=2.0.0, status=sent (250 2.0.0 OK
>1284136207 f15si7070693ibb.27)
>Sep 10 12:19:09 CTNSRV postfix/qmgr[31165]: 0415246459: removed


Google throws it away. See the FAQ 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
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 - postfix rejecting mailing list addresses.

2010-09-09 Thread Daniel Maher

On 09/09/2010 01:14 AM, Waldo Ramirez wrote:



postfix is rejecting mailing list addresses. I was able to subscribe but
when I email list-requ...@domain.com or something

: Recipient address
rejected: User unknown in virtual mailbox table



Sounds like you don't have aliases for mailman set up.

http://www.list.org/mailman-install/node13.html

--
Daniel Maher 
"The Internet is completely over." -- Prince
--
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 - postfix rejecting mailing list addresses.

2010-09-09 Thread Mark Sapiro
Waldo Ramirez wrote:
>
>postfix is rejecting mailing list addresses. I was able to subscribe but
>when I email list-requ...@domain.com or something 
>
>: Recipient address
>rejected: User unknown in virtual mailbox table 


See  and
.

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

2010-08-05 Thread Mark Sapiro
Dave Foran wrote:
> 
>I ported all the data from /var/lib/mailman/   from the old, to the new
>system and it is working well to a point
> 
>I tried to create a new list from the mailman/admin page and I get an error
>I am not authorized to create lists


Either you did not port data/adm.pw and/or data/creator.pw or possibly
(or likely if the old system was pre 2.1.5) these are in a different
location.

Run bin/mmsitepass to set a new site and/or list creator password.


>The only issue I see is I have 2 mailman site lists. One that was ported
>over and one that got created when mailman starting running on teh new
>system


See the FAQ at  for help in determining
where to move things to in the new installation. If you had two site
lists, one of them (probably the ported one) was in the wrong place.

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

2010-07-27 Thread Mauricio Juarez

Thank you for your help but:

1. I changed the password fot the entire Mailman site with mmsitepass
2. I changed again all lists admin password with change_pw command line, 
I receive the new password by email without problem
3. I changed in each list Admin Website the moderator and admin 
password, in http:/mydomain/mailman/admin/LISTNAME and the Password 
option, only mailman list i can not (* see explication above)


Now I can used the new password, but the old password work too :(, I 
tried different browsers


_*EXPLICATION mailman list- I want to know sometime:
_
I can not make changes in my MAILMAN LIST 
http://mydomain/mailman/admin/mailman


mydomain = mail.example.com

And the Mailman list is configure with example.com in the host 
configuration, so I can go in  
http://mail.example.com/mailman/admin/mailman if I write the correct 
dmain, but I can not save a change, because the page 
http://example.com/mailman/admin/mailman doesnt exist, so I thing my 
problem of password is linked with that because is the only password 
list taht I can not change in the site.  Do you know how I can change 
the host example.com by mail.example.com in a command line? I can not 
change in the admin mailman website, because I can not save


So if I change the linked host example.com by mail.example.com in th 
mailman list, maybe I can try to change the password in this list too 
and my problem with the old password it is going to disappear



txs for your help


Le 2010-07-22 23:35, Mark Sapiro a écrit :

On 7/22/2010 8:11 PM, Anthony R. Thompson wrote:
   

On 7/21/2010 11:21 AM, Mauricio Juarez wrote:
 

- I use mailman to administrate my email lists
- I need absolutely change the Admin Lists password
- I used the command: change_pw in my /bin Mailman directory, all was
My old password work too, do you know why? I change the root password
too ( the same) but doesnt work, now the old password and the new one
worked Help plz
   

Mauricio, the confusion may come from the fact that there might be as
many as three "passwords" involved here:

1) The password for the entire Mailman site installation (which you may
not even have if you didn't install Mailman yourself; this is set with
the mmsitepass command line program)

2) The password for the list itself (which is set when the list is
created or later with change_pw as you wrote)
 


Stephen confused mmsitepass and change_pw in his reply. The above is
correct.


   

3) The passwords for the list owners if they're subscribed to the list.

The confusion arises, I think, because Mailman actually accepts all of
the above in terms of logging into the admin web interface for a list.
 


No. Mailman will not accept the owner's list member password (if
different from the list admin and site admin passwords) for logging in
to the admin web interface.

Also, as Stephen notes there is also a list moderator password which
allows access to the list's admindb page but not the admin pages. There
is no command line too so set the moderator password. it is set/changed
via the list's admin Passwords page.

   

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

2010-07-26 Thread Anthony R. Thompson

On 7/26/2010 11:19 AM, Mauricio Juarez wrote:

Thank you for your help but:
1. I changed the password fot the entire Mailman site with mmsitepass
2. I changed again all lists admin password with change_pw command line, 
I receive the new password by email without problem
3. I changed in each list Admin Website the moderator and admin 
password, in http:/mydomain/mailman/admin/LISTNAME and the Password 
option, only mailman list i can not (* see explication above)


Mauricio, I wrote a script to test a given password to see if it matches 
the site admin password, the list password for the given list, and the 
moderator password for the same list.


If you want to try it out, you can download it from 
http://blog.anthonyrthompson.com/listserv-to-mailman/code/utils/which_pw

(you'll need to change its permissions of course: chmod +rx which_pw)
The usage is: which_pw listname passwordtotest

(If your mailman files aren't in /usr/lib/mailman you'll need to modify 
the sys.path.append line in that file.)


I also modified a copy of change_pw to allow for changing the moderator 
password from the command line.  If you want or need to do that, it's at

http://blog.anthonyrthompson.com/listserv-to-mailman/code/utils/change_mod_pw

(same stuff about chmod and /usr/lib/mailman applies as with which_pw)

In addition to the stuff Mark wrote, I'd ask, did you install Mailman on 
the server or was it someone else?


I ask because it's possible that maybe the "mailman" list which you 
mentioned having problems with, is managed differently from other lists?


We have a managed server and after I set up all our "real" lists I went 
and deleted the "mailman" list thinking it was just a test/stub list. 
Good thing I mentioned doing that in passing to our server admin, who 
restored it and told me that it was an important special-purpose list.


Also, to find your Mailman version you can do bin/version (that's 
ultra-basic but I didn't know it until recently myself :)


Anyway, hope this helps,
Anthony

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

2010-07-26 Thread Mark Sapiro
Mauricio Juarez wrote:
>
>Thank you for your help but:
>
>1. I changed the password fot the entire Mailman site with mmsitepass
>2. I changed again all lists admin password with change_pw command line, 
>I receive the new password by email without problem
>3. I changed in each list Admin Website the moderator and admin 
>password, in http:/mydomain/mailman/admin/LISTNAME and the Password 
>option, only mailman list i can not (* see explication above)


It is not necessary to change the admin password via the web site as it
should have already been changed via change_pw.


>Now I can used the new password, but the old password work too :(, I 
>tried different browsers


Have you tried starting a new browser session and logging in with the
old password without first logging in with the new password?


>_*EXPLICATION mailman list- I want to know sometime:
>_
>I can not make changes in my MAILMAN LIST 
>http://mydomain/mailman/admin/mailman
>
>mydomain = mail.example.com
>
>And the Mailman list is configure with example.com in the host 
>configuration, so I can go in  
>http://mail.example.com/mailman/admin/mailman if I write the correct 
>dmain, but I can not save a change, because the page 
>http://example.com/mailman/admin/mailman doesnt exist, so I thing my 
>problem of password is linked with that because is the only password 
>list taht I can not change in the site.  Do you know how I can change 
>the host example.com by mail.example.com in a command line? I can not 
>change in the admin mailman website, because I can not save


  bin/withlist -l -r fix_url mailman -u mail.example.com


>So if I change the linked host example.com by mail.example.com in th 
>mailman list, maybe I can try to change the password in this list too 
>and my problem with the old password it is going to disappear


No. This at most will only affect the 'mailman' list, not any other
list, but if you changed the 'mailman' list password with change_pw,
it is already changed.

Exactly what Mailman version is this?

Note that prior to Mailman 2.1.13, you could set an empty site or list
password and that would allow logging in without a password. This is
fixed in Mailman 2.1.13.

Also note that in any Mailman 2.1.x version, only two passwords can be
successfully used to access a list's admin interface. These are the
site password set by bin/mmsitepass and the list admin password set by
bin/change_py or via the web list admin Passwords page. You can
disable the site password by removing Mailman's data/adm.pw file and
then only the single list admin password should work.

If this is not happening in your case, I can't explain why without more
information, but as I said, in any case, there should be at most 2
passwords that will work for accessing a list's web admin interface,
the site password and the list's admin password. Neither of these can
have multiple values.

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

2010-07-22 Thread Mark Sapiro
On 7/22/2010 8:11 PM, Anthony R. Thompson wrote:
> On 7/21/2010 11:21 AM, Mauricio Juarez wrote:
>> - I use mailman to administrate my email lists
>> - I need absolutely change the Admin Lists password
>> - I used the command: change_pw in my /bin Mailman directory, all was
>> My old password work too, do you know why? I change the root password
>> too ( the same) but doesnt work, now the old password and the new one
>> worked Help plz
> 
> Mauricio, the confusion may come from the fact that there might be as
> many as three "passwords" involved here:
> 
> 1) The password for the entire Mailman site installation (which you may
> not even have if you didn't install Mailman yourself; this is set with
> the mmsitepass command line program)
> 
> 2) The password for the list itself (which is set when the list is
> created or later with change_pw as you wrote)


Stephen confused mmsitepass and change_pw in his reply. The above is
correct.


> 3) The passwords for the list owners if they're subscribed to the list.
> 
> The confusion arises, I think, because Mailman actually accepts all of
> the above in terms of logging into the admin web interface for a list.


No. Mailman will not accept the owner's list member password (if
different from the list admin and site admin passwords) for logging in
to the admin web interface.

Also, as Stephen notes there is also a list moderator password which
allows access to the list's admindb page but not the admin pages. There
is no command line too so set the moderator password. it is set/changed
via the list's admin Passwords page.

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

2010-07-22 Thread Anthony R. Thompson

On 7/21/2010 11:21 AM, Mauricio Juarez wrote:

- I use mailman to administrate my email lists
- I need absolutely change the Admin Lists password
- I used the command: change_pw in my /bin Mailman directory, all was 
My old password work too, do you know why? I change the root password 
too ( the same) but doesnt work, now the old password and the new one 
worked Help plz


Mauricio, the confusion may come from the fact that there might be as 
many as three "passwords" involved here:


1) The password for the entire Mailman site installation (which you may 
not even have if you didn't install Mailman yourself; this is set with 
the mmsitepass command line program)


2) The password for the list itself (which is set when the list is 
created or later with change_pw as you wrote)


3) The passwords for the list owners if they're subscribed to the list.

The confusion arises, I think, because Mailman actually accepts all of 
the above in terms of logging into the admin web interface for a list. 
So you might have changed one but not another, and it's still accepting 
the "old" password because of that.


If this doesn't help, do you remember the commands you used?  (sanitize 
the password of course, i.e., don't post real passwords on this list)


I only ask because some of your terminology is a little bit ambiguous. 
For example:


* "I use mailman to administrate my email lists" - how many lists are 
you talking about?  How many did you run change_pw for (or did you use 
the --all option for all lists at once)?  How many are exhibiting the 
confusing "accept old password" behavior?


* You said your old password works too - where is it that it "works"; do 
you mean logging into the web admin interface for the list (and is this 
the case for one list or multiple lists)?


* Similarly, when you said "I need absolutely change the Admin Lists 
password", what is it that you're trying to protect, the ability to log 
into the admin interface? (such as 
http://yourdomain.com/cgi-bin/mailman/admin/listname or 
http://yourdomain.com/mailman/admin/listname)


I can think of some Python code you could run at the command line to see 
which password is which, but how comfortable would you be with the Unix 
shell to run test Python code there?


hope this helps,
Anthony

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

2010-07-22 Thread Mark Sapiro
Mauricio Juarez wrote:
>
>- I need absolutely change the Admin Lists password
>
>- I used the command: change_pw in my /bin Mailman directory, all was 
>OK, I can use my new password for all the lists but
>
>My old password work too, do you know why? I change the root password 
>too ( the same) but doesnt work, now the old password and the new one 
>worked Help plz


I suspect you changed the password and then logged in with the new
password and then tried the old password, but you already had the
cookie from the successful login so the old password appeared to work.

Try the old password in a brand new browser session.

The other possibility is that the old password is the site password set
by bin/mmsitepass. Did you change that too?

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

2010-06-16 Thread Keith Blackie

Geoff & Mark
I appreciate the info. I'll try the settings and see if everything works as 
I need it to.


Thanks
Keith

Sent: Wednesday, June 16, 2010 12:19 PM
Subject: Re: [Mailman-Users] Help with Mailman configuration



On Wed, 16 Jun 2010, Keith Blackie wrote:

I have a mailing list that I need to setup. This mailing list will 
comprise

of several hundred addresses that will be subscribed by using the mass
subscription function. I need the following in place:

1) Only admins, moderators and list owner may post to mailing list - all
other posts are deleted


Short answer: Make all new members moderated by default and set member 
moderation action to either reject or discard (both of these are in 
Privacy>Sender filters).  Then unmoderate those who are allowed to post.


Long answer: There is an FAQ on one-way lists. 
http://wiki.list.org/pages/viewpage.action?pageId=4030685



2) Sender is anonymous


Anonymous_list in General options.

3) Recipients may reply to the email and it will be sent to the admin 
and/or

moderator and list owner


In General Options, set it to strip any reply-to addresses, then set the 
reply-to to a specific address and set the address to reply to.  I suggest 
listname-ow...@example.com (obviously substitute listname ane example.com 
as appropriate).



4) No subscription notification or unsub notification should be sent


This is also in General Options - admin_notify_mchanges

5) Unsubscribe recipient immediately if email address fails and notify 
admin

and/or moderator and list owner


I assume you mean if the address bounces during normal list use.  This 
would probably require changes to Mailman's bounce processing.  You could 
set the bounce threshold very low and it will suspend delivery with a 
notificatio, but it won't unsubscribe them immediately.



6) Users may not subscribe


I think this can be done but not sure exactly how.  Maybe by banning 
everyone?  I vaguely recall a simpler way but it's not coming to me.



7) Users may unsubscribe themselves


This is normal.


This is on a server for which I have only the administrative access to my
mailing lists. I hope I can get this in place and working properly, or at
least something close.


The above should be possible without access to the shell.  If you want to 
hack the bounce processing then this will require shell access and will of 
course affect all lists.


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


  1   2   3   4   5   6   7   >