[Mailman-Users] Error messages from Mailman without "real content".

2024-07-14 Thread Christian Buser via Mailman-Users
Hi all 

We are running some lists using Mailman (obviously version 2.1.39) on cPanel 
(110.0.36).

For some days now, I have received 2 or 3 error messages which are not telling 
me anything, see the "Errormessage.jpg" attached. Sorry, my error message is in 
German, but I’ll quickly try to translate:

"A message to the list was notdistributed and needs approval by you as an 
administrator". 
But I see nothing in the error message about the reason why it is held. 

I see the originally sent message to the list as an attachment, and I also see 
the "confirm" message, which I could use to discard the message. 

Using confirm message works, but if I try to discard the message from cPanel’s 
mailing list interface (open moderator’s actions, or how it could be called in 
English), I get an error - see "HitaBug.jpg" attached. 

Our provider says he has no idea how to correct this behaviour (which is new 
for me, it worked until probably a weeg ago).

Thank you for any ideas. 

Christian 

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






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


[Mailman-Users] Error member gets when sending to one of my lists?

2024-03-18 Thread Stephen J. Turnbull
Adam Morris writes:

 > A member is subscribed to two lists I run.
 > 
 > He can post to one but gets the following error when posting to the
 > other list.

 > SMTP error from remote mail server after end of data:

The message should indicate which server rejected it.

This error depends on the message content (specifically, a physical
line longer than 998 bytes, which he surely sees as a nicely formatted
paragraph of normal-length lines).  I can't imagine why it depends on
the list, it's not hitting the list processing part.  As Mark points
out, it *could* be Mailman (more precisely, the imported 3rd party
library aiosmtpd), but would be at the very mechnical "let's MOVE SOME
BYTES!" stage of the process, not dependent on list settings at all.
It's definitely a mail server error, not a list-related error.

 > 550 Maximum line length exceeded (see RFC 5322 2.1.1).

It's very unlikely to be a recent (< 4yo) version of aiosmtpd, which
issues a different error: "500 Line too long (see RFC5321 4.5.3.1.6)".
Apple's Postfix also doesn't issue that message.  Nor does Debian's
Exim4.  The citation to the Message Format RFC 5322 is odd, suggesting
Microsoft or other commercial software (you *could* enforce RFC 5322
in a mail server, but no respectable free software does -- that's the
MUA's job).

If this was your server (and not some intermediate gateway), there
should be a log message for it.  Do you have access to the MTA logs on
your server?

So, it's possible but somewhat unlikely that the smtpds at the Mailman
host are mishandling the email (doing this *right* *at scale* is
hard).  But it's also possible that the member's MUA is busted, and is
using Content-Transfer-Encoding "8bit" (or worse, "7bit") where it
should be using "binary", The difference between binary and 8bit is
exactly passing control characters verbatim, and specifically allowing
the message composing agent to ignore line-length restrictions.  If
you have access to the message that got rejected in "source" or "raw"
form, you could check those things.

Also, some intermediate MTA may be busted and not requesting the
8BITMIME extension to SMTP, which is necessary to get some receivers
to relax the line length limitation.

Steve

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


[Mailman-Users] Error member gets when sending to one of my lists?

2024-03-17 Thread Adam Morris
Hi all,

A member is subscribed to two lists I run.

He can post to one but gets the following error when posting to the other list.

I don’t think I have things set differently for any of the lists I run.

SMTP error from remote mail server after end of data:

550 Maximum line length exceeded (see RFC 5322 2.1.1).

TIA.

 

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


[Mailman-Users] Error message in log

2021-02-05 Thread Lars Bjørndal
Hi, list!

I got information from a subscriber to one of the lists I'm hosting,
that hhis emails doesn't reach the list. I notice that I have an error
message in the /var/log/mailman/error.

What does this error message means:

Feb 04 13:33:04 2021 (1289) Uncaught runner exception: 'list' object has no 
attribute 'splitlines'
Feb 04 13:33:04 2021 (1289) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Handlers/Hold.py", line 159, in process
not mlist.HasExplicitDest(msg) and \
  File "/usr/lib/mailman/Mailman/MailList.py", line 1566, in HasExplicitDest
aliases = self.acceptable_aliases.splitlines()
AttributeError: 'list' object has no attribute 'splitlines'

Feb 04 13:33:04 2021 (1289) SHUNTING: 
1612441983.547279+307df38e5cee54b2402dff84906a4f3ab88755d3

What can I do to fix it?

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


[Mailman-Users] "Error: Unknown virtual host" trying to create new list from web UI

2020-07-29 Thread Sean McBride
Hi all,

I'm running mailman 2.1.x.  I haven't had need to create a new list in years, 
but now I need to.  Trying to do so from the web UI here:
 

results in:
 "Error: Unknown virtual host: mail.rogue-research.com".

After searching for this, I now have a partial understanding of the problem.

In my Defaults.py I see:

DEFAULT_EMAIL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

foo is the real hostname of the machine. I guess that's how it ended up there? 
After reading the comments in that file and FAQ 4.29, I *think* the correct 
solution is to append the following 5 lines to my mm_cfg.py:

DEFAULT_EMAIL_HOST = 'rogue-research.com'
DEFAULT_URL_HOST = 'mail.rogue-research.com'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

Is that correct?

Many thanks,

Sean

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


[Mailman-Users] error installing Mailman 2.1.12

2020-06-18 Thread Anatoly Oreshkin
I'm trying to install Mailman 2.1.12 on Centos 7.7.
I've done  the following steps
1. tar zxvf mailman-2.1.12.tgz
2. applied  patches
cd mailman-2.1.12
patch -p1 < ../indexing-2.1.12-0.1.patch
patch -p1 < ../htdig-2.1.12-0.1.patch
patch -p1 < ../exitstatus-2.1.12-0.1.patch
patch -p1 < ../modinc-2.1.12-0.1.patch
patch -p1 < ../mhonarc-2.1.12-0.1.patch

3.  ./configure  --prefix=/usr/local/mailman --with-var-prefix=/var/mailman
\
 --with-mail-gid=mail --with-cgi-gid=apache
make
make install
On this step, make install,  I've received a lot of warnings like these:

src/_koco_ksc5601.h:3337:3: warning: (near initialization for
‘ksc5601_encode_page3[11104]’) [-Wpointer-sign]
src/_koco_ksc5601.h:3337:3: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
src/_koco_ksc5601.h:3337:3: warning: (near initialization for
‘ksc5601_encode_page3[11109]’) [-Wpointer-sign]
src/_koco_ksc5601.h:3338:3: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
   "\xf8\xf9", 0, 0, 0, 0, "\xf0\xae", 0, 0,
   ^
src/_koco_ksc5601.h:3338:3: warning: (near initialization for
‘ksc5601_encode_page3[2]’) [-Wpointer-sign]
src/_koco_ksc5601.h:3338:3: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
src/_koco_ksc5601.h:3338:3: warning: (near initialization for
‘ksc5601_encode_page3[7]’) [-Wpointer-sign]
src/_koco_ksc5601.h:3340:3: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
   0, 0, "\xd1\xb8", 0, 0, 0, 0, "\xd6\xdf",
   ^
.
Listing /usr/local/mailman/Mailman/Queue ...
Compiling /usr/local/mailman/Mailman/Queue/ArchRunner.py ...
Compiling /usr/local/mailman/Mailman/Queue/BounceRunner.py ...
Compiling /usr/local/mailman/Mailman/Queue/CommandRunner.py ...
Compiling /usr/local/mailman/Mailman/Queue/IncomingRunner.py ...

Compiling /usr/local/mailman/Mailman/versions.py ...
Downgrade detected, from version 0x20114f0 to version 0x2010cf0
This is probably not safe.
Exiting.
make: *** [update] Error 1

What is the cause of these  errors ?
How to solve this problem ?

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


Re: [Mailman-Users] Error in pipermail

2018-10-29 Thread Mark Sapiro
On 10/25/18 12:03 PM, David Gibbs wrote:
> I just upgraded from a pretty old version of MM to 2.1.29 and everything
> appears to be working OK.
> 
> I noticed the following in my error log though.
> 
> I only have a few lists that archive using the built in functionality.
> 
> Oct 24 07:57:40 2018 (18940) Uncaught runner exception: 'ascii' codec
> can't decode byte 0xb5 in position 26: ordinal not in range(128)
> Oct 24 07:57:40 2018 (18940) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 77, in
> _dispose
>     mlist.ArchiveMail(msg)
>   File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 216, in
> ArchiveMail
>     h.processUnixMailbox(f)
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 596, in
> processUnixMailbox
>     self.add_article(a)
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 640, in
> add_article
>     author = fixAuthor(article.decoded['author'])
>   File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 63, in
> fixAuthor
>     while i>0 and (L[i-1][0] in lowercase or
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb5 in position 26:
> ordinal not in range(128)
> 
> Any suggestions on how to fix this?


There should be a 'SHUNTING: .pck' message immediately following the
above traceback. This points to an entry in Mailman' qfiles/shunt/
directory.

You can see the message by pointing Mailman's bin/show_qfiles at that
file. There is something bogus and/or non-ascii in that message's From:
header, possibly an RFC 2047 encoded word with the 'wrong' character set.

Please post the message or at least the headers of the message here, and
I will investigate further.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error in pipermail

2018-10-25 Thread David Gibbs

I just upgraded from a pretty old version of MM to 2.1.29 and everything 
appears to be working OK.

I noticed the following in my error log though.

I only have a few lists that archive using the built in functionality.

Oct 24 07:57:40 2018 (18940) Uncaught runner exception: 'ascii' codec can't 
decode byte 0xb5 in position 26: ordinal not in range(128)
Oct 24 07:57:40 2018 (18940) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 77, in _dispose
mlist.ArchiveMail(msg)
  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 216, in 
ArchiveMail
h.processUnixMailbox(f)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 596, in 
processUnixMailbox
self.add_article(a)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 640, in 
add_article
author = fixAuthor(article.decoded['author'])
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 63, in fixAuthor
while i>0 and (L[i-1][0] in lowercase or
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb5 in position 26: 
ordinal not in range(128)

Any suggestions on how to fix this?

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


[Mailman-Users] Error UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 88: invalid continuation byte

2017-08-03 Thread Jacques Lav!gnotte.
Hello,

Any message sent to a specific list generates these error messages.

I cant figure out where to search...

Thanks for you help

Jacques




Aug 03 11:31:48 2017 (29482) Uncaught runner exception: 'utf8' codec
can't decode byte 0xe0 in position 88: invalid continuation byte
Aug 03 11:31:48 2017 (29482) Traceback (most recent call last):
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/Cleanse.py", line 80, in process
i18ndesc = str(uheader(mlist, mlist.description, 'From'))
  File "/var/lib/mailman/Mailman/Handlers/CookHeaders.py", line 65, in
uheader
return Header(s, charset, maxlinelen, header_name, continuation_ws)
  File "/usr/lib/python2.7/email/header.py", line 183, in __init__
self.append(s, charset, errors)
  File "/usr/lib/python2.7/email/header.py", line 267, in append
ustr = unicode(s, incodec, errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 88:
invalid continuation byte

Aug 03 11:31:48 2017 (29482) SHUNTING:
1501752708.538834+d7c38a7bcdab18839bc4b0c694b770ae850cb4c8

-- 
GnuPg : 0x156520BBC8F5B1E3
WeUsePGP Because privacy matters http://weusepgp.info/
--
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] Error while searching the archives

2016-07-19 Thread Odhiambo Washington
On 19 July 2016 at 21:38, Mark Sapiro  wrote:

> On 07/19/2016 01:56 AM, Odhiambo Washington wrote:
> >
> > In mm_cfg.py, I have:
> >
> > HTDIG_HTSEARCH_PATH = '/usr/local/www/cgi-bin/htsearch'
> >
> > I tried running it:
> >
> > root@gw:/usr/home/wash # /usr/local/www/cgi-bin/htsearch
> > Enter value for words: walu
> > Content-type: text/html
> >
> > htsearch error
> > 
> > ht://Dig error
> > htsearch detected an error.  Please report this to the
> > webmaster of this site by sending an e-mail to:
> > mailto:unconfigured@htdig.searchengine.maintainer
> >  >">unconfigured@htdig.searchengine.maintainer
> > The error message is:
> > 
> > Unable to read word database file
> > '/usr/local/share/htdig/database/db.words.db'
> > Did you run htdig?
> > 
> > 
>
>
> That's good as far as it goes. Making it actually work from the command
> line is more complicated than that. It expects environment variables and
> POST data from the search form.
>
> Has this ever worked? If so, what did you do just prior to its stopping
> working? Have you made any changes and not restarted Mailman?
>
>
I think it worked before. Can't tell for sure. The only change I have made
recently is to have my URLs use https.

I have just tried to run it again and I see this in the browser:

ht://Dig error

htsearch detected an error. Please report this to the webmaster of this
site by sending an e-mail to: mail...@lists.kictanet.or.ke The error
message is:

Unable to read word database file
'/usr/local/mailman/archives/private/kictanet/htdig/db.words.db'
Did you run htdig?



root@gw:/usr/home/wash # ls -al
/usr/local/mailman/archives/private/kictanet/htdig/
total 770718
drwxrws---2 root mailman512 Mar  1 02:19 .
drwxrwsr-x  142 root mailman   7680 Jul 19 21:54 ..
-rw-rw-r--1 mailman  mailman  24576 Mar  1 02:19 db.docdb
-rw-rw-r--1 mailman  mailman  24576 Mar  1 02:19 db.docs.index
-rw-rw-r--1 mailman  mailman  24576 Mar  1 02:19 db.excerpts
-rw-r--r--1 root mailman   3918 May 29  2013 kictanet.conf
-rw-rw-r--1 root mailman2228224 Mar  1 02:24 root2word.db
-rw-rw-r--1 root mailman  0 Mar  2 02:19 rundig_last_run
-rw-rw-r--1 root mailman  90112 Mar  1 02:24 synonyms.db
-rw-rw-r--1 root mailman  786374656 Mar  1 02:24 word2root.db


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
--
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] Error while searching the archives

2016-07-19 Thread Mark Sapiro
On 07/19/2016 01:56 AM, Odhiambo Washington wrote:
> 
> In mm_cfg.py, I have:
> 
> HTDIG_HTSEARCH_PATH = '/usr/local/www/cgi-bin/htsearch'
> 
> I tried running it:
> 
> root@gw:/usr/home/wash # /usr/local/www/cgi-bin/htsearch
> Enter value for words: walu
> Content-type: text/html
> 
> htsearch error
> 
> ht://Dig error
> htsearch detected an error.  Please report this to the
> webmaster of this site by sending an e-mail to:
> mailto:unconfigured@htdig.searchengine.maintainer
> ">unconfigured@htdig.searchengine.maintainer
> The error message is:
> 
> Unable to read word database file
> '/usr/local/share/htdig/database/db.words.db'
> Did you run htdig?
> 
> 


That's good as far as it goes. Making it actually work from the command
line is more complicated than that. It expects environment variables and
POST data from the search form.

Has this ever worked? If so, what did you do just prior to its stopping
working? Have you made any changes and not restarted 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
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] Error while searching the archives

2016-07-19 Thread Odhiambo Washington
On 19 July 2016 at 03:36, Mark Sapiro  wrote:

> On 07/18/2016 03:17 AM, Odhiambo Washington wrote:
>
>>
>> I have a strange problem here. When I try a search on my list archives, I
>> see this on the browser:
>>
>> Bug in Mailman version 2.1.22
>>
> ...
>
>> And in the error log I see the details here ->:
>> http://gw.kictanet.or.ke/~wash/error.txt
>>
>
>
> The traceback is
>
> admin(46841): Traceback (most recent call last):
>> admin(46841):   File "/usr/local/mailman/scripts/driver", line 117, in
>> run_main
>> admin(46841): main()
>> admin(46841):   File "/usr/local/mailman/Mailman/Cgi/mmsearch.py", line
>> 213, in main
>> admin(46841): child = Popen(cmd, stdin=PIPE, stdout=PIPE)
>> admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 710,
>> in __init__
>> admin(46841): errread, errwrite)
>> admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 1335,
>> in _execute_child
>> admin(46841): raise child_exception
>> admin(46841): OSError: [Errno 2] No such file or directory
>>
>
> which says Popen can't execute cmd because of the Errno2, No such file or
> directory.
>
> cmd is whatever you have configured for HTDIG_HTSEARCH_PATH in mm_cfg.py.
> The default in Defaults.py is
>
> HTDIG_HTSEARCH_PATH = '/usr/local/bin/htsearch'
>
> Does HTDIG_HTSEARCH_PATH contain a path to the htdig htsearch program in
> your installation?



In mm_cfg.py, I have:

HTDIG_HTSEARCH_PATH = '/usr/local/www/cgi-bin/htsearch'

I tried running it:

root@gw:/usr/home/wash # /usr/local/www/cgi-bin/htsearch
Enter value for words: walu
Content-type: text/html

htsearch error

ht://Dig error
htsearch detected an error.  Please report this to the
webmaster of this site by sending an e-mail to:
mailto:unconfigured@htdig.searchengine.maintainer
">unconfigured@htdig.searchengine.maintainer
The error message is:

Unable to read word database file
'/usr/local/share/htdig/database/db.words.db'
Did you run htdig?





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
--
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] Error while searching the archives

2016-07-18 Thread Mark Sapiro

On 07/18/2016 03:17 AM, Odhiambo Washington wrote:


I have a strange problem here. When I try a search on my list archives, I
see this on the browser:

Bug in Mailman version 2.1.22

...

And in the error log I see the details here ->:
http://gw.kictanet.or.ke/~wash/error.txt



The traceback is


admin(46841): Traceback (most recent call last):
admin(46841):   File "/usr/local/mailman/scripts/driver", line 117, in run_main
admin(46841): main()
admin(46841):   File "/usr/local/mailman/Mailman/Cgi/mmsearch.py", line 213, in 
main
admin(46841): child = Popen(cmd, stdin=PIPE, stdout=PIPE)
admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 710, in 
__init__
admin(46841): errread, errwrite)
admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 1335, in 
_execute_child
admin(46841): raise child_exception
admin(46841): OSError: [Errno 2] No such file or directory


which says Popen can't execute cmd because of the Errno2, No such file 
or directory.


cmd is whatever you have configured for HTDIG_HTSEARCH_PATH in 
mm_cfg.py. The default in Defaults.py is


HTDIG_HTSEARCH_PATH = '/usr/local/bin/htsearch'

Does HTDIG_HTSEARCH_PATH contain a path to the htdig htsearch program in 
your installation?


--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error while searching the archives

2016-07-18 Thread Odhiambo Washington
Hi everyone,

I have a strange problem here. When I try a search on my list archives, I
see this on the browser:

Bug in Mailman version 2.1.22

We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but
the webmaster can find this information in the Mailman error logs.

And in the error log I see the details here ->:
http://gw.kictanet.or.ke/~wash/error.txt

Kindly advise what the problem could be.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
--
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] Error unknown virtual host mailman

2016-07-12 Thread Mark Sapiro
On 07/12/2016 04:10 AM, Gines Granados Bayona wrote:
> Hello everyone, I'm new in mailman and just made an installation of zero
> mailman, with potsfix on centos 6. I have an error when trying to create a
> new list in which shows me:
> Error: Unknown virtual host... *** *** *** ***


It appears you are trying to create the list via the web create UI as
that is the only thing which issues the exact "Unknown virtual host"
error message.

That error basically says that the host name in the URL that you went
to, e.g. http://host_name/mailman/create, does not exist in Mailman's
VIRTUAL_HOSTS dictionary which is created by add_virtualhost directives
in Defaults.py and mm_cfg.py.

I'm guessing from your '*** *** *** ***' that you actually used an IP
address when visiting that page, possibly an 'internal network' one. You
don't want to create the list with such an address for its web host.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error unknown virtual host mailman

2016-07-12 Thread Gines Granados Bayona
Hello everyone, I'm new in mailman and just made an installation of zero
mailman, with potsfix on centos 6. I have an error when trying to create a
new list in which shows me:
Error: Unknown virtual host... *** *** *** ***
I do not know what parameter settings I could make wrong, or should change
and though I've read several forums, I see that the fix are settings are
different , do We can indicate that parameter must change?

Greetings and thank you

-- 
Este mensaje se dirige exclusivamente a su destinatario. Puede contener
información confidencial sometida a secreto profesional o cuya divulgación
este prohibida, en virtud de la legislación vigente. No esta  permitida su
divulgación, copia o distribución a terceros sin la autorización previa y
por  escrito del remitente. Si ha recibido este mensaje por error, le
rogamos nos lo  comunique inmediatamente por esta misma vía y proceda a su
destrucción.


This e-mail is intended exclusively for the individual or entity to which
it is addressed
and may contain confidential or legally privileged information,  which may
not be disclosed under current legislation. Any form of disclosure, copying
or distribution of this e-mail is strictly prohibited, save with written
authorisation . If you have received this message in error, please notify
the sender immediately by e-mail and delete all copies of the message.
--
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] Error

2016-05-17 Thread Mark Sapiro
On 05/17/2016 06:12 PM, r...@rexgoode.com wrote:
> 
> When I hit send, I get:
> 
> SMTP Error (550): Failed to add recipient "listn...@mydomain.com" (5.1.1
> : Recipient address rejected: User unknown in
> virtual mailbox table).
> 
> This happens on all of my mailman lists. Substitute listname and
> mydomain.com appropriately, of course, but every list gets it.
> 
> Any advice I can give to my hosting company?


This is an issue with the incoming MTA for mydomain.com. It does not
know how to deliver Mailman's mail. Typically with MTAs Sendmail and
Postfix, delivery is via aliases. There is info on configuring these and
also Exim and Qmail at
.

There is other info I could provide if I knew what the MTA is.

If they are actually willing to work on this, eliminate yourself from
the middle and refer them here. We will help as best as we can.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error

2016-05-17 Thread rex
The last time I posted here, my hosting company said that my newly 
upgraded plan did not support Mailman. I've been wrangling with them 
over that for a few weeks. They finally got it working, they said. All 
of my lists became active again, but now I can't send mail to them. I've 
sent this error to them, but I'm hoping someone here can help me.


When I hit send, I get:

SMTP Error (550): Failed to add recipient "listn...@mydomain.com" (5.1.1 
: Recipient address rejected: User unknown in 
virtual mailbox table).


This happens on all of my mailman lists. Substitute listname and 
mydomain.com appropriately, of course, but every list gets it.


Any advice I can give to my hosting company?

Rex
--
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] Error updating mailman Ubuntu 14.04.3

2015-09-08 Thread billy noah
Thanks everyone.  I am pretty sure no newer version was ever installed from
source and it remains a mystery what went wrong.  Asked on askubuntu.com
and got this recommendation which did resolve the issue:

cd /var/lib/dpkg/info/
rm mailman*
apt-get clean all



On Sat, Aug 29, 2015 at 10:04 PM, Mark Sapiro  wrote:

> On 08/25/2015 04:28 PM, billy noah wrote:
> > Tried running an update today and received this message:
> >
> > Setting up mailman (1:2.1.16-2ubuntu0.1) ...
> ...
> > Downgrade detected, from version 0x20112f1 to version 0x20110f0
>
>
> I'm with Steve on this. This is very wierd. The first message says you
> are setting up 2.1.16-2 and the later message says you are downgrading
> from 2.1.12-1 to 2.1.10.
>
>
> > Any ideas what I can do to remedy this?
>
>
> You can run Mailman's 'bin/update --force' manually, but I wouldn't
> recommend it, because something unknown is messed up.
>
> --
> 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/billynoah%40zuma-design.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] Error updating mailman Ubuntu 14.04.3

2015-08-29 Thread Mark Sapiro
On 08/25/2015 04:28 PM, billy noah wrote:
> Tried running an update today and received this message:
> 
> Setting up mailman (1:2.1.16-2ubuntu0.1) ...
...
> Downgrade detected, from version 0x20112f1 to version 0x20110f0


I'm with Steve on this. This is very wierd. The first message says you
are setting up 2.1.16-2 and the later message says you are downgrading
from 2.1.12-1 to 2.1.10.


> Any ideas what I can do to remedy this?


You can run Mailman's 'bin/update --force' manually, but I wouldn't
recommend it, because something unknown is messed up.

-- 
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] Error updating mailman Ubuntu 14.04.3

2015-08-28 Thread Andrew Hodgson
billy noah wrote:

[...]

>Looking for enabled languages (this may take some time) ... done.
>Removing unmodified files from /etc/mailman/eu  done.
>Directory /etc/mailman/eu not empty, not removed.

Is there any chance you installed a later version of Mailman from source and 
forgot to remove the Ubuntu package?

Thanks.
Andrew.
--
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] Error updating mailman Ubuntu 14.04.3

2015-08-27 Thread Stephen J. Turnbull
billy noah writes:

 > Downgrade detected, from version 0x20112f1 to version 0x20110f0
 > This is probably not safe.

The basic answer is "You're going to need help from Ubuntu experts
anyway because the package database is out of sync with reality, so go
ask them."

That said, there are three possibilities.

1. Ubuntu screwed up.  Ubuntu will fix it.  If you're in a big hurry,
   ask in Ubuntu forums how to work around until they do.

2. You installed a more recent version of Mailman yourself

   a.  From a PPA.  Talk to Ubuntu about how to manage these.

   b.  From source.  Tell us what you did.  We can help you get
   Mailman running, but your package DB is still broken, you need
   to talk to Ubuntu about how to fix that.

3. Something else.  Tell us about it.  (The package DB is still
   broken, Ubuntu forums are probably the right place to learn how to
   fix that.)

 > Exiting.
 > dpkg: error processing package mailman (--configure):

You should be able to roll back the update at this point.  Check the
docs for apt or whatever front-end you're using.

Then, until you get things figured out, you could pin Mailman to the
current version (that Ubuntu thinks is installed) and run the rest of
any pending updates.

--
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] Error updating mailman Ubuntu 14.04.3

2015-08-27 Thread billy noah
Tried running an update today and received this message:

Setting up mailman (1:2.1.16-2ubuntu0.1) ...
Looking for enabled languages (this may take some time) ... done.
Removing unmodified files from /etc/mailman/eu  done.
Directory /etc/mailman/eu not empty, not removed.
*... {repeat above message for each language} ...*
Removing unmodified files from /etc/mailman/sv  done.
Directory /etc/mailman/sv not empty, not removed.
Removing unmodified files from /etc/mailman/ast  done.
Directory /etc/mailman/ast not empty, not removed.
Installing site language en 
done.
Downgrade detected, from version 0x20112f1 to version 0x20110f0
This is probably not safe.
Exiting.
dpkg: error processing package mailman (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mailman
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any ideas what I can do to remedy this?
--
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] error when trying to register via hyperkitty

2015-05-04 Thread Mark Sapiro
It is still best to post Mailman 3 related things to
mailman-develop...@python.org. Most of the people working closely on MM
3 (especially Postorius and HyperKitty) read that list much more
regularly than this one.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] error when trying to register via hyperkitty

2015-05-04 Thread Thomas Stein
Hello.

When i try to signup via hyperkitty i get:

KeyError at /archives/accounts/register/

'email'

Request Method: POST
Request URL:
http://127.0.0.1:8000/archives/accounts/register/?next=/archives/
Django Version: 1.7.8
Exception Type: KeyError
Exception Value:

'email'

Exception Location:
/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg/hyperkitty/views/forms.py
in clean_username, line 57
Python Executable:  /var/www/mailman/venv/bin/python2.7
Python Version: 2.7.9
Python Path:

['/var/www/mailman/eggs/Django-1.7.8-py2.7.egg',
 '/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/Whoosh-2.7.0-py2.7.egg',
 '/var/www/mailman/eggs/mock-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/beautifulsoup4-4.3.2-py2.7.egg',
 '/var/www/mailman/eggs/djangorecipe-1.11-py2.7.egg',
 '/var/www/mailman/eggs/zc.recipe.egg-2.0.1-py2.7.egg',
 '/var/www/mailman/venv/lib/python2.7/site-packages',
 '/var/www/mailman/eggs/numpy-1.9.2-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/lockfile-0.10.2-py2.7.egg',
 '/var/www/mailman/eggs/django_extensions-1.5.2-py2.7.egg',
 '/var/www/mailman/eggs/django_haystack-2.3.1-py2.7.egg',
 '/var/www/mailman/eggs/enum34-1.0.4-py2.7.egg',
 '/var/www/mailman/eggs/networkx-1.9.1-py2.7.egg',
 '/var/www/mailman/eggs/python_dateutil-1.5-py2.7.egg',
 '/var/www/mailman/eggs/mailmanclient-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_browserid-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_compressor-1.5-py2.7.egg',
 '/var/www/mailman/eggs/django_paintstore-0.2-py2.7.egg',
 '/var/www/mailman/eggs/pytz-2015.2-py2.7.egg',
 '/var/www/mailman/eggs/robot_detection-0.3-py2.7.egg',
 '/var/www/mailman/eggs/cssmin-0.2.0-py2.7.egg',
 '/var/www/mailman/eggs/rjsmin-1.0.10-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/django_crispy_forms-1.4.0-py2.7.egg',
 '/var/www/mailman/eggs/djangorestframework-3.1.1-py2.7.egg',
 '/var/www/mailman/eggs/python_social_auth-0.2.7-py2.7.egg',
 '/var/www/mailman/eggs/django_gravatar2-1.3.0-py2.7.egg',
 '/var/www/mailman/eggs/six-1.9.0-py2.7.egg',
 '/var/www/mailman/eggs/decorator-3.4.2-py2.7.egg',
 '/var/www/mailman/eggs/httplib2-0.9.1-py2.7.egg',
 '/var/www/mailman/eggs/requests-2.6.2-py2.7.egg',
 '/var/www/mailman/eggs/django_appconf-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/PyJWT-1.1.0-py2.7.egg',
 '/var/www/mailman/eggs/requests_oauthlib-0.4.2-py2.7.egg',
 '/var/www/mailman/eggs/oauthlib-0.7.2-py2.7.egg',
 '/var/www/mailman/eggs/python_openid-2.2.5-py2.7.egg',
 '/var/www/mailman',
 '/var/www/mailman/bin',
 '/var/www/mailman/venv/lib64/python27.zip',
 '/var/www/mailman/venv/lib64/python2.7',
 '/var/www/mailman/venv/lib64/python2.7/plat-linux2',
 '/var/www/mailman/venv/lib64/python2.7/lib-tk',
 '/var/www/mailman/venv/lib64/python2.7/lib-old',
 '/var/www/mailman/venv/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7',
 '/usr/lib/python2.7/plat-linux2']

I used no special characters for username and email. Any ideas?

ciao
t.
--
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] Error message on my Mailman Install.

2015-04-22 Thread Mark Sapiro
On 04/22/2015 03:51 PM, Dr. Mikeal Hughes wrote:
> Now getting this error message. - AH01276: Cannot serve directory 
> /usr/lib/cgi-bin/mailman/: No matching DirectoryIndex 
> (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and 
> server-generated directory index forbidden by Options directive


There is a problem in your Apache config.

You probably need a ScriptAlias for the path you are accessing that
gives that error. See .
Otherwise we'd need to see your Apache config file to help.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error message on my Mailman Install.

2015-04-22 Thread Dr. Mikeal Hughes
Now getting this error message. - AH01276: Cannot serve directory 
/usr/lib/cgi-bin/mailman/: No matching DirectoryIndex 
(index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and 
server-generated directory index forbidden by Options directive
--
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] Error from Cron about Mailman on Debian

2013-12-24 Thread Mark Sapiro
On 12/24/2013 02:02 PM, EyeLand wrote:
> 
> I see "fixing", and I understand all is ok now?


Probably. You'll know for sure the next time cron/senddigests runs.

Specifically, these fixes

> /var/lib/mailman/archives/private/mailman/attachments bad group (has:
> www-data, expected list) (fixing)
> directory permissions must be 02775:
> /var/lib/mailman/archives/private/mailman/attachments (fixing)

probably solved the problem.

-- 
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] Error from Cron about Mailman on Debian

2013-12-24 Thread EyeLand
2013/12/21 Mark Sapiro :
> On 12/21/2013 12:29 AM, EyeLand wrote:
>> 1) I receive error
>> bin/check_perms -f
>> -bash: bin/check_perms: No such file or directory
>
>
> This refers to Mailman's bin/ directory, probably
> /usr/lib/mailman/bin/check_perms.
>
>
>> 2) folder not exists
>> /var/lib/mailman/archives/private/mailman/attachments
>>
>> 3) on email I receive error from cron:
>>
>> Cron  [ -x /usr/lib/mailman/cron/senddigests ] &&
>> /usr/lib/mailman/cron/senddigests
>> List: mailman: problem processing /var/lib/mailman/lists/mailman/digest.mbox:
>> [Errno 13] Permission denied:
>> '/var/lib/mailman/archives/private/mailman/attachments/20131216'
>
>
> Digest processing for the 'mailman' list is attempting to create the
> directory /var/lib/mailman/archives/private/mailman/attachments/20131216
> into which it will store scrubbed attachments. The process will create
> the intermediate directories as needed.
>
> If /var/lib/mailman/archives/private/mailman/attachments doesn't exist
> it's because the process didn't have sufficient permission to create it.
> check_perms -f run as root should fix this.
>
> Otherwise, check permissions as below.
>
>
>>> Run Mailman's
>>>
>>> bin/check_perms -f
>>>
>>> as root. This should fix the problem. If not, all the directories
>>>
>>> /var/lib/mailman
>>> /var/lib/mailman/archives
>>> /var/lib/mailman/archives/private/mailman/
>>> /var/lib/mailman/archives/private/mailman/attachments
>>>
>>> should have mode 2775 (drwxrwsr-x) and group equal Mailman's group
>>> (probably 'list' on Debian, and /var/lib/mailman/archives/private should
>>> have the same group and either the mode should be 2770 (drwxrws---) and
>>> the owner should be the web server user (probably www-data) or the mode
>>> should be 2771 (drwxrws--x). See the Warning: box at
>>> .
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan

I see "fixing", and I understand all is ok now?

root@vps1:~# cd /var/lib/mailman/archives/private/mailman/attachments/
root@vps1:/var/lib/mailman/archives/private/mailman/attachments# check_perms -f
directory must be at least 02775: /var/lib/mailman/logs (fixing)
/var/lib/mailman/cron bad group (has: root, expected list) (fixing)
/var/lib/mailman/scripts bad group (has: root, expected list) (fixing)
directory permissions must be 02775: /var/lib/mailman/messages (fixing)
/var/lib/mailman/bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/logs bad group (has: root, expected list) (fixing)
/var/lib/mailman/templates bad group (has: root, expected list) (fixing)
/var/lib/mailman/mail bad group (has: root, expected list) (fixing)
/var/lib/mailman/locks bad group (has: root, expected list) (fixing)
/var/lib/mailman/Mailman bad group (has: root, expected list) (fixing)
/var/lib/mailman/icons bad group (has: root, expected list) (fixing)
/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ko (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/lt (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/pt (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/no (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/pt_BR (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ja (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/de (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/fr (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/nl (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/eu (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ia (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ro (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/el (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ru (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ast (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/sr (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ca (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/zh_CN (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/ar (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/he (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/vi (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/et (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/sk (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/cs (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/sv (fixing)
directory permissions must be 02775: /var/lib/mailman/messages/hr (fixing)
directory permis

Re: [Mailman-Users] Error from Cron about Mailman on Debian

2013-12-21 Thread Mark Sapiro
On 12/21/2013 12:29 AM, EyeLand wrote:
> 1) I receive error
> bin/check_perms -f
> -bash: bin/check_perms: No such file or directory


This refers to Mailman's bin/ directory, probably
/usr/lib/mailman/bin/check_perms.


> 2) folder not exists
> /var/lib/mailman/archives/private/mailman/attachments
> 
> 3) on email I receive error from cron:
> 
> Cron  [ -x /usr/lib/mailman/cron/senddigests ] &&
> /usr/lib/mailman/cron/senddigests
> List: mailman: problem processing /var/lib/mailman/lists/mailman/digest.mbox:
> [Errno 13] Permission denied:
> '/var/lib/mailman/archives/private/mailman/attachments/20131216'


Digest processing for the 'mailman' list is attempting to create the
directory /var/lib/mailman/archives/private/mailman/attachments/20131216
into which it will store scrubbed attachments. The process will create
the intermediate directories as needed.

If /var/lib/mailman/archives/private/mailman/attachments doesn't exist
it's because the process didn't have sufficient permission to create it.
check_perms -f run as root should fix this.

Otherwise, check permissions as below.


>> Run Mailman's
>>
>> bin/check_perms -f
>>
>> as root. This should fix the problem. If not, all the directories
>>
>> /var/lib/mailman
>> /var/lib/mailman/archives
>> /var/lib/mailman/archives/private/mailman/
>> /var/lib/mailman/archives/private/mailman/attachments
>>
>> should have mode 2775 (drwxrwsr-x) and group equal Mailman's group
>> (probably 'list' on Debian, and /var/lib/mailman/archives/private should
>> have the same group and either the mode should be 2770 (drwxrws---) and
>> the owner should be the web server user (probably www-data) or the mode
>> should be 2771 (drwxrws--x). See the Warning: box 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] Error from Cron about Mailman on Debian

2013-12-18 Thread Mark Sapiro
On 12/18/2013 01:01 PM, EyeLand wrote:
> Hello, on VPS Debian I install Mailman, and everyday I receive error
> from Cron, can you consult? Thank you!
> 
> ***UNCHECKED*** Cron  [ -x
> /usr/lib/mailman/cron/senddigests ] &&
> /usr/lib/mailman/cron/senddigests
> List: mailman: problem processing /var/lib/mailman/lists/mailman/digest.mbox:
> [Errno 13] Permission denied:
> '/var/lib/mailman/archives/private/mailman/attachments'


Run Mailman's

bin/check_perms -f

as root. This should fix the problem. If not, all the directories

/var/lib/mailman
/var/lib/mailman/archives
/var/lib/mailman/archives/private/mailman/
/var/lib/mailman/archives/private/mailman/attachments

should have mode 2775 (drwxrwsr-x) and group equal Mailman's group
(probably 'list' on Debian, and /var/lib/mailman/archives/private should
have the same group and either the mode should be 2770 (drwxrws---) and
the owner should be the web server user (probably www-data) or the mode
should be 2771 (drwxrws--x). See the Warning: box 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


[Mailman-Users] Error from Cron about Mailman on Debian

2013-12-18 Thread EyeLand
Hello, on VPS Debian I install Mailman, and everyday I receive error
from Cron, can you consult? Thank you!

***UNCHECKED*** Cron  [ -x
/usr/lib/mailman/cron/senddigests ] &&
/usr/lib/mailman/cron/senddigests
List: mailman: problem processing /var/lib/mailman/lists/mailman/digest.mbox:
[Errno 13] Permission denied:
'/var/lib/mailman/archives/private/mailman/attachments'
--
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] ERROR in 2.1.5

2013-11-01 Thread David Josephson

On 10/31/13 6:01 PM, Janice Boothe wrote:

When I try to log into the admin page for my list (recently upgraded to 
MM2.1.5) I get the following...


Bug in Mailman version 2.1.15
We're sorry, we hit a bug!
Please inform the webmaster for this site


I got this error once in an upgrade, it was a file permissions issue. 
Did you run check_perms?


--
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] ERROR in 2.1.5

2013-10-31 Thread Mark Sapiro
Janice Boothe  wrote:
>When I try to log into the admin page for my list (recently upgraded to
>MM2.1.5) I get the following...
>
>
>Bug in Mailman version 2.1.15
>We're sorry, we hit a bug!
>Please inform the webmaster for this site of this
>problem.  Printing of traceback and other system information has been
>explicitly inhibited, but the webmaster can find this information in
>the
>Mailman error logs. 
>
>
>
>
>How do I resolve this issue?


If this is your mailman installation look in mailman's error log and see what 
the error is. If you need help post the error message and the trace back here.

If this is a hosted mailman, report the problem to your host.


-- 
Mark Sapiro 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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] ERROR in 2.1.5

2013-10-31 Thread Janice Boothe
When I try to log into the admin page for my list (recently upgraded to 
MM2.1.5) I get the following...


Bug in Mailman version 2.1.15
We're sorry, we hit a bug!
Please inform the webmaster for this site of this
problem.  Printing of traceback and other system information has been
explicitly inhibited, but the webmaster can find this information in the
Mailman error logs. 




How do I resolve this issue?
--
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] error when adding an unsubscribe link to emailfooter

2012-11-28 Thread Mark Sapiro
Web Analysts wrote:
>
>  Warning: The following illegal substitution variables were found in the
>  msg_footer string: user_optionsurl, user_password


You must enable personalization to use those replacements. 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


[Mailman-Users] error when adding an unsubscribe link to email footer

2012-11-28 Thread Web Analysts
   When I try and add

Unsubscribe: %(user_optionsurl)s?password=%(user_password)s&unsub=1&unsubconfirm
=1
to Footer added to mail sent to regular list member
I get the error

  Warning: The following illegal substitution variables were found in the
  msg_footer string: user_optionsurl, user_password

   Your list may not operate properly until you correct this problem.
--
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] error message while adding members

2012-11-03 Thread Lindsay Haisley
On Sat, 2012-11-03 at 23:19 +0530, Amit Bhatt wrote:
> Dear Lindsay,
> 
> Thanks for your excellent suggestion, it has worked for me!
> 
> Now the subscription is being done smoothly.

This addresses the symptom, but not the underlying problem, which may
recur.  HTTP caching can be fairly complex, and your local browser cache
is simply the last link in the chain.  Clearing your browser's cache
each time before loading this form will avoid the problem, but not solve
it, and it shouldn't be necessary.

Deleting your browser cache forces a refresh from the server, or proxy
server, but the underlying problem is that your browser _thinks_ that it
has the most recent version of the form page in its cache, so it
displays it.  Mailman's CGI mechanism that issues the form page should
always inform the user agent, or proxy server, that the page is new, so
that any agent in the chain, proxy server or browser, will discard a
cached version and reload it.  So what's broken here is the exchange of
this information.  I suppose this _could_ be a browser problem, but IMHO
it's more likely to be a problem further back toward the server, or on
the server itself.

Every mass subscription page form has a token, labeled "csrf_token", the
value of which is a string of letters and numbers, and is different each
time the page is generated by the CGI script.  This token is sent back
to Mailman when you submit the form.  This token is interpreted by
Mailman, which uses it to determine how long ago the page was generated,
and to refuse it if the page is older than FORM_LIFETIME, set in
Defaults.py or mm_cfg.py.  So because this token changes with every
service of this form, the page is always "new" and every element of the
connection between the CGI script and your browser should be told that
this is the case.

A couple of questions might help to understand this:

*  Are you using a HTTP proxy server?  This information would have been
intentionally set in your browser's configuration.  If so, do you know
anything about this proxy server?

*  What kind and version of browser are you using?

*  On what kind of system is Mailman running and what kind (Apache,
MSIIS, etc.) and version is the web server?

> Regards,
> 
> Amit Bhatt
> - Original Message - 
> From: "Lindsay Haisley" 
> To: 
> Sent: Saturday, November 03, 2012 10:36 PM
> Subject: Re: [Mailman-Users] error message while adding members
> 
> 
> > On Sat, 2012-11-03 at 07:52 -0700, Mark Sapiro wrote:
> >> What the message is telling you is that the mass subscribe form you are
> >> submitting was retrieved from the host longer than FORM_LIFETIME
> >> before it was submitted. If this is not the case, there is some issue
> >> in your web server. Perhaps the FAQ at <http://wiki.list.org/x/ioA9>
> >> is applicable.
> >
> > Could this be caused by a web proxy that's improperly caching the form
> > page and serving it to the client in spite of the fact that csrf_token
> > has changed?  Or improperly indicating to the client that the page
> > hasn't changed so that the client displays from its its own cache
> > instead of requesting it again from the server?
> >
> > Amit, I think a good test here would be to clear your browser's cache,
> > reload the subscription form, and see if you get the same error.  The
> > experts may have a better suggestion, but this is what I'd try.
> >
> > -- 
> > Lindsay Haisley   | "In an open world, who needs
> > FMP Computer Services |Windows or Gates"
> > 512-259-1190  |
> > http://www.fmp.com|
> >
> > --
> > 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/misterbhatt%40gmail.com
> >  


--
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] error message while adding members

2012-11-03 Thread Amit Bhatt

Dear Lindsay,

Thanks for your excellent suggestion, it has worked for me!

Now the subscription is being done smoothly.

Regards,

Amit Bhatt
- Original Message - 
From: "Lindsay Haisley" 

To: 
Sent: Saturday, November 03, 2012 10:36 PM
Subject: Re: [Mailman-Users] error message while adding members



On Sat, 2012-11-03 at 07:52 -0700, Mark Sapiro wrote:

What the message is telling you is that the mass subscribe form you are
submitting was retrieved from the host longer than FORM_LIFETIME
before it was submitted. If this is not the case, there is some issue
in your web server. Perhaps the FAQ at <http://wiki.list.org/x/ioA9>
is applicable.


Could this be caused by a web proxy that's improperly caching the form
page and serving it to the client in spite of the fact that csrf_token
has changed?  Or improperly indicating to the client that the page
hasn't changed so that the client displays from its its own cache
instead of requesting it again from the server?

Amit, I think a good test here would be to clear your browser's cache,
reload the subscription form, and see if you get the same error.  The
experts may have a better suggestion, but this is what I'd try.

--
Lindsay Haisley   | "In an open world, who needs
FMP Computer Services |Windows or Gates"
512-259-1190  |
http://www.fmp.com|

--
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/misterbhatt%40gmail.com 


--
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] error message while adding members

2012-11-03 Thread Lindsay Haisley
On Sat, 2012-11-03 at 07:52 -0700, Mark Sapiro wrote:
> What the message is telling you is that the mass subscribe form you are
> submitting was retrieved from the host longer than FORM_LIFETIME
> before it was submitted. If this is not the case, there is some issue
> in your web server. Perhaps the FAQ at 
> is applicable.

Could this be caused by a web proxy that's improperly caching the form
page and serving it to the client in spite of the fact that csrf_token
has changed?  Or improperly indicating to the client that the page
hasn't changed so that the client displays from its its own cache
instead of requesting it again from the server?

Amit, I think a good test here would be to clear your browser's cache,
reload the subscription form, and see if you get the same error.  The
experts may have a better suggestion, but this is what I'd try.

-- 
Lindsay Haisley   | "In an open world, who needs  
FMP Computer Services |Windows or Gates"
512-259-1190  |
http://www.fmp.com|

--
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] error message while adding members

2012-11-03 Thread Lindsay Haisley
On Sat, 2012-11-03 at 21:47 +0530, Amit Bhatt wrote:
> I am sorry, it is version 2.1.1.15.
> 
I believe the form timeout feature, and the related error message, were
introduced in 2.1.15 and aren't present in earlier versions.  Mailman
uses the standard version numbering scheme of Major.Minor.Revision and a
4th number, if it's there, may possibly be a distribution (downstream)
number.  From a cmd line:

~mailman/bin/version

Will give you the correct number, assuming you're using a Unix-like OS.

Also http:///mailman/listinfo will show it to you at the
bottom of the page.

-- 
Lindsay Haisley   | "Real programmers use butterflies"
FMP Computer Services |
512-259-1190  |   - xkcd
http://www.fmp.com|

--
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] error message while adding members

2012-11-03 Thread Amit Bhatt

I am sorry, it is version 2.1.1.15.

- Original Message - 
From: "Amit Bhatt" 

To: "Mark Sapiro" ; 
Sent: Saturday, November 03, 2012 9:46 PM
Subject: Re: [Mailman-Users] error message while adding members


yes, surprisingly, the mailing list has been updated in to new version 
1.1.15 without any effort made by me.
I am surprised because I have never tried to update the list, is it 
possible that the updation is done from our web server end?


I have noticed this change after seeing your reply.

Regards,

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

To: "Amit Bhatt" ; 
Sent: Saturday, November 03, 2012 8:22 PM
Subject: Re: [Mailman-Users] error message while adding members



Amit Bhatt wrote:


I am unable to add or subscribe any member using mass subscription option 
under membership management of my mailing list. I am facing the below 
error since yesterday:


Error: The form lifetime has expired. (request forgery check)



This message comes from the new in 2.1.15 CSRF mitigation features.

When did you upgrade to 2.1.15?

Have you set a value for FORM_LIFETIME in mm_cfg.py? If so, what? (The
default setting in Defaults.py is 1 hour.)

What the message is telling you is that the mass subscribe form you are
submitting was retrieved from the host longer than FORM_LIFETIME
before it was submitted. If this is not the case, there is some issue
in your web server. Perhaps the FAQ at <http://wiki.list.org/x/ioA9>
is applicable.

--
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] error message while adding members

2012-11-03 Thread Amit Bhatt
yes, surprisingly, the mailing list has been updated in to new version 
1.1.15 without any effort made by me.
I am surprised because I have never tried to update the list, is it possible 
that the updation is done from our web server end?


I have noticed this change after seeing your reply.

Regards,

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

To: "Amit Bhatt" ; 
Sent: Saturday, November 03, 2012 8:22 PM
Subject: Re: [Mailman-Users] error message while adding members



Amit Bhatt wrote:


I am unable to add or subscribe any member using mass subscription option 
under membership management of my mailing list. I am facing the below 
error since yesterday:


Error: The form lifetime has expired. (request forgery check)



This message comes from the new in 2.1.15 CSRF mitigation features.

When did you upgrade to 2.1.15?

Have you set a value for FORM_LIFETIME in mm_cfg.py? If so, what? (The
default setting in Defaults.py is 1 hour.)

What the message is telling you is that the mass subscribe form you are
submitting was retrieved from the host longer than FORM_LIFETIME
before it was submitted. If this is not the case, there is some issue
in your web server. Perhaps the FAQ at <http://wiki.list.org/x/ioA9>
is applicable.

--
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] error message while adding members

2012-11-03 Thread Mark Sapiro
Amit Bhatt wrote:
>
>I am unable to add or subscribe any member using mass subscription option 
>under membership management of my mailing list. I am facing the below error 
>since yesterday:
>
>Error: The form lifetime has expired. (request forgery check)


This message comes from the new in 2.1.15 CSRF mitigation features.

When did you upgrade to 2.1.15?

Have you set a value for FORM_LIFETIME in mm_cfg.py? If so, what? (The
default setting in Defaults.py is 1 hour.)

What the message is telling you is that the mass subscribe form you are
submitting was retrieved from the host longer than FORM_LIFETIME
before it was submitted. If this is not the case, there is some issue
in your web server. Perhaps the FAQ at 
is applicable.

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


[Mailman-Users] error message while adding members

2012-11-03 Thread Amit Bhatt
Hello experts,

I am unable to add or subscribe any member using mass subscription option under 
membership management of my mailing list. I am facing the below error since 
yesterday:

Error: The form lifetime has expired. (request forgery check)

Please suggest me the remedy for it.

Thanks,

Amit Bhatt
--
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] Error: You are not authorized to create newmailinglists

2012-08-27 Thread Thufir

On 08/27/2012 09:20 PM, Mark Sapiro wrote:

I wonder where mailman is picking up the @localhost, because mm_cfg.py
>should only use the FQDN:


The create CGI gets the domain from the host name in the URL. If you go
to  it should work.


Works nicely :)


thanks for all the help.  I'm almost there.


-Thufir
--
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] Error: You are not authorized to create newmailinglists

2012-08-27 Thread Mark Sapiro
Thufir wrote:
>
>I get:
>
>Error: Illegal list name: comp.lang.java.help.3@localhost
>
>from the web interface (I only typed in the part before @localhost)


Because Mailman doesn't like domains without at least one dot.


>although the CLI seems to handle it fine:
[...]
>I wonder where mailman is picking up the @localhost, because mm_cfg.py 
>should only use the FQDN:


The create CGI gets the domain from the host name in the URL. If you go
to  it should work. If
you can't go there, 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
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] Error: You are not authorized to create new mailinglists

2012-08-27 Thread Thufir

On 08/27/2012 09:02 PM, Mark Sapiro wrote:
[...]

bin/mmsitepass --help



Well, don't I feel silly.  I knew about that but didn't use it because I 
figured it was something else.  Pardon about that.


I get:

Error: Illegal list name: comp.lang.java.help.3@localhost

from the web interface (I only typed in the part before @localhost)


although the CLI seems to handle it fine:

root@dur:~#
root@dur:~# /usr/sbin/list_lists
3 matching mailing lists found:
 Comp.lang.java - [no description available]
Comp.lang.java.help - [no description available]
Mailman - [no description available]
root@dur:~#



I wonder where mailman is picking up the @localhost, because mm_cfg.py 
should only use the FQDN:


root@dur:~#
root@dur:~# grep dur /etc/mailman/mm_cfg.py
DEFAULT_EMAIL_HOST = 'dur.bounceme.net'
DEFAULT_URL_HOST   = 'dur.bounceme.net'
root@dur:~#



-Thufir
--
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] Error: You are not authorized to create new mailinglists

2012-08-27 Thread Mark Sapiro
Thufir wrote:

>While I can browse to
>
>http://localhost/cgi-bin/mailman/listinfo/comp.lang.java.help
>
>and see that there's such a list, I cannot create list from
>
>http://localhost/cgi-bin/mailman/admin
>
>which returns
>
>Error: You are not authorized to create new mailing lists
>
>whenever I try to create a list.  However, it does work from the CLI:


If you follow the "create a new mailing list" link from
, it should take you to a form
at . When you submit that
form, you must specify your installation's list creator password in
the last field on the form. This password is set by Mailman's
bin/mmsitepass. See

bin/mmsitepass --help

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


[Mailman-Users] Error: You are not authorized to create new mailing lists

2012-08-27 Thread Thufir

While I can browse to

http://localhost/cgi-bin/mailman/listinfo/comp.lang.java.help

and see that there's such a list, I cannot create list from

http://localhost/cgi-bin/mailman/admin

which returns

Error: You are not authorized to create new mailing lists

whenever I try to create a list.  However, it does work from the CLI:


root@dur:~#
root@dur:~# newlist comp.lang.java.help
Enter the email of the person running the list: hawat.thu...@gmail.com
Initial comp.lang.java.help password:
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## comp.lang.java.help mailing list
comp.lang.java.help:  "|/var/lib/mailman/mail/mailman post 
comp.lang.java.help"
comp.lang.java.help-admin:"|/var/lib/mailman/mail/mailman admin 
comp.lang.java.help"
comp.lang.java.help-bounces:  "|/var/lib/mailman/mail/mailman 
bounces comp.lang.java.help"
comp.lang.java.help-confirm:  "|/var/lib/mailman/mail/mailman 
confirm comp.lang.java.help"
comp.lang.java.help-join: "|/var/lib/mailman/mail/mailman join 
comp.lang.java.help"
comp.lang.java.help-leave:"|/var/lib/mailman/mail/mailman leave 
comp.lang.java.help"
comp.lang.java.help-owner:"|/var/lib/mailman/mail/mailman owner 
comp.lang.java.help"
comp.lang.java.help-request:  "|/var/lib/mailman/mail/mailman 
request comp.lang.java.help"
comp.lang.java.help-subscribe:"|/var/lib/mailman/mail/mailman 
subscribe comp.lang.java.help"
comp.lang.java.help-unsubscribe:  "|/var/lib/mailman/mail/mailman 
unsubscribe comp.lang.java.help"


Hit enter to notify comp.lang.java.help owner...

root@dur:~#


why won't the web interface accept the same password?  Or, is it that 
the web interface itself, perhaps, isn't authorized.  What's not 
authorized, the password I provided (which works from the CLI) or 
something about how the web interface is setup?





thanks,

Thufir
--
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] Error on attempt to create a List inMailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Stephen J. Turnbull
Mark Sapiro writes:

 > >What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
 > >correct path to the create wrapper) show?
 > >  Answer:  I have no directory called "create" in the 
 > > /var/lib/mailman/directory structure

As Mark points out, it's /usr/..., not /var/  Many installations
link the /usr/lib/mailman directories into the /var/lib/mailman tree
for convenience, but not all do.

 > How about "/usr/lib/mailman/cgi-bin/create"?

I suspect on many distros it's more likely to be

/usr/lib/cgi-bin/mailman/create

(note inversion of cgi-bin and mailman in the path).  I would guess
that the rationale is security eggs in one basket.  For the webserver
admin There's One Obvious Place To Look For It, which is important if
they're not the same person as the mailman admin.
--
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] Error on attempt to create a List inMailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Mark Sapiro
Bob Perez wrote

>What does "ls -ld /var/lib/mailman/archives/private" show?
>  Answer: "drwxr-x--- 6  root mailman 160 June 22 13:50 
> /var/lib/mailman/archives/private"


chmod 2771 /var/lib/mailman/archives/private

should fix the problem. The mailman group needs write access to this
directory and it should be SETGID so new subordinates are created whit
group mailman. If multiple users have access to the file system on
this server and you are concerned that they might be able to see
private list archives, then do

chmod 2770 /var/lib/mailman/archives/private
chown xxx:mailman /var/lib/mailman/archives/private

where xxx is the user that the web server runs as.


>What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
>correct path to the create wrapper) show?
>  Answer:  I have no directory called "create" in the 
> /var/lib/mailman/directory structure


How about "/usr/lib/mailman/cgi-bin/create"?

-- 
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Bob Perez
Christian,
 
Your suggestion fixed the problem !  Thank You.
 
You have to set it to wwwrun:mailman, in order for the apache server to
have write access to it too.
It needs write access for creating lists via webinterface.
 
This was changed by the last update of mailman via SLES 10 updates,
therefore is a distro bug.

Bob Perez

>>> 


From: Mailman Admin 
To:Mark Sapiro 
CC:Bob Perez , 
Date: 6/25/2012 1:24 AM
Subject: Re: [Mailman-Users] Error on attempt to create a List in Mailman 
2.1.7-15.12.1 from Mailman Web admin UI
Hello Bob Perez, Hello Mark Sapiro


On 2012-06-24 15:36, Mark Sapiro wrote:
> On 6/23/2012 12:33 PM, Bob Perez wrote:
>>  
>> I see the error in the log with the list name I try to create ("list1", etc) 
>>   admin(10317): OSError: [Errno 13] Permission denied: 
>> '/var/lib/mailman/archives/private/list1.mbox'
>>  
>> So looks like a permission problem. I ran ./check_perms and then check_db - 
>> Did not help.
> 
> What does "ls -ld /var/lib/mailman/archives/private" show?
> 
> What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
> correct path to the create wrapper) show?
> 
>> I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in 
>> mailman.  Did not do this.
> 
> Good.
> 
>> I see that the user "mailman" in the "mailman group is the owner of the 
>> mailman files and directories, but after running the ./check_perms now 
>> "root" is the owner of the "mailman" group, however he is not a part of the 
>> group, so I made him a member - Same problem, even after restaring mailman 
>> with ./mailmanctl restart 
> 
> In general, the 'owner' of mailman's files doesn't matter. Everything is
> controlled by group permissions. All the qrunners run as group
> "mailman". The web CGI wrappers are supposed to be SETGID and group
> "mailman" so they run with effective group "mailman".
> 

I fell into that too.

The problem is, that even after bin/fixurl is run, the archive directory
/var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
You have to set it to wwwrun:mailman, in order for the apache server to
have write access to it too.
It needs write access for creating lists via webinterface.

This was changed by the last update of mailman via SLES 10 updates,
therefore is a distro bug.


Kind regards,
Christian Mack

--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Bob Perez
Mark,
 
What does "ls -ld /var/lib/mailman/archives/private" show?
  Answer: "drwxr-x--- 6  root mailman 160 June 22 13:50 
/var/lib/mailman/archives/private" 

What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
correct path to the create wrapper) show?
  Answer:  I have no directory called "create" in the /var/lib/mailman/ 
directory structure
 
Thanks,
Bob Perez

>>> 


From: Mark Sapiro 
To:Bob Perez 
CC:
Date: 6/24/2012 7:37 AM
Subject: Re: [Mailman-Users] Error on attempt to create a List in Mailman 
2.1.7-15.12.1 from Mailman Web admin UI
On 6/23/2012 12:33 PM, Bob Perez wrote:
>  
> I see the error in the log with the list name I try to create ("list1", etc) 
>   admin(10317): OSError: [Errno 13] Permission denied: 
> '/var/lib/mailman/archives/private/list1.mbox'
>  
> So looks like a permission problem. I ran ./check_perms and then check_db - 
> Did not help.


What does "ls -ld /var/lib/mailman/archives/private" show?

What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
correct path to the create wrapper) show?


> I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in 
> mailman.  Did not do this.


Good.


> I see that the user "mailman" in the "mailman group is the owner of the 
> mailman files and directories, but after running the ./check_perms now "root" 
> is the owner of the "mailman" group, however he is not a part of the group, 
> so I made him a member - Same problem, even after restaring mailman with 
> ./mailmanctl restart 


In general, the 'owner' of mailman's files doesn't matter. Everything is
controlled by group permissions. All the qrunners run as group
"mailman". The web CGI wrappers are supposed to be SETGID and group
"mailman" so they run with effective group "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] Error on attempt to create a List in Mailman2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Mark Sapiro
Mailman Admin wrote:
>
>The problem is, that even after bin/fixurl is run, the archive directory
>/var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
>You have to set it to wwwrun:mailman, in order for the apache server to
>have write access to it too.
>It needs write access for creating lists via webinterface.


I think Stephen has covered this well, but in case there is any
remaining confusion, here's a summary.

In order for web access to public archives to work, the web server,
running as the web server user:group, must be able to search the
archives/private directory. For other reasons (next paragraph), this
directory must be group 'mailman' so in order for public archive
access to work, the archives/private directory must be o+x or owned by
the web server user.

This has nothing to do with the create or other CGIs working because
the CGI wrappers should all be group mailman and SETGID so the run
with effective group mailman and that group should have sufficient
access to do what the CGIs need to do.

In this case, if the create CGI wrapper is group mailman and SETGID and
the mailman group has rwx (actually rws for other reasons) access on
archives/private, and the create gets the permission denied error, the
SETGID must not be effective, perhaps because it's on a file system
that doesn't allow it, but in that case, all the CGIs should have
permission issues.

-- 
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Stephen J. Turnbull
Stephen J. Turnbull writes:

 >  > > The httpd doesn't need access to the archives; the mailman CGI does.
 >  > > So the CGI wrapper should be setgid mailman.  Is it?
 >  > > 
 >  > 
 >  > Yes it is.
 > 
 > Is /var/lib/mailman/archives/private/ group-writable?  If not, I'm
 > stumped; it should be possible for the CGIs to write to it then.

That should say "if *it is*, then I'm stumped.

If not, we need to figure out why not, IME check_perms -f fixes that.

--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Stephen J. Turnbull
Mailman Admin writes:

 > On 2012-06-25 09:37, Stephen J. Turnbull wrote:
 > > Mailman Admin writes:
 > > 
 > >  > The problem is, that even after bin/fixurl is run, the archive directory
 > >  > /var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
 > >  > You have to set it to wwwrun:mailman, in order for the apache server to
 > >  > have write access to it too.
 > > 
 > > The httpd doesn't need access to the archives; the mailman CGI does.
 > > So the CGI wrapper should be setgid mailman.  Is it?
 > > 
 > 
 > Yes it is.

Is /var/lib/mailman/archives/private/ group-writable?  If not, I'm
stumped; it should be possible for the CGIs to write to it then.

--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Mailman Admin
Hello Stephen J. Turnbull


On 2012-06-25 09:37, Stephen J. Turnbull wrote:
> Mailman Admin writes:
> 
>  > The problem is, that even after bin/fixurl is run, the archive directory
>  > /var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
>  > You have to set it to wwwrun:mailman, in order for the apache server to
>  > have write access to it too.
> 
> The httpd doesn't need access to the archives; the mailman CGI does.
> So the CGI wrapper should be setgid mailman.  Is it?
> 

Yes it is.

ls -ld /usr/lib/mailman/cgi-bin/
drwxr-sr-x 2 root mailman 4096 Jun 14 08:37 /usr/lib/mailman/cgi-bin/

ls -l /usr/lib/mailman/cgi-bin/
total 144
-rwxr-sr-x 1 root mailman 10832 May 18 19:18 admin
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 admindb
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 confirm
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 create
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 editarch
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 edithtml
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 listinfo
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 options
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 private
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 rmlist
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 roster
-rwxr-sr-x 1 root mailman 10840 May 18 19:18 subscribe


>  > This was changed by the last update of mailman via SLES 10 updates,
>  > therefore is a distro bug.
> 
> +1 to that, though.
> 


Kind regards,
Christian Mack
--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Stephen J. Turnbull
Mailman Admin writes:

 > The problem is, that even after bin/fixurl is run, the archive directory
 > /var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
 > You have to set it to wwwrun:mailman, in order for the apache server to
 > have write access to it too.

The httpd doesn't need access to the archives; the mailman CGI does.
So the CGI wrapper should be setgid mailman.  Is it?

 > This was changed by the last update of mailman via SLES 10 updates,
 > therefore is a distro bug.

+1 to that, though.

--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-25 Thread Mailman Admin
Hello Bob Perez, Hello Mark Sapiro


On 2012-06-24 15:36, Mark Sapiro wrote:
> On 6/23/2012 12:33 PM, Bob Perez wrote:
>>  
>> I see the error in the log with the list name I try to create ("list1", etc) 
>>   admin(10317): OSError: [Errno 13] Permission denied: 
>> '/var/lib/mailman/archives/private/list1.mbox'
>>  
>> So looks like a permission problem. I ran ./check_perms and then check_db - 
>> Did not help.
> 
> What does "ls -ld /var/lib/mailman/archives/private" show?
> 
> What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
> correct path to the create wrapper) show?
> 
>> I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in 
>> mailman.  Did not do this.
> 
> Good.
> 
>> I see that the user "mailman" in the "mailman group is the owner of the 
>> mailman files and directories, but after running the ./check_perms now 
>> "root" is the owner of the "mailman" group, however he is not a part of the 
>> group, so I made him a member - Same problem, even after restaring mailman 
>> with ./mailmanctl restart 
> 
> In general, the 'owner' of mailman's files doesn't matter. Everything is
> controlled by group permissions. All the qrunners run as group
> "mailman". The web CGI wrappers are supposed to be SETGID and group
> "mailman" so they run with effective group "mailman".
> 

I fell into that too.

The problem is, that even after bin/fixurl is run, the archive directory
/var/lib/mailman/archives/private/ has owner:group = mailman:mailman .
You have to set it to wwwrun:mailman, in order for the apache server to
have write access to it too.
It needs write access for creating lists via webinterface.

This was changed by the last update of mailman via SLES 10 updates,
therefore is a distro bug.


Kind regards,
Christian Mack
--
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] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-24 Thread Mark Sapiro
On 6/23/2012 12:33 PM, Bob Perez wrote:
>  
> I see the error in the log with the list name I try to create ("list1", etc) 
>   admin(10317): OSError: [Errno 13] Permission denied: 
> '/var/lib/mailman/archives/private/list1.mbox'
>  
> So looks like a permission problem. I ran ./check_perms and then check_db - 
> Did not help.


What does "ls -ld /var/lib/mailman/archives/private" show?

What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
correct path to the create wrapper) show?


> I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in 
> mailman.  Did not do this.


Good.


> I see that the user "mailman" in the "mailman group is the owner of the 
> mailman files and directories, but after running the ./check_perms now "root" 
> is the owner of the "mailman" group, however he is not a part of the group, 
> so I made him a member - Same problem, even after restaring mailman with 
> ./mailmanctl restart 


In general, the 'owner' of mailman's files doesn't matter. Everything is
controlled by group permissions. All the qrunners run as group
"mailman". The web CGI wrappers are supposed to be SETGID and group
"mailman" so they run with effective group "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


[Mailman-Users] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

2012-06-24 Thread Bob Perez
To All,
 
When I and a customer of mine attempt to create a List in Mailman under SLES10 
in the Mailman Web admin UI, we get the below error.  I have look at Google and 
mailman-users list archives and cannot find a solution yet.
 
NOTE:  If I go to /usr/lib/mailman/bin/ and execute the command ./newlist 
 IT WORKS FINE , but not under the web console.
 
I have Sendmail working with Mailman.  Postfix is not an option.
 
NOTE: the below info, under the Error is the Mailman error log : 
/var/lib/mailmain/logs/error log during the attempt to create any list from the 
Mailman Webpage
 
I see the error in the log with the list name I try to create ("list1", etc) 
  admin(10317): OSError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/list1.mbox'
 
So looks like a permission problem. I ran ./check_perms and then check_db - Did 
not help.

I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in 
mailman.  Did not do this.
I see that the user "mailman" in the "mailman group is the owner of the mailman 
files and directories, but after running the ./check_perms now "root" is the 
owner of the "mailman" group, however he is not a part of the group, so I made 
him a member - Same problem, even after restaring mailman with ./mailmanctl 
restart 
I noticed that /var/lib/mailman/archives/private was owned by the "mailman" 
owner, so I did a chown -R for the owner "root" that is a member of the 
"mailman" group, still same error.
Thanks for your assistance,Bob Perez (bpe...@novell.com)
> ERROR <<<
Bug in Mailman version 2.1.7
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, but the 
webmaster can find this information in the Mailman error logs. 
< End Error >>>
 
>> Mailman Error log called "error" 
Jun 22 12:54:38 2012 admin(10317):  
admin(10317): [- Mailman Version: 2.1.7 -] 
admin(10317): [- Traceback --] 
admin(10317): Traceback (most recent call last):
admin(10317):   File "/usr/lib/mailman/scripts/driver", line 101, in run_main
admin(10317):main()
admin(10317):   File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in main
admin(10317):process_request(doc, cgidata)
admin(10317):   File "/usr/lib/mailman/Mailman/Cgi/create.py", line 190, in 
process_request
admin(10317):mlist.Create(listname, owner, pw, langs, emailhost)
admin(10317):   File "/usr/lib/mailman/Mailman/MailList.py", line 491, in Create
admin(10317):self.InitVars(name, admin, crypted_password)
admin(10317):   File "/usr/lib/mailman/Mailman/MailList.py", line 402, in 
InitVars
admin(10317):baseclass.InitVars(self)
admin(10317):   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 96, 
in InitVars
admin(10317):os.mkdir(self.archive_dir()+'.mbox', 02775)
admin(10317): OSError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/list1.mbox'
admin(10317): [- Python Information -] 
admin(10317): sys.version=   2.4.2 (#1, May  6 2011, 13:26:21) 
[GCC 4.1.2 20070115 (SUSE Linux)] 
admin(10317): sys.executable  =   /usr/bin/python 
admin(10317): sys.prefix  =   /usr 
admin(10317): sys.exec_prefix =   /usr 
admin(10317): sys.path  =   /usr 
admin(10317): sys.platform=   linux2 
admin(10317): [- Environment Variables -] 
admin(10317):  HTTP_COOKIE: 
mailman+admin=28020069f4bce44f7328006264346138623165646437633961613863633962646339636332373238613939396030316633;
 ZNPCQ003-38343200=cec434a7 
admin(10317):  SERVER_SOFTWARE: Apache/2.2.3 (Linux/SUSE) 
admin(10317):  SCRIPT_NAME: /mailman/create 
admin(10317):  SERVER_SIGNATURE: Apache/2.2.3 (Linux/SUSE) Server at 
bperez12.lab.novell.com Port 80
admin(10317): 
admin(10317):  REQUEST_METHOD: POST 
admin(10317):  SERVER_PROTOCOL: HTTP/1.1 
admin(10317):  QUERY_STRING:  
admin(10317):  CONTENT_LENGTH: 150 
admin(10317):  HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) 
Gecko/20100101 Firefox/13.0.1 
admin(10317):  HTTP_CONNECTION: keep-alive 
admin(10317):  HTTP_REFERER: http://bperez12.lab.novell.com/mailman/create 
admin(10317):  SERVER_NAME: bperez12.lab.novell.com 
admin(10317):  REMOTE_ADDR: 151.155.215.15 
admin(10317):  SERVER_PORT: 80 
admin(10317):  SERVER_ADDR: 151.155.215.12 
admin(10317):  DOCUMENT_ROOT: /srv/www/htdocs 
admin(10317):  PYTHONPATH: /usr/lib/mailman 
admin(10317):  SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/create 
admin(10317):  SERVER_ADMIN: [no address given] 
admin(10317):  HTTP_HOST: bperez12.lab.novell.com 
admin(10317):  REQUEST_URI: /mailman/create 
admin(10317):  HTTP_ACCEPT: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
admin(10317):  GATEWAY_INTERFACE: CGI/1.1 
admin(10317):  REMOTE_PORT: 5161

Re: [Mailman-Users] Error :: Message sent to user-owner ?

2012-06-07 Thread jacques

Le 06/06/2012 16:50, jacques a écrit :


In addition I get an error message that shows that Mailman has sent a
Welcome Message to :



user-ow...@hotmail.fr


Mark S. told me (privately) :

|| Go to the list's General Options page and find the setting for
|| umbrella-list and set it to No.


Set ! Will see next time,

Thanks Mark,


  J.
--
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] Error :: Message sent to user-owner ?

2012-06-06 Thread Mark Sapiro
On 6/6/2012 7:50 AM, jacques wrote:
> 
> each time I subscribe a ''user'', using mass subscription
> 
> http://melusine.eu.org/cgi-bin/mailman/admin/argos-vienne/members/add
> 
> I get two messages via mail :
> 
> 
> u...@hotmail.fr a été abonné à Argos-vienne avec succès
> 
> 
> that is corract,
> 
> 
> In addition I get an error message that shows that Mailman has sent a
> Welcome Message to :
> 
> user-ow...@hotmail.fr
> 
> 
> Not a big deal, things seems to be working fine, but I would like to fix
> this.


Go to the list's General Options page and find the setting for
umbrella-list and set it to No.

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


[Mailman-Users] Error :: Message sent to user-owner ?

2012-06-06 Thread jacques

Hello,

Mailman here speaks french :))


each time I subscribe a ''user'', using mass subscription

http://melusine.eu.org/cgi-bin/mailman/admin/argos-vienne/members/add

I get two messages via mail :


u...@hotmail.fr a été abonné à Argos-vienne avec succès


that is corract,


In addition I get an error message that shows that Mailman has sent a 
Welcome Message to :


user-ow...@hotmail.fr


Not a big deal, things seems to be working fine, but I would like to fix 
this.



Thanks in advance,Jacques




--
Pour passer au message suivant appuyez sur #
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error when editing user

2012-06-06 Thread Stephen J. Turnbull
Jeff Conley writes:

 > I tried to do this yesterday, and began receiving the below error
 > message. I also receive it when I try to set the global moderation
 > bit.
 > 
 > Any help would be greatly appreciated!
 > 
 > --
 > 
 > Not Acceptable
 > 
 > An appropriate representation of the requested resource
 > /mailman/admin/domain.com/members could not be found on this server.
 > 
 > Additionally, a 404 Not Found error was encountered while trying to
 > use an ErrorDocument to handle the request.

Your webserver is having problems; this cannot be a Mailman issue as
far as I can see.  If you don't administer the webserver, you'll need
to talk to the person who does.
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Error when editing user

2012-06-06 Thread Jeff Conley
We've had several user's email accounts get hacked, and spam get sent
out to the entire list.

When this happened before, I would simply check their moderation bit
and could hold messages until I was assured their account was secured.

I tried to do this yesterday, and began receiving the below error
message. I also receive it when I try to set the global moderation
bit.

Any help would be greatly appreciated!

--

Not Acceptable

An appropriate representation of the requested resource
/mailman/admin/domain.com/members could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
--
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] Error accessing admin pages, AttributeError: local_name

2012-05-15 Thread Mark Sapiro
Odhiambo Washington wrote:

>I did not know of the existence of this branch of Mailman. How is it
>different from the main branch?
>I am running Mailman with vhosts in a single instance, with theonly
>limitation I have being that I cannot use the same listname more than once.
>Is there something I am/have been missing? I am on 2.1.14.


If you can accept the limitation of globally unique list names, stick
with what you have and upgrade to 2.1.15 when it is released.

If you need to use the same list name in two different domains, see
. This branch is
currently somewhere between 2.1.14 and 2.1.15 and will probably be
merged with 2.1.15 when it is released, but the patches on which it is
based are incomplete and not guaranteed. Read the description on the
above page for more information.

The recommendation for support of the same list name in two domains is
still either multiple 2.1.x instances or wait for Mailman 3.

-- 
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] Error accessing admin pages, AttributeError: local_name

2012-05-15 Thread Andrew H
On 15/05/2012 03:12, Mark Sapiro wrote:
> Andrew H wrote:
>> I'm using the mailman vhost branch (is this the 'best' thing to use to
>> do multi-domain mailing list hosting?)
>
> The recommended best practice for Mailman 2.1.x is to run a separate
> Mailman instance per domain. The vhost branch may be the second choice
> alternative.
>
>
>> When I enter /mailman/admin/2030 it first asks for the password, after
>> that I get an error page 'Bug in Mailman version 2.1.14'
>>
>> This happens on all the lists, but it did used to work but I'm not sure
>> what has happened to break it now.
>
> What broke it is setting
>
> OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
>
> in mm_cfg.py. It's definitely a bug in the vhost branch. It's fixed (I
> hope) in rev. 852 of the branch. See
>  for
> the fix.
>

Ah, thank you very much!

I'm looking in to mailman3 too, seems quite different :-)


a.

--
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] Error accessing admin pages, AttributeError: local_name

2012-05-15 Thread Odhiambo Washington
On Tue, May 15, 2012 at 5:12 AM, Mark Sapiro  wrote:

> Andrew H wrote:
> >
> >I'm using the mailman vhost branch (is this the 'best' thing to use to
> >do multi-domain mailing list hosting?)
>
>
> The recommended best practice for Mailman 2.1.x is to run a separate
> Mailman instance per domain. The vhost branch may be the second choice
> alternative.
>
>
I did not know of the existence of this branch of Mailman. How is it
different from the main branch?
I am running Mailman with vhosts in a single instance, with theonly
limitation I have being that I cannot use the same listname more than once.
Is there something I am/have been missing? I am on 2.1.14.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
--
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] Error accessing admin pages, AttributeError: local_name

2012-05-14 Thread Mark Sapiro
Andrew H wrote:
>
>I'm using the mailman vhost branch (is this the 'best' thing to use to
>do multi-domain mailing list hosting?)


The recommended best practice for Mailman 2.1.x is to run a separate
Mailman instance per domain. The vhost branch may be the second choice
alternative.


>When I enter /mailman/admin/2030 it first asks for the password, after
>that I get an error page 'Bug in Mailman version 2.1.14'
>
>This happens on all the lists, but it did used to work but I'm not sure
>what has happened to break it now.


What broke it is setting

OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes

in mm_cfg.py. It's definitely a bug in the vhost branch. It's fixed (I
hope) in rev. 852 of the branch. See
 for
the fix.

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


[Mailman-Users] Error accessing admin pages, AttributeError: local_name

2012-05-14 Thread Andrew H
Hello,

I'm using the mailman vhost branch (is this the 'best' thing to use to
do multi-domain mailing list hosting?)

When I enter /mailman/admin/2030 it first asks for the password, after
that I get an error page 'Bug in Mailman version 2.1.14'

This happens on all the lists, but it did used to work but I'm not sure
what has happened to break it now.

The Error log can be seen at http://pastebin.com/KZKMwCap

Help appreciated!

Thanks

Andrew.
--
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] error while access to archive

2012-05-08 Thread Mark Sapiro
On 5/8/2012 9:30 AM, Amit Bhatt wrote:
> Hi all,
> 
> We are facing an unforeseen error: HTTP 404 Not Found
> while trying to access the archive.
> 
> I have set the option for public archive to view and it was working fine 
> today this morning but the above error started appearing by this afternoon.
> The entire mailing list and site is showing no error but it has happened with 
> archive only.


What does your web server error log say?

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


[Mailman-Users] error while access to archive

2012-05-08 Thread Amit Bhatt
Hi all,

We are facing an unforeseen error: HTTP 404 Not Found
while trying to access the archive.

I have set the option for public archive to view and it was working fine today 
this morning but the above error started appearing by this afternoon.
The entire mailing list and site is showing no error but it has happened with 
archive only.

any advise?

Regards,

Amit Bhatt
--
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] error while running make install

2012-03-08 Thread Stephen J. Turnbull
Mark Sapiro writes:
 > Stephen J. Turnbull wrote:
 > 
 > >Con Wieland writes:
 > >
 > > > for p in   ; \
 > >
 > >This is the problem.  There is a variable that should contain a list,
 > >and it's empty.  I think you can probably get past this by wrapping
 > >the variable in "" (not ''), but I don't know if that is TRT.
 > 
 > 
 > It won't get very far past it. The commands in the for loop will fail
 > because of the blank value of $p.

At least some minimal POSIX shells (dash, I think) treat a missing
argument as a syntax error, but a zero-length string as a null list
(and so DTRT of executing zero times).  It sorta makes sense...

It's amazing how often simply wrapping all variable references in ""
solves shell script errors.
--
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] error while running make install

2012-03-07 Thread Mark Sapiro
Stephen J. Turnbull wrote:

>Con Wieland writes:
>
> > for p in   ; \
>
>This is the problem.  There is a variable that should contain a list,
>and it's empty.  I think you can probably get past this by wrapping
>the variable in "" (not ''), but I don't know if that is TRT.


It won't get very far past it. The commands in the for loop will fail
because of the blank value of $p.

I don't know what shells are available in Solaris 10, but at least most
versions of bash are happy to execute a

for p in;

loop zero times.

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


[Mailman-Users] error while running make install

2012-03-07 Thread Stephen J. Turnbull
Con Wieland writes:

 > for p in   ; \

This is the problem.  There is a variable that should contain a list,
and it's empty.  I think you can probably get past this by wrapping
the variable in "" (not ''), but I don't know if that is TRT.
--
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] error while running make install

2012-03-07 Thread Mark Sapiro
On 3/7/2012 2:54 PM, Con Wieland wrote:
> I get the following error while running make install on Solaris 10 trying to 
> install mailman-2.1.14-1
> 
> any help would be appreciated. I see other folks with the error but no 
> solutions
[...]
> for p in   ; \
> do \
[...]


Your Python installation is new enough that none of the special
pythonlib packages need to be installed. Thus, configure has created
misc/Makefile containing

EMAILPKG=   
JACODECSPKG=
KOCODECSPKG=

PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)

so that PACKAGES is empty resulting in

for p in $(PACKAGES); \

being seen as

 for p in   ; \

and whatever shell your version of make uses doesn't like this.

You might try setting

SHELL=/bin/bash

or the path to whatever shell will successfully accept

for p in  ; do echo xxx $p xxx; done

and produce no output at the beginning of misc/Makefile or just at the
command level before running 'make install'.

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


[Mailman-Users] error while running make install

2012-03-07 Thread Con Wieland
I get the following error while running make install on Solaris 10 trying to 
install mailman-2.1.14-1

any help would be appreciated. I see other folks with the error but no solutions

thanks
Con Wieland


#make install
Creating architecture independent directories...
chmod o-r /opt/nsp/mailman/archives/private
Creating architecture dependent directories...
for f in mmsitepass newlist rmlist add_members  list_members remove_members 
clone_member update arch  sync_members check_db withlist check_perms 
find_member  version config_list list_lists dumpdb cleanarch  list_admins 
genaliases change_pw mailmanctl qrunner inject  unshunt fix_url.py convert.py 
transcheck b4b5-archfix  list_owners msgfmt.py show_qfiles discard rb-archfix  
reset_pw.py export.py; \
do \
/opt/csw/bin/ginstall -c -m 755 ../build/bin/$f /opt/nsp/mailman/bin; \
done
for f in crontab.in; \
do \
/opt/csw/bin/ginstall -c -m 644 $f /opt/nsp/mailman/cron; \
done
for f in checkdbs mailpasswds senddigests gate_news  nightly_gzip bumpdigests 
disabled cull_bad_shunt; \
do \
/opt/csw/bin/ginstall -c -m 755 ../build/cron/$f /opt/nsp/mailman/cron; \
done
for i in ./*.jpg ./*.png; \
do \
  /opt/csw/bin/ginstall -c -m 644 $i /opt/nsp/mailman/icons; \
done
for d in bin cron scripts tests; \
do \
dir=/opt/nsp/mailman/$d; \
/opt/csw/bin/ginstall -c -m 644 paths.py $dir; \
done
/opt/csw/bin/ginstall -c -m 755 mailman /opt/nsp/mailman/scripts
/opt/csw/bin/ginstall -c -m 644 sitelist.cfg /opt/nsp/mailman/data
if [ -z "" -a -d /opt/nsp/mailman/pythonlib/email ] ; \
then \
rm -rf /opt/nsp/mailman/pythonlib/email* ; \
fi
for p in   ; \
do \
gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \
(cd ./$p ; umask 02 ; PYTHONPATH=/opt/nsp/mailman/pythonlib 
/opt/csw/bin/python setup.py --quiet install --install-lib 
/opt/nsp/mailman/pythonlib  --install-purelib /opt/nsp/mailman/pythonlib  
--install-data /opt/nsp/mailman/pythonlib); \
done
sh: syntax error at line 1: `;' unexpected
*** Error code 2
make: Fatal error: Command failed for target `install-packages'
Current working directory /home/users/cwieland/mailman-2.1.14-1/misc
*** Error code 1
The following command caused the error:
for d in bin cron misc Mailman scripts src templates messages tests; \
do \
(cd $d; make DESTDIR= install); \
done
make: Fatal error: Command failed for target `doinstall'

--
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] error after migration

2012-02-10 Thread Mark Sapiro
nikos wrote:
>
>This is one:
>
>Feb 08 16:03:11 2012 (15955) Traceback (most recent call last):
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
> self._onefile(msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
> mlist.ArchiveMail(msg)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 217, in 
>ArchiveMail
> h.close()
>   File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 327, in close
> self.write_TOC()
>   File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1105, in 
>write_TOC
> toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: 
>'/var/lib/mailman/archives/private/mylist/index.html'


My best guess is there is some directory in the full path
/var/lib/mailman/archives/private/mylist/ that does not have search
permission for Mailman's group or the mylist/ ditectory does not have
write permission for Mailman's group or the index.html file exists and
doesn't have write permission for Mailman's group or this is a SELinux
or other security manager issue.

Did you migrate the archives by copying the archives/private/mylist
tree? If so, you may be able to fix this by following the recommended
procedure which is to only copy the
archives/private/mylist.mbox/mylist.mbox files and build the pipermail
archive with 'bin/arch --wipe mylist'

-- 
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] error after migration

2012-02-09 Thread nikos

This is one:

Feb 08 16:03:11 2012 (15955) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
mlist.ArchiveMail(msg)
  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 217, in 
ArchiveMail

h.close()
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 327, in close
self.write_TOC()
  File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1105, in 
write_TOC

toc = open(os.path.join(self.basedir, 'index.html'), 'w')
IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/mylist/index.html'




On 09/02/2012 6:42 μμ, Mark Sapiro wrote:

nikos wrote:

Lists seems to works fine, but I in error file I see some IOErrors like:

IOError: [Errno 13] Permission denied:
'/var/lib/mailman/archives/private/mylist/index.html


Please post the entire Mailman error log entry including the traceback
and environment and Python info if applicable.


--
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] error after migration

2012-02-09 Thread Mark Sapiro
nikos wrote:
>Lists seems to works fine, but I in error file I see some IOErrors like:
>
>IOError: [Errno 13] Permission denied: 
>'/var/lib/mailman/archives/private/mylist/index.html


Please post the entire Mailman error log entry including the traceback
and environment and Python info if applicable.

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


[Mailman-Users] error after migration

2012-02-09 Thread nikos

Hello list.
I have a problem after migration.
I move all list to a new centos server with mailman-2.1.12-17.el6.x86_64.
Lists seems to works fine, but I in error file I see some IOErrors like:

IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/mylist/index.html


check_perms -f dont find problems:

Warning: Private archive directory is other-executable (o+x).
 This could allow other users on your system to read private 
archives.

 If you're on a shared multiuser system, you should consult the
 installation manual on how to fix this.
No problems found


Is something I can do to solve this?

Thank you, Nikos
--
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] error logging into moderator page

2011-11-15 Thread Mark Sapiro
Robert P. Schwartz wrote:
>
>When trying to log into Moderator Authentication page to
> Tend to pending
>moderator requests.  I get the following error:  Has been working fine until
>today.
>
>
>Bug in Mailman version 2.1.14
[...]


If you have access to the server, what's in Mailman's error log? If
not, contact your hosting service for this information. It's up to
them to diagnose and resolve this 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
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] error logging into moderator page

2011-11-15 Thread Robert P. Schwartz

When trying to log into Moderator Authentication page to
 Tend to pending
moderator requests.  I get the following error:  Has been working fine until
today.


Bug in Mailman version 2.1.14


We're sorry, we hit a bug!


Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but
the webmaster can find this information in the Mailman error logs.

 

 

Robert P. Schwartz

--
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] Error when e-mailing a list: User unknown invirtual alias table

2011-07-31 Thread Mark Sapiro
Tom Browder wrote:

>I get this message when posting to my new lists:
>
>Delivery to the following recipient failed permanently:
>
>n...@mydomain.org
>
>Technical details of permanent failure:
>Google tried to deliver your message, but it was rejected by the
>recipient domain. We recommend contacting the other email provider for
>further information about the cause of this error. The error that the
>other server returned was: 550 550 5.1.1 :
>Recipient address rejected: User unknown in virtual alias table (state
>14).
>
>The Mailman docs (specifically /etc/mailman/postfix-to-mailman.py)
>says that I don't have to set up virtual aliases:


postfix-to-mailman.py is not a part of standard GNU mailman. It is part
of the Debian/Ubuntu Mailman package, but whether it is properly
installed by default is a Debian/Ubuntu packaging question.


># -join, -leave, -subscribe and -unsubscribe addresses. It will
># recognize a list as soon as the list is created, there is no need to
># add _any_ aliases for any list.  It recognizes mail to postmaster,
>
>but is that really true?


It is if Postfix is properly configured to use a 'mailman' transport
that invokes postfix-to-mailman.py for all mail to the Mailman list
domain.

It is clear from the above error message that 'mydomain.org' is a
virtual alias domain in Postfix and is not mapped to a 'mailman'
transport. You can either configure Postfix to use
postfix-to-mailman.py per the documentation which may or may not be
provided by Debian/Ubuntu or configure Postfix/Mailman integration per
.

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


[Mailman-Users] Error when e-mailing a list: User unknown in virtual alias table

2011-07-31 Thread Tom Browder
I get this message when posting to my new lists:

Delivery to the following recipient failed permanently:

n...@mydomain.org

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the
recipient domain. We recommend contacting the other email provider for
further information about the cause of this error. The error that the
other server returned was: 550 550 5.1.1 :
Recipient address rejected: User unknown in virtual alias table (state
14).

The Mailman docs (specifically /etc/mailman/postfix-to-mailman.py)
says that I don't have to set up virtual aliases:

# -join, -leave, -subscribe and -unsubscribe addresses. It will
# recognize a list as soon as the list is created, there is no need to
# add _any_ aliases for any list.  It recognizes mail to postmaster,

but is that really true?

Thanks,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA
--
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
Looks like it was selinuxi set it to permissive, rebooted and mailman 
appears to be up...

:/

regards

From: mailman-users-bounces+steven.jones=vuw.ac...@python.org 
[mailman-users-bounces+steven.jones=vuw.ac...@python.org] on behalf of Steven 
Jones [steven.jo...@vuw.ac.nz]
Sent: Friday, 3 June 2011 3:04 p.m.
To: Mark Sapiro
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

I have a nasty feeling about selinux

will check

regards

From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 2:54 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/11 6:44 PM, Steven Jones wrote:
> Yes, the lists themselves are under /var.the mailman binaries are under 
> /usr


OK. What does

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

return. Does it dump a bunch of data that looks like the attributes of a
list or something else?

--
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/steven.jones%40vuw.ac.nz
--
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
I have a nasty feeling about selinux

will check

regards

From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 2:54 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/11 6:44 PM, Steven Jones wrote:
> Yes, the lists themselves are under /var.the mailman binaries are under 
> /usr


OK. What does

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

return. Does it dump a bunch of data that looks like the attributes of a
list or something else?

--
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
true and false things, 0's 1's etc

send_welcome_msg : True,

etc

so yes its looks like attributes.

regards



From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 2:54 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/11 6:44 PM, Steven Jones wrote:
> Yes, the lists themselves are under /var.the mailman binaries are under 
> /usr


OK. What does

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

return. Does it dump a bunch of data that looks like the attributes of a
list or something else?

--
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] error on attempting t start mailman

2011-06-02 Thread Mark Sapiro
On 6/2/11 6:44 PM, Steven Jones wrote:
> Yes, the lists themselves are under /var.the mailman binaries are under 
> /usr


OK. What does

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

return. Does it dump a bunch of data that looks like the attributes of a
list or something else?

-- 
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
Yes, the lists themselves are under /var.the mailman binaries are under /usr

regards

From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 1:08 p.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/2011 6:03 PM, Steven Jones wrote:
>
> Here is the startup script,
[...]
>
> MAILMANHOME=/usr/lib/mailman
> MAILMANCTL=$MAILMANHOME/bin/mailmanctl


ASo your script is starting /usr/lib/mailman/bin/mailmanctl rather than
/var/lib/mailman/bin/mailmanctl.

Presumably the insatllation in /usr/lib/mailman has no lists.

--
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] error on attempting t start mailman

2011-06-02 Thread Mark Sapiro
On 6/2/2011 6:03 PM, Steven Jones wrote:
> 
> Here is the startup script,
[...]
> 
> MAILMANHOME=/usr/lib/mailman
> MAILMANCTL=$MAILMANHOME/bin/mailmanctl


ASo your script is starting /usr/lib/mailman/bin/mailmanctl rather than
/var/lib/mailman/bin/mailmanctl.

Presumably the insatllation in /usr/lib/mailman has no lists.

-- 
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
Hi,

Service mailman restart

Here is the startup script,

=
#!/bin/sh
#
# mailmanThis shell script starts and stops GNU Mailman.
#
# Copyright (C) 2001-2003 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.
#
# Copy this file to /etc/init.d/ (or /etc/rc.d/init.d/ depending on
# your system) and activate it as such:
#
# On Debian, type "update-rc.d mailman defaults"
# On RedHat, and derivatives, install with "chkconfig --add mailman"
#
# chkconfig: - 98 12
# description: Mailman is the GNU Mailing List Manager, a program that \
#  manages electronic mail discussion groups.  For more \
#  on GNU Mailman see http://www.list.org
# processname: mailmanctl
# config: /usr/lib/mailman/Mailman/mm_cfg.py
# pidfile: /var/run/mailman/master-qrunner.pid
### BEGIN INIT INFO
# Provides: mailman
# Required-Start: $local_fs $remote_fs $network $named
# Should-Start: httpd
# Required-Stop: $local_fs $remote_fs $network
# Default-Stop: 0 1 3 4 5 6
# Short-Description: start and stop Mailman
# Description: Mailman is the GNU mailing list manager.
### END INIT INFO

MAILMANHOME=/usr/lib/mailman
MAILMANCTL=$MAILMANHOME/bin/mailmanctl

# We used to install the mailman cron jobs when the mailman rpm was
# installed, irrespective of whether mailman was actually being
# run. Although the cron jobs didn't create any problems if someone
# wasn't running mailman some users complained about the cron log file
# filling up, resource usage, and power consumption since systems
# wouldn't really idle. It really only makes sense to run the mailman
# cron jobs if the mailman service is turned on and not just merely
# having the rpm installed. This init.d script is an obvious place to
# install or remove the cron jobs based on the service being enabled
# or not.

SRC_CRON_SCRIPT=$MAILMANHOME/cron/crontab.in
DST_CRON_SCRIPT=/etc/cron.d/mailman

function InstallCron()
{
install -m644 -o root -g root $SRC_CRON_SCRIPT $DST_CRON_SCRIPT
}

function RemoveCron()
{
cat > $DST_CRON_SCRIPT < -rw-rw. 1 mailman mailman   3902 Jun  2 12:00  
> /var/lib/mailman/lists/mailman/config.pck

So it looks like the 'mailman' user can access the config.pck.

So, how are you starting Mailman. Are you running

 /var/lib/mailman/bin/mailmanctl start

Or something like

 service mailman start

If the latter, what does the /etc/init.d/mailman script do?

--
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] error on attempting t start mailman

2011-06-02 Thread Mark Sapiro
On 6/2/2011 4:54 PM, Steven Jones wrote:
> -rw-rw. 1 mailman mailman   3902 Jun  2 12:00  
> /var/lib/mailman/lists/mailman/config.pck

So it looks like the 'mailman' user can access the config.pck.

So, how are you starting Mailman. Are you running

 /var/lib/mailman/bin/mailmanctl start

Or something like

 service mailman start

If the latter, what does the /etc/init.d/mailman script do?

-- 
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
-rw-rw. 1 mailman mailman   3902 Jun  2 12:00  
/var/lib/mailman/lists/mailman/config.pck

From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 11:12 a.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/2011 3:58 PM, Steven Jones wrote:
> Fixed the first one.tried restarting, same message.did the second 
> with -f which fixed ownerships (I have a case into Red Hat on this...
> but it still wont start.
>
> PREFIX  = /usr/lib/mailman
>
> VAR_PREFIX = /var/lib/mailman
>
> I think these are correct


What does

sudo -u mailman ls -l /var/lib/mailman/lists/mailman/config.pck

do?

--
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] error on attempting t start mailman

2011-06-02 Thread Mark Sapiro
On 6/2/2011 3:58 PM, Steven Jones wrote:
> Fixed the first one.tried restarting, same message.did the second 
> with -f which fixed ownerships (I have a case into Red Hat on this...
> but it still wont start.
> 
> PREFIX  = /usr/lib/mailman
> 
> VAR_PREFIX = /var/lib/mailman
> 
> I think these are correct


What does

sudo -u mailman ls -l /var/lib/mailman/lists/mailman/config.pck

do?

-- 
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
To add mailman will not start, still.

regards

From: mailman-users-bounces+steven.jones=vuw.ac...@python.org 
[mailman-users-bounces+steven.jones=vuw.ac...@python.org] on behalf of Steven 
Jones [steven.jo...@vuw.ac.nz]
Sent: Friday, 3 June 2011 10:58 a.m.
To: Mark Sapiro
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

Fixed the first one.tried restarting, same message.did the second with 
-f which fixed ownerships (I have a case into Red Hat on this...
but it still wont start.

PREFIX  = /usr/lib/mailman

VAR_PREFIX = /var/lib/mailman

I think these are correct

regards



From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 8:54 a.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/2011 12:55 PM, Steven Jones wrote:
> So the file is there.how to I get it to "find it" again?
>
> Also I suspect its the same with all the lists.

Probably it is all lists.

The first thing mailmanctl does is set its user and group to those of
Mailman. So there are two possibilities. Either 'mailman' doesn't have
sufficient access to even 'see' /var/lib/mailman/lists/*/config.pck.

The permissions and ownership on /var/lib/mailman should be

drwxrwsr-x   mailman mailman

check that, and if that doesn't solve your issue, run Mailman's
bin/check_perms -f as root.

If that still doesn't solve it, look at Mailman/Defaults.py for the
definition of PREFIX and VAR_PREFIX to ensure they are what you think
they 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/steven.jones%40vuw.ac.nz
--
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] error on attempting t start mailman

2011-06-02 Thread Steven Jones
Fixed the first one.tried restarting, same message.did the second with 
-f which fixed ownerships (I have a case into Red Hat on this...
but it still wont start.

PREFIX  = /usr/lib/mailman

VAR_PREFIX = /var/lib/mailman

I think these are correct

regards



From: Mark Sapiro [m...@msapiro.net]
Sent: Friday, 3 June 2011 8:54 a.m.
To: Steven Jones
Cc: mailman-users@python.org
Subject: Re: [Mailman-Users] error on attempting t start mailman

On 6/2/2011 12:55 PM, Steven Jones wrote:
> So the file is there.how to I get it to "find it" again?
>
> Also I suspect its the same with all the lists.

Probably it is all lists.

The first thing mailmanctl does is set its user and group to those of
Mailman. So there are two possibilities. Either 'mailman' doesn't have
sufficient access to even 'see' /var/lib/mailman/lists/*/config.pck.

The permissions and ownership on /var/lib/mailman should be

drwxrwsr-x   mailman mailman

check that, and if that doesn't solve your issue, run Mailman's
bin/check_perms -f as root.

If that still doesn't solve it, look at Mailman/Defaults.py for the
definition of PREFIX and VAR_PREFIX to ensure they are what you think
they 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] error on attempting t start mailman

2011-06-02 Thread Mark Sapiro
On 6/2/2011 12:55 PM, Steven Jones wrote:
> So the file is there.how to I get it to "find it" again?
> 
> Also I suspect its the same with all the lists.

Probably it is all lists.

The first thing mailmanctl does is set its user and group to those of
Mailman. So there are two possibilities. Either 'mailman' doesn't have
sufficient access to even 'see' /var/lib/mailman/lists/*/config.pck.

The permissions and ownership on /var/lib/mailman should be

drwxrwsr-x   mailman mailman

check that, and if that doesn't solve your issue, run Mailman's
bin/check_perms -f as root.

If that still doesn't solve it, look at Mailman/Defaults.py for the
definition of PREFIX and VAR_PREFIX to ensure they are what you think
they 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


  1   2   3   4   5   6   >