Re: [Mailman-Users] Fwd: Fwd: [Spip-Ann] Discover UAE National Day Deals

2015-11-22 Thread Fil
> Is there a question in this or is it just an informational report?
>

Hi Mark,

it's mainly a report, the underlying question being "what happened? is
there a problem somewhere?".


> > First, the message was received and rejected by the list moderators
> >
> > logs/vette.log:Nov 22 14:56:45 2015 (10257) Message rejected, msgid: <
> > 20151122135632.c128e412...@mst135.mdreg-mstnew.qlc.co.in>
>
>
> This is not a moderator reject. This message was logged by
> IncomingRunner after some handler in the pipeline raised
> Errors.RejectMessage. This could have happened for example because it
> was a non-member post and the list is configured to reject a non-member
> post.
>
In 2.1.20, there should be another 3 lines in this log message giving
> the list name, the handler and  the reject reason.
>


You are right: it was discarded automatically

Nov 22 14:56:45 2015 (10257) Message rejected, msgid:
<20151122135632.c128e412...@mst135.mdreg-mstnew.qlc
list: spip-ann,
handler: Moderate,
reason: (blah blah blah)


So a handler said to reject the message. The reject was logged and then
> the BounceMessage method was called to send a reject notice. The
> BounceMessage method encountered the above exception when trying to
> queue the reject notice in the virgin queue, and because of this
> exception, the original message was shunted.
>

Secondary question: how comes there can be a memory exception on trying to
load spip-ann/extend.py (which is non-existent).


> Unfortunately, when the message is shunted, the handler that rejected
> the message has already been popped from the pipeline so the unshunted
> message begins processing with the subsequent handler and is not rejected.
>

Thanks for the explanations.


> I have a few observations.
>
> 1) The skipping of the handler throwing the exception upon unshunting
> seems to be a bug.
>

Agreed.



> 2) Rejecting rather than discarding unwanted posts produces backscatter
> and is not a good idea in general.
>

OK. I have configured that list to instead discard and send to the
moderators.



> 3) Normally, I think it is rare that unshunting a shunted post without
> analyzing and fixing the underlying exception will succeed. In any case,
> blindly running unshunt via cron is probably not a good idea. Is there
> some unusual situation that makes you want to do this?
>


I think I added this cron job a few years ago after I found many legitimate
emails had ended in the shunt directory. I run about 800 lists on the
server which helps explain why some choices are sometimes gross :)

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


[Mailman-Users] spam coming through a moderated list after a shunt

2015-11-22 Thread Fil
Hello,

a spam went through a moderated list today, and the story is weird. Here's
what I understand/ (mailman version 2.1.20)


First, the message was received and rejected by the list moderators

logs/vette.log:Nov 22 14:56:45 2015 (10257) Message rejected, msgid: <
20151122135632.C128E412040 at mst135.mdreg-mstnew.qlc.co.in>



Then, the (rejected!) message was sent to the list members;


logs/post.log:Nov 22 17:05:41 2015 (15369) post to spip-ann from
mails at clovertourism.com, size=4374, message-id=<
20151122135632.C128E412040 at mst135.mdreg-mstnew.qlc.co.in>, success
logs/smtp.log:Nov 22 17:05:41 2015 (15369) <
20151122135632.C128E412040 at mst135.mdreg-mstnew.qlc.co.in> smtp to
spip-ann
for 2880 recips, completed in 2.228 seconds


The "reason" why this went through at 17+ is that I have a cron job that
tries to unshunt messages each day at that hour. So the (discarded then
shunted) message was unshunt and sent to the list.

logs/error.log:Nov 22 14:56:44 2015 (10257) IOError reading list extension:
[Errno 12] Cannot allocate memory:
'/var/local/mailman/lists/spip-ann/extend.py'
logs/error.log:Nov 22 14:56:45 2015 (10257) Uncaught runner exception:
[Errno 12] Cannot allocate memory: '/var/local/mailman/qfiles/virgin'
logs/error.log:Nov 22 14:56:45 2015 (10257) Traceback (most recent call
last):
logs/error.log:Nov 22 14:56:45 2015 (10257) SHUNTING:
1448200600.413774+c9883eaaeaec5a744cfe6a49237d51c2c0373b98


-- Fil

(sorry for the initial message with wrong subject line)
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Fwd: Fwd: [Spip-Ann] Discover UAE National Day Deals

2015-11-22 Thread Fil
Hello,

a spam went through a moderated list today, and the story is weird. Here's
what I understand/ (mailman version 2.1.20)


First, the message was received and rejected by the list moderators

logs/vette.log:Nov 22 14:56:45 2015 (10257) Message rejected, msgid: <
20151122135632.c128e412...@mst135.mdreg-mstnew.qlc.co.in>



Then, the (rejected!) message was sent to the list members;


logs/post.log:Nov 22 17:05:41 2015 (15369) post to spip-ann from
ma...@clovertourism.com, size=4374, message-id=<
20151122135632.c128e412...@mst135.mdreg-mstnew.qlc.co.in>, success
logs/smtp.log:Nov 22 17:05:41 2015 (15369) <
20151122135632.c128e412...@mst135.mdreg-mstnew.qlc.co.in> smtp to spip-ann
for 2880 recips, completed in 2.228 seconds


The "reason" why this went through at 17+ is that I have a cron job that
tries to unshunt messages each day at that hour. So the (discarded then
shunted) message was unshunt and sent to the list.

logs/error.log:Nov 22 14:56:44 2015 (10257) IOError reading list extension:
[Errno 12] Cannot allocate memory:
'/var/local/mailman/lists/spip-ann/extend.py'
logs/error.log:Nov 22 14:56:45 2015 (10257) Uncaught runner exception:
[Errno 12] Cannot allocate memory: '/var/local/mailman/qfiles/virgin'
logs/error.log:Nov 22 14:56:45 2015 (10257) Traceback (most recent call
last):
logs/error.log:Nov 22 14:56:45 2015 (10257) SHUNTING:
1448200600.413774+c9883eaaeaec5a744cfe6a49237d51c2c0373b98


-- Fil
--
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] DMARC documentation lacking

2015-04-23 Thread Fil
On Thu, Apr 23, 2015 at 7:29 AM, Fil f...@rezo.net wrote:

 1) how to add a default value in mm_cfg.py
 from the release notes I guess it's something like
 DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge


just to be clear: this line doesn't seem to bring anything to exiting
lists, which behave normal unless I go and set up
/mailman/admin/${LISTNAME}/?VARHELP=general/from_is_list

-- Fil
--
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] DMARC documentation lacking

2015-04-23 Thread Fil
 1) how to add a default value in mm_cfg.py
from the release notes I guess it's something like
DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge
   
  
   just to be clear: this line doesn't seem to bring anything to
   exiting lists, which behave normal unless I go and set up
   /mailman/admin/${LISTNAME}/?VARHELP=general/from_is_list

 That's normal behavior for Mailman configuration.  The DEFAULT_
 variables are used at list creation time only, I beleve.

 I suppose the rationale is that you really don't want all your
 existing lists to suddenly *change* behavior because you change the
 default.  Perhaps we could have a DEFAULT (for creation time) and a
 FALLBACK (for lists without a specific setting).


OK, makes sense :)

I really did want to change all my 700+ lists, so I wrote the configuration
directive to a file, then applied it to all lists:

echo dmarc_moderation_action = 1  dmarc1.cfg
for i in $(bin/list_lists -b); do
   echo $i;
   bin/config_list -i dmarc1.cfg $i;
done

Hope this can help someone else :)

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


[Mailman-Users] DMARC documentation lacking

2015-04-22 Thread Fil
Hello,

just upgraded from 2.1.16 to 2.1.20, because I was fed up with the DMARC
issue. I googled a bit and found http://wiki.list.org/DEV/DMARC but it
lacks info, especially:

1) how to add a default value in mm_cfg.py
from the release notes I guess it's something like
DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge

2) what numbers correspond to each action
(I dug them out from a comment in SpamDetect.py)
# Note that for dmarc_moderation_action, 0 = Accept,
#1 = Munge, 2 = Wrap, 3 = Reject, 4 = Discard

(I would have updated http://wiki.list.org/DEV/DMARC but it's immutable.)

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


[Mailman-Users] traceback: TypeError: expected string or buffer

2015-04-22 Thread Fil
Apr 23 06:23:46 2015 (19383) SHUNTING:
1422957261.069973+11febcd5ef3a2e5ca1331e7ee7dddb0f11888759
Apr 23 06:23:46 2015 (19383) Uncaught runner exception: expected string or
buffer
Apr 23 06:23:46 2015 (19383) Traceback (most recent call last):
  File /var/local/mailman/Mailman/Queue/Runner.py, line 119, in _oneloop
self._onefile(msg, msgdata)
  File /var/local/mailman/Mailman/Queue/Runner.py, line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /var/local/mailman/Mailman/Queue/IncomingRunner.py, line 130, in
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File /var/local/mailman/Mailman/Queue/IncomingRunner.py, line 153, in
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File /var/local/mailman/Mailman/Handlers/SpamDetect.py, line 142, in
process
headers += getDecodedHeaders(p, lcset)
  File /var/local/mailman/Mailman/Handlers/SpamDetect.py, line 74, in
getDecodedHeaders
v = decode_header(re.sub('\n\s', ' ', v))
  File /usr/lib/python2.7/re.py, line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer


I tried to investigate a bit but it appears that in some cases, v is an
instance, and the message goes to qfiles/shunt/

Does it ring a bell? (I have to say it might be linked to one of my local
patches, though I really can't see which.)


thanks

-- Fil
--
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] MM-2.1.15: Small bug regarding the request forgery check

2014-05-12 Thread Fil
On Wed, May 7, 2014 at 4:18 PM, Mark Sapiro m...@msapiro.net wrote:


 And what generates that URL? Do you have a local mod for this? I don't
 see where in the admin UI such a URL is generated or recognized.


hmmm -- now that you mention it... maybe it's coming from one of the patches I
did around the MySQL MemberAdaptor, so the roster could work with 300k
members.

-- Fil
--
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] MM-2.1.15: Small bug regarding the request forgery check

2014-05-07 Thread Fil
Hi everyone,

I had this issue with MM 2.1.16 and the listname/members?start=(email) URL:
it would display the message Error: The form lifetime has expired. (request
forgery check) at the top of the page.

Dug in my archives and found this reference:

On Sun, Nov 11, 2012 at 7:09 PM, Odhiambo Washington odhia...@gmail.comwrote:

Error: The form lifetime has expired. (request forgery check)
  
  
   I found and fixed this several days ago. See
   http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1366
 .
 



My problem was fixed by adding the parameter 'start' to the list of safe
params on hte very same line of Cgi/admin.py


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


[Mailman-Users] Mailman under attack

2013-11-14 Thread Fil
Hello,

I just noticed a lot of backscatter spam, my Mailman installation was
starting to send subscription verifications to a lot of
ALLCAPS@hotmail.comaddresses, on a test list that no one is supposed
to be using.

I traced it to this site :

http://4478.a.hostable.me/vinabot/bommail/Boom.html

if you view source you will see that it opens a lot of iframes on 284
Mailman installations, and tries to auto-subscribe its victims email
adresses to different lists (392 in total).

I have put the page HTML source as well as the list of targeted servers and
lists in the attached zip file.

Do you know how to stop this efficiently?

-- Fil
--
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] Mailman under attack

2013-11-14 Thread Fil
The attachment was deleted, you can find it here:

targets:
https://www.dropbox.com/s/d6ddmgx3iljubot/boom-backscatter-targets.txt
zip containing the attacker's page source:
https://www.dropbox.com/s/tlofz5wg8l8w47a/boom-backscatter.zip

-- Fil


On Thu, Nov 14, 2013 at 7:32 PM, Fil f...@rezo.net wrote:

 Hello,

 I just noticed a lot of backscatter spam, my Mailman installation was
 starting to send subscription verifications to a lot of
 allc...@hotmail.com addresses, on a test list that no one is supposed to
 be using.

 I traced it to this site :

 http://4478.a.hostable.me/vinabot/bommail/Boom.html

 if you view source you will see that it opens a lot of iframes on 284
 Mailman installations, and tries to auto-subscribe its victims email
 adresses to different lists (392 in total).

 I have put the page HTML source as well as the list of targeted servers
 and lists in the attached zip file.

 Do you know how to stop this efficiently?

  -- Fil

--
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] Disaster recovery: fastest / best route advice sought

2013-09-25 Thread Fil
I would suggest that, on the Web server, you just proxy /mailman/ to your
Mailman's web service.

If you're using apache, something like this on the Web front-end will do:

ProxyPass /mailman http://ml.example.com/mailmanProxyPassReverse
/mailman http://ml.example.com/mailman

If you're using varnish, all the better, just define the mailman URL as a
backend.

-- Fil


On Wed, Sep 25, 2013 at 8:34 PM, Richard rich...@karmannghia.org wrote:


 Well Gang,

 I never did get mail working properly until this morning, and I'm just now
 focusing my attention back on mailman - can't worry about a mailing list
 manager when there's no competent mail services! (Note: FC19 is a bad
 choice for a server - I'll say no more about it.)

 ...This means we had our event and of course never had any email
 communications before it and, unfortunately, it was the worse for it...


 On Fri, 20 Sep 2013, Mark Sapiro wrote:


 cat /usr/lib/mailman/Mailman/**Version.py and look at

 MAJOR_REV = 2
 MINOR_REV = 1
 MICRO_REV = 16
 REL_LEVEL = GAMMA


 Thanks, Mark, I'v apparently been using 2.1.13.

 I presume that, with the goal of restoring between versions, there aren't
 any significant issues with either loading into mailman.x86_64
 3:2.1.15-12.fc19, or possibly mailman-2.1.14-12.fc16.x86_64.**.. I'm
 still reading up on the articles you pointed me at.

 Nobody responded regarding splitting web and email activities - is this
 even possible? Right now is the time for me to decide which route to take.
 Whichever route, it won't be fun!

 Right now the email services are being performed by an older internal
 server which has some good advantages for users, but it doesn't at present
 expose web services, and I haven't got a gateway / firewall that can
 forward port 80 because they're already in service serving httpd... ...I'm
 concerned that running on other than port 80 will cause other kinds of
 problems. I'm also not anxious to the risk of opening up an nfs disk to
 such a system, but could that even work?

 Any thoughts, please? If you think splitting things up is unrealistic,
 please say so! Otherwise, I might be dumb (desperate) enough to try it and
 I've lost a lot of time as it is!

 Thanks much,

 Richard

 --
 Richard Troy, Founder  current President
 The Karmann Ghia Club of North America
 4200 Park Blvd, #151, Oakland CA 94602, USA

 rich...@karmannghia.org, 
 http://KarmannGhia.org/**Richard/http://KarmannGhia.org/Richard/
 --**
 Mailman-Users mailing list Mailman-Users@python.org
 https://mail.python.org/**mailman/listinfo/mailman-usershttps://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/http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: https://mail.python.org/**mailman/options/mailman-users/**
 fil%40rezo.nethttps://mail.python.org/mailman/options/mailman-users/fil%40rezo.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] What is the best way to avoid fake senders?

2010-04-02 Thread Fil
 I am investigating ways how to avoid any fake senders trying to get through
 and approach my recipients.
 a) use envelope_sender to figure out the sender

might not work in some cases (e.g. I write this email from a GMail
account with a rezo.net address)

 b) moderate all posts

What I do is route the l...@server address to me, and use Bcc:
list-p...@server when I send my emails. I also have moderation on,
just in case.

-- Fil
--
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] Mailman / Postfix and Google Apps

2009-10-22 Thread Fil
Hi Kirth,

You can set up GApps to route incoming mail to your machine. e.g.
register domain.tld to GApps, lists.domain.tld to your mailman box,
and set up GApps to route inbound messages to lists.domain.tld,
rewriting the envelope on the way.

The route settings allow you to choose to route only adresses that
(do|don't) correspond to a local account on the GApps side. So you can
keep u...@domain.tld on the google servers, and route all unknown-* to
your lists box.

That's the theory anyway. I haven't taken the time to actually set
things up, but I will probably soon. Keep us posted if you keep a log
of your experiments.

-- Fil
--
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] Patch for use of Postfix VERP support

2009-05-13 Thread Fil
Hi,

the VERP system is good to detect bounces, but it has issues when lots
of subscribers are on the same server:

(delivery temporarily suspended: connect to
smtp..xxx.xxx[x]: Connection timed out)
(host mx01..xxx[x] refused to talk to me: 421 4.3.2 Connection
rate limit exceeded.)

As the emails are sent one by one the connection rate to these systems
can get very high, and we get delayed.

Ideas?

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Greetings and Question

2009-03-18 Thread Fil
 Longer answer: mailto:listname-requ...@domain.tld who password

Apparently this doesn't work with the site password


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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Poster not Receiving Postings

2009-03-16 Thread Fil
 That's a known problem with gmail.

Some of us appreciate the feature of non-duplication based on Message-Id.

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman 2.1.9 - Fedora 8 - upgrade

2009-02-14 Thread Fil
 http://mail.python.org/pipermail/mailman-developers/2004-October/017343.html
 for more on this. There is a patch attached to that post which is
 against an older (2.1.5 I think) base which you could probably apply
 to 2.1.12 and then configure and make to match your existing
 installation.

Could we not include this patch? It would make it easier for many people

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Management

2009-02-09 Thread Fil
 When a user reaches the threshold for bouncing, does the e-mail address
 get removed from all lists on the server or just the list for which they
 were bouncing?

It is on a list-per-list basis. Hopefully MM3 will be able to offer a
choice with its database backend, but with the file-based MM2 global
removal would certainly be clumsy to implement

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailing list servers ..

2009-02-03 Thread Fil
Spam apart, does such a service exist?  A mail relay that works with
major email providers to have the best delivery rates?

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Patch for use of Postfix VERP support

2009-01-05 Thread Fil
Hello,

I'm trying to document the VERP stuff, and I'm at a loss finding where
scripts/bounces exploits the VERP information on bounces.
scripts/bounces mentions VERP but does not actually process the info

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Patch for use of Postfix VERP support

2009-01-03 Thread Fil
Hi Jesper,

I've done the following, with little success so far:
1) applied your patch to Mailman/Defaults.py and Mailman/Handlers/SMTPDirect.py
2) added the 2 configuration lines in Mailman/mm_cfg.py
3) restarted mailman :-)
4) added to /etc/postfixmain.cf the line
   smtpd_authorized_verp_clients=127.0.0.0/8
5) reloaded postfix

But no luck: I still receive messages with Return-Path: test-boun...@rezo.net

a small HOWTO would be very useful.



On Sat, Jan 3, 2009 at 1:06 AM, Jesper Dybdal
jd-mailman-us...@dybdal.dk wrote:
 I was surprised to find that the standard distribution had no support
 for the Postfix VERP feature, which can create VERP return paths much
 more efficiently than when Mailman does it itself.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Patch for use of Postfix VERP support

2009-01-03 Thread Fil
On Sat, Jan 3, 2009 at 4:16 PM, Jesper Dybdal
jd-mailman-us...@dybdal.dk wrote:
 VERP_PROBES = Yes
 VERP_PASSWORD_REMINDERS = Yes
 VERP_PERSONALIZED_DELIVERIES = Yes
 VERP_DELIVERY_INTERVAL = 1
 VERP_CONFIRMATIONS = Yes
 VERP_STYLE = 'Postfix'

Yay, it works, takk.

One thing to note: local addresses such as mine (f...@rezo.net is
defined in /etc/postfix/virtual as an alias for rec...@gmail.com) will
be VERPed to test-bounces+recifs=gmail.com and not
test-bounces+fil=rezo.net

So I now guess we have the README file ready. Will you give it an
official home and link it from the patch file?

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Patch for use of Postfix VERP support

2009-01-03 Thread Fil
Another difference to mention in the README is that the postfix logs
will show the normal (unVERPed) addresses instead of the VERPed
addresses:

Jan  3 16:28:09 alan postfix/qmgr[17364]: 4754D3B05C7:
from=test-boun...@rezo.net, size=3082, nrcpt=4 (queue active)
Jan  3 16:28:10 alan postfix/smtp[27894]: 4754D3B05C7: to=rec...@gmail.com,
orig_to=f...@rezo.net, relay=gmail-smtp-in.l.google.com[216.239.59.27]:25,
delay=0.72, delays=0.11/0.02/0.14/0.45, dsn=2.0.0, status=sent (250 2.0.0 OK
1230996360 t2si31343988gve.31)

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

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] deletion reason in email template

2008-10-31 Thread Fil
Hello,

is there a possibility to add, in the email template sent to the list
owner when someone is deleted, the REASON (BYBOUNCE etc) ?

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] /bin/sh: mailman: command not found

2008-10-19 Thread Fil
There are two formats for CRON files:

1) in /etc/cron.d/
* * * * *  USER   COMMAND

2) in the user's crontab
* * * * *  COMMAND

from your message maybe you are using the cron.d format in a user crontab

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] getting list members from mysql

2008-09-14 Thread Fil
 (I only want to get one single mailing list to fetch members from MySQL, the
 other lists would use the standard Mailman DB)

You will probably use bin/sync_members on a script that output the
list of subscribers periodically

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] getting list members from mysql

2008-09-14 Thread Fil
 You can use the list specific extend.py mechanism to activate the MySQL
 MemberAdaptor for a single list.
 However, since Fil himself is recommending a different method, the
 adaptation of the MySQL MemberAdaptor to your database may not be easy.

Yes it could work too; but it would mean that Mailman is using this
database as its primary DB (at least for this list), where it's
storing bounce info and so on; from what I understand, there we have a
DB that already exists and from which we want to extract the
addresses?

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Multi list management ..

2008-09-07 Thread Fil
On Sun, Sep 7, 2008 at 4:59 AM,  [EMAIL PROTECTED] wrote:
 You might want to run Mailman with MySQL support. It's not official
 but it works.
 See http://trac.rezo.net/trac/rezo/browser/Mailman

 Is that still limited to one outgoing thread?   Does is send faster than
 normal?

It's the same thing for delivery, but it makes the admin space faster.

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Multi list management ..

2008-09-06 Thread Fil
 I have a huge newsletter list (no discussion) that no dedicated server can 
 handle, for mailman eats up the whole memory .. thus I divided it to several 
 lists on different servers .. and I do the subscription and cancellation 
 peocesses manually, I collect the requests on email addresses for 
 subscriptions and cancellations then process them manually ..

You might want to run Mailman with MySQL support. It's not official
but it works.
See http://trac.rezo.net/trac/rezo/browser/Mailman

I use it to run 400 lists including a 200K subs

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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Delete a subscriber

2008-08-26 Thread Fil
Hello,

 During  delete  a subscriber I want to perform an additional action on
 my lists folder , which is delete the keys from the keyring for that
 subscriber.

check out the following methods:
Mailman/MemberAdaptor.py:def removeMember(self, memberkey):
Mailman/OldStyleMemberships.py:def removeMember(self, member):

and also, in the same files:
def changeMemberAddress(self, member, newaddress, nodelete=0):


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

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Feature Request: Selective Mass Subscription

2008-06-24 Thread Fil
Hi Krystal,

I'd be interested to know what you call double opt-in. Is it a web
subscription + email reply with the cookie, or double-that (and in
that case, what is the scenario).

FWIW I don't think the option Cindy proposes passes Occam's razor. For
the moment it looks like lots of complexity for a need that is not
well defined and certainly not generic. If the ISP has deliberately
crippled Mailman's interface up to the point it's not usable any more,
they should probably try and come up with a solution; or at least try
to explain (to the devs or the users) why and how.

-- Fil
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Re: [Mailman-Developers] How to remove X-Confirm-Reading requests from mail headers distributed by Mailman?

2004-04-05 Thread Fil
 Is there any way to setup mailman to stop distributing X-Confirm-Reading-
 To requests sent by some list users?

I would do it inside postfix header_checks filters, with a line like
/^X-Confirm-Reading-To: /   IGNORE

If you're using some other MTA, or want this setting to be only for Mailman,
I don't know.

-- Fil


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/


[Mailman-Users] two bugs in current cvs

2002-06-18 Thread Fil

Hi, I upgraded from MM2.1b1 to MM2.1b2+(cvs) last night.

1) Impossilble to install the email-2.0.4 package : it fails on the
   compat22.py compilation (maybe it's normal, since I'm running python2.1,
   but the error message is unclear.)

2) A cron job has failed this morning :

Subject: Cron mailman@miel /usr/local/bin/python2.1 -S 
/var/local/mailman/cron/disabled

Traceback (most recent call last):
  File /var/local/mailman/cron/disabled, line 198, in ?
main()
  File /var/local/mailman/cron/disabled, line 190, in main
mlist.sendNextNotification(member)
  File /var/local/mailman/Mailman/Bouncer.py, line 216, in
+sendNextNotification
{MemberAdaptor.BYBOUNCE: 'BYBOUNCE',
AttributeError: 'Mailman.MemberAdaptor' module has no attribute 'BYUNKNOWN'
~
~
~

-- Fil



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] another bug in current CVS

2002-06-18 Thread Fil


Is it linked to my problem with installing email-2.0.4? In any case the
iso-encoding/decoding of subjects seems to be failing, as this header shows:

Subject: [Spip] des sources =?iso-8859-1?Q?=E0_syndiquer?=^M
=?iso-8859-1?B?Li4u?=


-- Fil



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: Feedback needed: nodupes patch and reply-to munging per user

2002-03-11 Thread Fil

@ Marc MERLIN [EMAIL PROTECTED] :
 If you think the  patch is stupid and shouldn't be in  mailman, you can tell
 us that too :-)

If you want opinions, here's mine: I want to receive two copies if I'm CCed.
Not as an option, but as something I can rely upon. Because you never know
if the 'list' message went through or was intercepted by the system, the
moderator or whomever came in for it. You subscribe, you receive. Final
point (for me as a user and as a listmaster).

If I want to remove duplicates, there's a three line procmail recipe that
does it perfectly (I'm told).

Let's see the problem otherwise. If a user does not receive its copy through
the list, s/he'll write to the listmaster to ask why?. I don't want these
questions! If their expectations are that they can ask this from a
listserver, they'll also expect it to work 100%, which cannot be guaranteed.

Lots of trouble for something only hackers might want - and hackers have
procmail.

-- Fil


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] no way to comile: bumps on SimpleCookie

2001-12-19 Thread Fil


I'm sorry it's been weeks and I don't understand why make install fails on
my setup (current cvs). Each time it stops here:

Listing /home/mailman/Mailman/pythonlib ...
Compiling /home/mailman/Mailman/pythonlib/StringIO.py ...
Compiling /home/mailman/Mailman/pythonlib/__init__.py ...
Compiling /home/mailman/Mailman/pythonlib/cgi.py ...
Compiling /home/mailman/Mailman/pythonlib/mailbox.py ...
Compiling /home/mailman/Mailman/pythonlib/rfc822.py ...
Compiling /home/mailman/Mailman/versions.py ...
Traceback (most recent call last):
  File bin/update, line 47, in ?
from Mailman import MailList
  File /home/mailman/Mailman/MailList.py, line 58, in ?
from Mailman.SecurityManager import SecurityManager
  File /home/mailman/Mailman/SecurityManager.py, line 62, in ?
from Cookie import SimpleCookie as Cookie
ImportError: cannot import name SimpleCookie
make: *** [update] Error 1


-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Header removal - where?

2001-07-11 Thread Fil


It is most probably your mailer (Netscape) that reads the List-* headers
and, instead of printing them on the screen, gives you this nice little
line.

@ Roger Buck ([EMAIL PROTECTED]) :
 There is a subscription message (Double-click ...)  that appears on
 all messages to/from the list (mailman 2.0 and 2.5) .

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Mailman FRENCH Version

2001-07-02 Thread Fil


You might want to check http://listes.rezo.net/mailman/listinfo/mailman-fr

@ LONJON Roger ([EMAIL PROTECTED]) :
  Have you information or adress (Url or email ) about r French developpers
 , using Mailman in french version 

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Re: MIME messages

2001-06-06 Thread Fil


Well !! at home (mutt is my mailer) I read all of my mail in a text
window, and mutt does a splendid job with attachments: it passes them to
metamail; if there's a correct entry in /etc/mailcap, it parses the
attachment through the program indicated, for example catdoc for MSWord
documents, lynx -dump for html, and so on with PDF, PS, and what not (even
images are transformed via image2ascii !)

So whatever comes in the mail ends up displayed as text (if of a known type)
or deleted (unknown types, or stupid things like vcard.vcf)

My dream requirements wfor a truly good mime2text filter would be to
emulate METAMAIL. In fact metamail possesses all we need, except the ability
to run in an offline environment (and it seems not to be supported any
more).

Maybe that's too ambitious or platform specific?

   Could someone write up a quick list of requirements for demimeing that
   they'd like to see encorporated directly into Mailman 2.1?

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Some observations and suggestions...

2001-06-05 Thread Fil

@ Barry A. Warsaw ([EMAIL PROTECTED]) :
 PH   Subject: RE: Wcms-announce -- confirmation of subscription
 PH -- request 6715 58
 
 I've seen reports of this before, and it could get worse in MM2.1
 since the cookie is longer now.  I should probably just shorten it to
 confirm cookie.


Don't forget that, in mailman-i18n, you'll have to deal with multiple
languages in this subbject too. Making it machine like will permit us not
to translate it ;)  So confirm xxx will be better in that sense.




--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] qrunner running twice?

2001-06-02 Thread Fil


Same for me, and I'm sorry I couldn't find an answer in the archives. The
proceses pile up and after 15 minutes I had 15 python processes in the
system. What's wrong?

@ [EMAIL PROTECTED] ([EMAIL PROTECTED]) :
 Hello all,
 
 I've followed the instructions in the INSTALL file to setup Mailman version 2.1a2 
 but when I tried to subscribe to the test list I don't get a reply to confirm 
 subscription. And the mailman-owner account gets the following message every 
 minute:
 
 ...
 Subject: cron: /usr/bin/python -S /home/mailman/cron/qrunner
 Another qrunner is already running, exiting.
 
 Anyone been through this that can give me a hand?
 
 And this is the crontab for mailman:
 # crontab -l mailman
 0 17 * * * /usr/bin/python -S /home/mailman/cron/checkdbs
 0 12 * * * /usr/bin/python -S /home/mailman/cron/senddigests
 0 5 1 * * /usr/bin/python -S /home/mailman/cron/mailpasswds
 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /home/mailman/cron/
 gate_news
 27 3 * * * /usr/bin/python -S /home/mailman/cron/nightly_gzip
 #
 # Retry failed deliveries once per minute.
 * * * * * /usr/bin/python -S /home/mailman/cron/qrunner
 
 Thanks in advance.
 
 Raul
 
 --
 Mailman-Users maillist  -  [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] qrunner running twice?

2001-06-02 Thread Fil

@ Fil ([EMAIL PROTECTED]) :
 Same for me, and I'm sorry I couldn't find an answer in the archives. The
 proceses pile up and after 15 minutes I had 15 python processes in the
 system. What's wrong?

(Stupid habit of replying to oneself.)

Well, the crontab.in entry for qrunner should be removed (because
qrunner now maintains itself as a deamon) ; just launch it once, preferably
from an init script (like in /etc/init.d/ )

 @ [EMAIL PROTECTED] ([EMAIL PROTECTED]) :
  Subject: cron: /usr/bin/python -S /home/mailman/cron/qrunner
  Another qrunner is already running, exiting.

  * * * * * /usr/bin/python -S /home/mailman/cron/qrunner

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] ALLOW_OPEN_UNSUBSCRIBE ?

2001-06-02 Thread Fil


Hi, two things as I'm trying to set up the current cvs version of Mailman:

1° anything that would be the equivalent for unsubscribe of
ALLOW_OPEN_SUBSCRIBE would be good. I don't think it's such a big problem
tahat people could unsubscribe you from a list w/o your consent, as you
would receive a confirm.

The fact that one must confirm her unsubscription is really pissing off
some users, maybe simply because they don't have access to that older
address they want to unsubscribe ;)

I used to hack Mailman to bypass the password checking, but I think it
should be integrated.

(One can imagine, however, that the confirmation message writes If you
haven't requested this, please forward this message to the admin, and you
can resubscribe by clicking on such and such.)


2°  I'm getting errors in the current snapshot:

* When I set MTA=Postfix and create a list via the web interface:
Postfix.py has trouble loading the db library.

* When I click in the admin on edithtml

Traceback (most recent call last):
  File /home/mailman/scripts/driver, line 105, in run_main
main()
  File /home/mailman/Mailman/Cgi/edithtml.py, line 76, in main
Auth.authenticate(mlist, cgidata)
AttributeError: 'Mailman.Cgi.Auth' module has no attribute 'authenticate'


* When I click in the admin on logout

Traceback (most recent call last):
  File /home/mailman/scripts/driver, line 105, in run_main
main()
  File /home/mailman/Mailman/Cgi/admin.py, line 110, in main
Auth.loginpage(mlist, 'admin', frontpage=1)
  File /home/mailman/Mailman/Cgi/Auth.py, line 58, in loginpage
}, mlist=mlist)
  File /home/mailman/Mailman/Utils.py, line 516, in maketext
raise IOError(errno.ENOENT, 'No template file found', templatefile)
IOError: [Errno 2] No template file found: 'admlogin.html'


* When I send an email to unsubscribe (same error, the template 'unsub.txt'
is missing)


Hope this helps.


-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Re: mailman on RH7.1 still having problems

2001-06-01 Thread Fil

 PS Really?  Interesting.  I've just switched from sendmail to
 PS postfix, and I haven't learned any trick yet by which this can
 PS be accomplished.  What's the secret?
 
 There was an old way using luser_relay, recipient_delimiter, and a
 Mailman script called `auto'.  I suggest searching the archives for

You can also use our tricks explained in http://listes.rezo.net/comment.php
(we use regular expressions in aliases)

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Re: mailman on RH7.1 still having problems

2001-06-01 Thread Fil


Dear Barry,

I've put together a quick'n'dirty translation at
http://listes.rezo.net/how.php

If someone wants to correct my English, s/he's welcome.


  snip snip 
 AN ALTERNATIVE APPROACH
 
 Fil [EMAIL PROTECTED] has an alternative approach based on the
 virtual map and regular express.  There's a description of his
 approach at:
 
 http://listes.rezo.net/comment.php
 
 It's in French, but it should be easy to grok if you're familiar
 with Postfix configuration.

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] mimelib installed but not?

2001-06-01 Thread Fil


How is it possible that mimelib seems to be installed inside python but not
mailman?  Here's what I get (from the very latest CVS, but it's been like
that for a while, I'm just tired of stumbling on this same issue each time I
try to upgrade).

Not sure where to look at. Reinstalled mimelib several times. Reinstalled
mailman from cvs several times too, to no avail.


mailman@miel:~$ /usr/bin/python
Python 2.0 (#0, Jan 11 2001, 10:52:15) 
[GCC 2.95.2 2220 (Debian GNU/Linux)] on linux2
Type copyright, credits or license for more information.
 import mimelib
 mimelib.__version__
'0.2'
 


mailman@miel:~$ /usr/bin/python -S /home/mailman/cron/mailpasswds
Traceback (most recent call last):
  File /home/mailman/cron/mailpasswds, line 43, in ?
from Mailman import MailList
  File /home/mailman/Mailman/MailList.py, line 42, in ?
from Mailman.ListAdmin import ListAdmin
  File /home/mailman/Mailman/ListAdmin.py, line 33, in ?
from Mailman import Message
  File /home/mailman/Mailman/Message.py, line 26, in ?
from mimelib.StringableMixin import StringableMixin
ImportError: No module named StringableMixin


-- Fil



--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] mimelib installed but not?

2001-06-01 Thread Fil

@ Fil ([EMAIL PROTECTED]) :
 
 How is it possible that mimelib seems to be installed inside python but not
 mailman?  Here's what I get (from the very latest CVS, but it's been like
 that for a while, I'm just tired of stumbling on this same issue each time I
 try to upgrade).

Sorry folks, I've just realized I needed version 0.3 of mimelib at
http://prdownloads.sourceforge.net/mimelib/mimelib-0.3.tar.gz

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Is it possible

2001-05-31 Thread Fil

@ Yanek Korff ([EMAIL PROTECTED]) :
 This cannot be done on a global scale?

Yes, just modify the template file located in 
/home/mailman/templates/listinfo.html

 Then edit the contents of the web pages, remove that option.
 
 from the admin/listname page, the link for doing this is in the
 second column, marked * Edit the HTML for the public list pages

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] How to Back Up Lists

2001-05-07 Thread Fil

@ Christopher VanOosterhout ([EMAIL PROTECTED]) :
 How do I make backups of my lists?  What files are critical?

Here's what I use as a daily cron job.

#!/bin/sh

 mailman_save_lists.sh #
# v0.13 2000-10-20 18:30
#
# this script saves a copy of mailman lists and config files
# call this script regularly from the 'mailman' user
# e.g. daily from crontab 
# 01 08 * * * /path/to/mailman_save_lists.sh
#
# we do save lists each time in compressed form: either they
# are big and we can imagine they change each time, or they
# are very small and we don't care
#
# comments to: [EMAIL PROTECTED]
#
# please configure below: where lists are to be found,
# and where states are to be saved (must be 'mailman'-writable)

lists=/var/lib/mailman/lists/
state=/var/state/mailman/


cd $lists || exit 1

umask 026   # make files readable to mailman group only

for i in `ls` ; do
echo 
echo ==
echo $i

k=$state$i
mkdir -p $k || exit 1

j=`date +%Y-%m-%d`

/usr/lib/mailman/bin/config_list -o $k/config-$i.new $i
if [ -s $k/config-$i ]; then
diff -d -I ^## captured on \
$k/config-$i $k/config-$i.new  /tmp/diffconfig.$$
else
cp $k/config-$i.new /tmp/diffconfig.$$
fi
mv $k/config-$i.new $k/config-$i
if [ -s /tmp/diffconfig.$$ ]; then
echo config modif --
cat /tmp/diffconfig.$$
echo ---
cp $k/config-$i $k/config-$i-$j
gzip -qf $k/config-$i-$j
fi
rm /tmp/diffconfig.$$

/usr/lib/mailman/bin/list_members $i | sort  $k/$i-new
printf %10s members\n `cat $k/$i-new | wc -l`
if [ -s $k/$i ]; then
diff -d $k/$i $k/$i-new  /tmp/difflist.$$
if [ -s /tmp/difflist.$$ ]; then
grep ^ /tmp/difflist.$$  /tmp/difflistplus.$$
grep ^ /tmp/difflist.$$  /tmp/difflistminus.$$
if [ -s /tmp/difflistplus.$$ ]; then
printf  + %7s\n `cat /tmp/difflistplus.$$ | wc -l`
fi
if [ -s /tmp/difflistminus.$$ ]; then
printf  - %7s\n `cat /tmp/difflistminus.$$ | wc -l`
fi
cat /tmp/difflistplus.$$ /tmp/difflistminus.$$
rm /tmp/difflistplus.$$ /tmp/difflistminus.$$
fi
rm /tmp/difflist.$$
else
echo new list !
cat $k/$i-new
fi
mv $k/$i-new $k/$i
cp $k/$i $k/$i-$j
gzip -qf $k/$i-$j

# suppress last month's files
# with two weeks security delay
n=`date +%Y-%m --date -1 month -2 week`
if [ -e $k/$i-$n-01.gz ]; then
mv $k/$i-$n-01.gz $k/$i-$n.gz
rm -f $k/$i-$n-??.gz
fi
done
# END SCRIPT


-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Statistics?

2001-04-23 Thread Fil



@ Kimberly Sargen ([EMAIL PROTECTED]) :
 Does anyone know of any add on software, or scripting you can run with
 Mailman that will give you statistics on the mailing lists, ie. number of

I have made a script for backup and maintenance that I run once a day as a
cronjob, and that outputs the numer of subscribers of each list, the new
subscribers and the removed addresses, plus any change in the config file.
Furthermore the script makes a backup of the config if it has changed, a
backup of the subscribers list in any case, and cleverly (?) suppresses old
backups (keeping a monthly one, not daily).

Here's the script, no guarantee whatsoever.



#!/bin/sh

 mailman_save_lists.sh #
# v0.13 2000-10-20 18:30
#
# this script saves a copy of mailman lists and config files
# call this script regularly from the 'mailman' user
# e.g. daily from crontab 
# 01 08 * * * /path/to/mailman_save_lists.sh
#
# we do save lists each time in compressed form: either they
# are big and we can imagine they change each time, or they
# are very small and we don't care
#
# comments to: [EMAIL PROTECTED]
#
# please configure below: where lists are to be found,
# and where states are to be saved (must be 'mailman'-writable)

lists=/var/lib/mailman/lists/
state=/var/state/mailman/


cd $lists || exit 1

umask 026	# make files readable to mailman group only

for i in `ls` ; do
	echo 
	echo ==
	echo $i

	k=$state$i
	mkdir -p $k || exit 1

	j=`date +%Y-%m-%d`

	/usr/lib/mailman/bin/config_list -o $k/config-$i.new $i
	if [ -s $k/config-$i ]; then
		diff -d -I ^## captured on \
			$k/config-$i $k/config-$i.new  /tmp/diffconfig.$$
	else
		cp $k/config-$i.new /tmp/diffconfig.$$
	fi
	mv $k/config-$i.new $k/config-$i
	if [ -s /tmp/diffconfig.$$ ]; then
		echo config modif --
		cat /tmp/diffconfig.$$
		echo ---
		cp $k/config-$i $k/config-$i-$j
		gzip -qf $k/config-$i-$j
	fi
	rm /tmp/diffconfig.$$

	/usr/lib/mailman/bin/list_members $i | sort  $k/$i-new
	printf %10s members\n `cat $k/$i-new | wc -l`
	if [ -s $k/$i ]; then
		diff -d $k/$i $k/$i-new  /tmp/difflist.$$
		if [ -s /tmp/difflist.$$ ]; then
			grep ^ /tmp/difflist.$$  /tmp/difflistplus.$$
			grep ^ /tmp/difflist.$$  /tmp/difflistminus.$$
			if [ -s /tmp/difflistplus.$$ ]; then
printf  + %7s\n `cat /tmp/difflistplus.$$ | wc -l`
			fi
			if [ -s /tmp/difflistminus.$$ ]; then
printf  - %7s\n `cat /tmp/difflistminus.$$ | wc -l`
			fi
			cat /tmp/difflistplus.$$ /tmp/difflistminus.$$
			rm /tmp/difflistplus.$$ /tmp/difflistminus.$$
		fi
		rm /tmp/difflist.$$
	else
		echo new list !
		cat $k/$i-new
	fi
	mv $k/$i-new $k/$i
	cp $k/$i $k/$i-$j
	gzip -qf $k/$i-$j

	# suppress last month's files
	# with two weeks security delay
	n=`date +%Y-%m --date -1 month -2 week`
	if [ -e $k/$i-$n-01.gz ]; then
		mv $k/$i-$n-01.gz $k/$i-$n.gz
		rm -f $k/$i-$n-??.gz
	fi
done
# END SCRIPT



[Mailman-Users] Re: [Mailman-Developers] HandlerAPI ?

2001-04-17 Thread Fil


Hi,

what happened to HandlerAPI.py ?

It is not there any more in the CVS tree, but it is still called by
cron/checkdbs and cron/mailpasswds

can someone explain?

-- Fil


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] Tooo Slow

2001-02-21 Thread Fil


I had the same problem for one list and had to switch to sympa
(http://listes.cru.fr/sympa/) because sympa stores its subscriber
information in a mysql database. I guess it'll be a breeze when mailman
supports database based lists. The current effort is towards
internationalization, but I guess the next effort is the database ;)

However for small lists I find mailman more convenient, so I keep both
listmanagers...

In my experience the threshold is around 10K subscribers

@ Charles W. Statkus ([EMAIL PROTECTED]) : I Have about 270K subscribers
 and Mailman is so slow that I am getting complaints that the process is
 timing out. When I test it with about a thousand members everything works
 fine.

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] Re: distribution list

2001-02-02 Thread Fil

@ Fil ([EMAIL PROTECTED]) :
 Hi everybody
[...]
 The alias in /etc/aliases is
 listname: "| /home/sympa/bin/queue listname"


ooops !! sorry I meant to send this message to sympa-users, not
mailman-users (I use both).

--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users