Re: [Mailman-Users] Mailman errors

2019-08-26 Thread Mark Sapiro
On 8/26/19 9:59 AM, Bill Richards wrote:
> Mark
> 
> I read the wiki and have inserted the "RedirectPermanent" statement in the
> httpd.conf file and restarted apache.  Then I ran
> "/usr/lib/mailman/bin/withlist -l -r fix_url aewa" and the following
> results came back:
> 
> Importing fix_url...
> Running fix_url.fix_url()...
> Loading list aewa (locked)
> Saving list
> Finalizing
> 
> After that I tried to approve/discard some pending requests and received a
> odd response when the next html page was not found:  "
> http://aewa.c.agile-being-124522.internal/mailman/admindb/aewa;
> Which to me looks like some sort of header I've seen in emails.  Apparently
> the  "/usr/lib/mailman/bin/withlist -l -r fix_url aewa"  command  has
> scrambled most of the web page archives.  I was able to find and fix it in
> the config.pck file but some of the other admin pages still have url's with
> the "aewa.c.agile-being" etc. in them.  Plus the archives are no longer
> accessible.


I can access the pipermail archive for your list with no problem

What is in Mailman's Mailman/Defaults.py and Mailman/mm_cfg.py for the
settings

DEFAULT_URL_PATTERN
DEFAULT_EMAIL_HOST
DEFAULT_URL_HOST
and all add_virtualhost() lines?

-- 
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] Mailman errors

2019-08-26 Thread Bill Richards
Mark

I read the wiki and have inserted the "RedirectPermanent" statement in the
httpd.conf file and restarted apache.  Then I ran
"/usr/lib/mailman/bin/withlist -l -r fix_url aewa" and the following
results came back:

Importing fix_url...
Running fix_url.fix_url()...
Loading list aewa (locked)
Saving list
Finalizing

After that I tried to approve/discard some pending requests and received a
odd response when the next html page was not found:  "
http://aewa.c.agile-being-124522.internal/mailman/admindb/aewa;
Which to me looks like some sort of header I've seen in emails.  Apparently
the  "/usr/lib/mailman/bin/withlist -l -r fix_url aewa"  command  has
scrambled most of the web page archives.  I was able to find and fix it in
the config.pck file but some of the other admin pages still have url's with
the "aewa.c.agile-being" etc. in them.  Plus the archives are no longer
accessible.

Right now I am stumped.

Bill

On Sun, Aug 25, 2019 at 5:45 PM Mark Sapiro  wrote:

> On 8/25/19 10:40 AM, Bill Richards wrote:
> > Mark
> >
> > Ran dumpdb against all the pck files and saw no instances of "new-" yet
> > when using
> >
> > find /home -xdev -type f -print0 | xargs -0 grep -H "new-"
> >
> > it finds matches in config.pck, config.pck.last & config.pck.safety
>
>
> I'm not sure why you are looking in /home since based on an off list
> message, your actual Mailman files are in /var/lib/mailman/lists/.
>
> In any case, if grep finds an instance of "new-" in some config.pck, the
> output of mailman's bin/dumpdb of that file should also contain "new-".
>
> But none of this seems relevant to your issues.
>
> For the smtp-failure log "Sender address
> rejected: Domain not found" errors, what are the messages in the MTA
> logs correlated with this.
>
> For the problems with approving and/or
> discarding messages and unable to add/delete users to the list issues,
> have you looked at  and did it help? Is
> this still an issue?
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-users/wildbill.richards%40gmail.com
>
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman errors

2019-08-25 Thread Bill Richards
Sorry, It wasn't  actually home I just cut and pasted the wrong line from
.bash_history.  I searched multiple directories but found the matches under
/var/lib/mailman

I'll check the maillogs in the morning.

re: the link, yes I recently converted the web site to https so I'll review
that link in the AM and see if that is it.

Thanks for the help

Bill

On Sun, Aug 25, 2019 at 5:45 PM Mark Sapiro  wrote:

> On 8/25/19 10:40 AM, Bill Richards wrote:
> > Mark
> >
> > Ran dumpdb against all the pck files and saw no instances of "new-" yet
> > when using
> >
> > find /home -xdev -type f -print0 | xargs -0 grep -H "new-"
> >
> > it finds matches in config.pck, config.pck.last & config.pck.safety
>
>
> I'm not sure why you are looking in /home since based on an off list
> message, your actual Mailman files are in /var/lib/mailman/lists/.
>
> In any case, if grep finds an instance of "new-" in some config.pck, the
> output of mailman's bin/dumpdb of that file should also contain "new-".
>
> But none of this seems relevant to your issues.
>
> For the smtp-failure log "Sender address
> rejected: Domain not found" errors, what are the messages in the MTA
> logs correlated with this.
>
> For the problems with approving and/or
> discarding messages and unable to add/delete users to the list issues,
> have you looked at  and did it help? Is
> this still an issue?
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-users/wildbill.richards%40gmail.com
>
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman errors

2019-08-25 Thread Mark Sapiro
On 8/25/19 10:40 AM, Bill Richards wrote:
> Mark
> 
> Ran dumpdb against all the pck files and saw no instances of "new-" yet
> when using
> 
> find /home -xdev -type f -print0 | xargs -0 grep -H "new-"
> 
> it finds matches in config.pck, config.pck.last & config.pck.safety


I'm not sure why you are looking in /home since based on an off list
message, your actual Mailman files are in /var/lib/mailman/lists/.

In any case, if grep finds an instance of "new-" in some config.pck, the
output of mailman's bin/dumpdb of that file should also contain "new-".

But none of this seems relevant to your issues.

For the smtp-failure log "Sender address
rejected: Domain not found" errors, what are the messages in the MTA
logs correlated with this.

For the problems with approving and/or
discarding messages and unable to add/delete users to the list issues,
have you looked at  and did it help? Is
this still an issue?

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


Re: [Mailman-Users] Mailman errors

2019-08-25 Thread Bill Richards
Mark

Ran dumpdb against all the pck files and saw no instances of "new-" yet
when using

find /home -xdev -type f -print0 | xargs -0 grep -H "new-"

it finds matches in config.pck, config.pck.last & config.pck.safety

On Sat, Aug 24, 2019 at 8:28 PM Mark Sapiro  wrote:

> On 8/24/19 5:33 PM, Bill Richards wrote:
> > The domain is correct from the web page General Options -> host_name
> > attribute of the list
> >
> > The dumpdb against config.pck shows a lot of list members email
> addresses,
> > "accept_non_members", "ban_list", etc.  It is very long (2413 lines).
> What
> > specifically am I looking for to get the attributes?
>
>
> All occurrences where "new-" is appended to the domain you use.
>
> --
> 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/wildbill.richards%40gmail.com
>
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman errors

2019-08-24 Thread Mark Sapiro
On 8/24/19 5:33 PM, Bill Richards wrote:
> The domain is correct from the web page General Options -> host_name
> attribute of the list
> 
> The dumpdb against config.pck shows a lot of list members email addresses,
> "accept_non_members", "ban_list", etc.  It is very long (2413 lines).  What
> specifically am I looking for to get the attributes?


All occurrences where "new-" is appended to the domain you use.

-- 
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] Mailman errors

2019-08-24 Thread Bill Richards
The domain is correct from the web page General Options -> host_name
attribute of the list

The dumpdb against config.pck shows a lot of list members email addresses,
"accept_non_members", "ban_list", etc.  It is very long (2413 lines).  What
specifically am I looking for to get the attributes?

Bill

On Sat, Aug 24, 2019 at 5:32 PM Mark Sapiro  wrote:

> On 8/24/19 3:14 PM, Bill Richards wrote:
> >
> > After digging around I've found that I maybe experiencing some kind if
> > config corruption in pck files under /var/lib/mailman/lists/mailman  When
> > looking through the smtp-failure log I noticed errors "Sender address
> > rejected: Domain not found" and it appears something has or is appending
> > the text "new-" to the beginning of the domain we use.  Further
> > investigation shows that "new-" is appended to the domain in the
> > config.pck, config.pck.last & config.pck.safety files.
>
>
> What attributes have these things? Do Mailman's `bin/dumpdb` on the
> config.pck files.
>
> On the other hand, this may be the General Options -> host_name
> attribute of the list. If so, just fix it.
>
> Once we know what attributes are affected, we can say more.
>
> > Previous message:
> > =
> >
> > A few weeks ago are started experiencing problems with approving and/or
> > discarding messages.  I am also unable to add/delete users to the list
> but
> > messages from approved list members work fine.  I suspect either some
> file
> > has become corrupted or a permissions issue.
>
>
> Is this still an issue?  As I've said previously, see
> .
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-users/wildbill.richards%40gmail.com
>
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman errors

2019-08-24 Thread Mark Sapiro
On 8/24/19 3:14 PM, Bill Richards wrote:
> 
> After digging around I've found that I maybe experiencing some kind if
> config corruption in pck files under /var/lib/mailman/lists/mailman  When
> looking through the smtp-failure log I noticed errors "Sender address
> rejected: Domain not found" and it appears something has or is appending
> the text "new-" to the beginning of the domain we use.  Further
> investigation shows that "new-" is appended to the domain in the
> config.pck, config.pck.last & config.pck.safety files.


What attributes have these things? Do Mailman's `bin/dumpdb` on the
config.pck files.

On the other hand, this may be the General Options -> host_name
attribute of the list. If so, just fix it.

Once we know what attributes are affected, we can say more.

> Previous message:
> =
> 
> A few weeks ago are started experiencing problems with approving and/or
> discarding messages.  I am also unable to add/delete users to the list but
> messages from approved list members work fine.  I suspect either some file
> has become corrupted or a permissions issue.


Is this still an issue?  As I've said previously, see
.

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


[Mailman-Users] Mailman errors

2019-08-24 Thread Bill Richards
Earlier this month I email this list with issues I've had approving/discard
messages via the web interface (see below).

After digging around I've found that I maybe experiencing some kind if
config corruption in pck files under /var/lib/mailman/lists/mailman  When
looking through the smtp-failure log I noticed errors "Sender address
rejected: Domain not found" and it appears something has or is appending
the text "new-" to the beginning of the domain we use.  Further
investigation shows that "new-" is appended to the domain in the
config.pck, config.pck.last & config.pck.safety files.  I have no idea how
this got into the files but it appears to me the source of problem.  I have
reviewed the configuration of mailman via the administrative web interface
and it all appears correct (no arbitrary "new-" text) .  This is not a new
installation of mailman and has been in use for many years.  This issue
seemed to have started occurring in July of this year.  Any help would be
greatly appreciated.

Bill Richards

mailman version 2.1.12

Previous message:
=

A few weeks ago are started experiencing problems with approving and/or
discarding messages.  I am also unable to add/delete users to the list but
messages from approved list members work fine.  I suspect either some file
has become corrupted or a permissions issue.

I also see entries such as the following in the errors logs:

Aug 04 06:47:41 2019 (20501) No such list "aewa<[55":
Aug 04 11:05:13 2019 (28708) No such list "aewahttps://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman errors

2007-11-25 Thread zbigniew szalbot
Hi there again,

zbigniew szalbot pisze:
 Hello,


  I get a lot of below errors and worse some of the lists that have been 
  created no longer send out emails. Can you help me troubleshoot it?
  
  Thank you!
  
  Nov 23 15:06:12 2007 (70462) SHUNTING: 
  1195826769.306325+db3247f3fd9baf0ca519cd58e37b4c1875fc76b3
  Nov 23 15:06:32 2007 (70462) Uncaught runner exception: unsupported 
  operand type(s) for -=: 'str' and 'int'
  Nov 23 15:06:32 2007 (70462) Traceback (most recent call last):
File /usr/local/mailman/Mailman/Queue/Runner.py, line 112, in _oneloop
  self._onefile(msg, msgdata)
File /usr/local/mailman/Mailman/Queue/Runner.py, line 170, in _onefile
  keepqueued = self._dispose(mlist, msg, msgdata)
File /usr/local/mailman/Mailman/Queue/OutgoingRunner.py, line 73, in 
  _dispose
  self._func(mlist, msg, msgdata)
File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 159, in 
  process
  deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 345, in 
  verpdeliver
  bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, conn)
File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 369, in 
  bulkdeliver
  refused = conn.sendmail(envsender, recips, msgtext)
File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 78, in 
  sendmail
  self.__numsessions -= 1
  TypeError: unsupported operand type(s) for -=: 'str' and 'int'
 
 
  Have you set SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py?
 
  In particular, have you set it to a string instead of a number?
 
  I.e., it needs to be something like
 
  SMTP_MAX_SESSIONS_PER_CONNECTION = 10
 
  (or whatever number you want) not
 
  SMTP_MAX_SESSIONS_PER_CONNECTION = '10'

 The content of mm_cfg.py currently looks like this:
 OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
 DEFAULT_URL_HOST = 'lists.lc-words.com'
 SMTPHOST = 'localhost'
 VERP_CONFIRMATIONS = Yes
 DEFAULT_EMAIL_HOST = 'lists.lc-words.com'
 SMTP_MAX_SESSIONS_PER_CONNECTION = '25'
 VIRTUAL_HOSTS.clear()
 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

   
If any of you had any advice where to start looking for solution, I'd 
really appreciate. Thanks!

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

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


Re: [Mailman-Users] mailman errors

2007-11-25 Thread Mark Sapiro
zbigniew szalbot wrote:

zbigniew szalbot pisze:
snip
 
  Have you set SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py?
 
  In particular, have you set it to a string instead of a number?
 
  I.e., it needs to be something like
 
  SMTP_MAX_SESSIONS_PER_CONNECTION = 10
 
  (or whatever number you want) not
 
  SMTP_MAX_SESSIONS_PER_CONNECTION = '10'

 The content of mm_cfg.py currently looks like this:
 OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
 DEFAULT_URL_HOST = 'lists.lc-words.com'
 SMTPHOST = 'localhost'
 VERP_CONFIRMATIONS = Yes
 DEFAULT_EMAIL_HOST = 'lists.lc-words.com'
 SMTP_MAX_SESSIONS_PER_CONNECTION = '25'
 VIRTUAL_HOSTS.clear()
 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

   
If any of you had any advice where to start looking for solution, I'd 
really appreciate. Thanks!


Look carefully at what I posted previously.

Your problem is

SMTP_MAX_SESSIONS_PER_CONNECTION = '25'

The value must be an integer, not a string. Change it to

SMTP_MAX_SESSIONS_PER_CONNECTION = 25

-- 
Mark Sapiro [EMAIL PROTECTED]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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] mailman errors

2007-11-25 Thread zbigniew szalbot
Dear Marc,

Mark Sapiro pisze:
 zbigniew szalbot wrote:

 zbigniew szalbot pisze:
 snip
  
   Have you set SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py?
  
   In particular, have you set it to a string instead of a number?
  
   I.e., it needs to be something like
  
   SMTP_MAX_SESSIONS_PER_CONNECTION = 10
  
   (or whatever number you want) not
  
   SMTP_MAX_SESSIONS_PER_CONNECTION = '10'
 
  The content of mm_cfg.py currently looks like this:
  OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
  DEFAULT_URL_HOST = 'lists.lc-words.com'
  SMTPHOST = 'localhost'
  VERP_CONFIRMATIONS = Yes
  DEFAULT_EMAIL_HOST = 'lists.lc-words.com'
  SMTP_MAX_SESSIONS_PER_CONNECTION = '25'
  VIRTUAL_HOSTS.clear()
  add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 

 If any of you had any advice where to start looking for solution, I'd 
 really appreciate. Thanks!


 Look carefully at what I posted previously.

 Your problem is

 SMTP_MAX_SESSIONS_PER_CONNECTION = '25'

 The value must be an integer, not a string. Change it to

 SMTP_MAX_SESSIONS_PER_CONNECTION = 25
   
Ah - since I am not a programmer, I did not realize that a string within 
'' is treated differently from a string without them.

Thank you for your help and for mailman. It works very well now!

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

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


Re: [Mailman-Users] mailman errors

2007-11-24 Thread zbigniew szalbot
Hello,


 I get a lot of below errors and worse some of the lists that have been 
 created no longer send out emails. Can you help me troubleshoot it?
 
 Thank you!
 
 Nov 23 15:06:12 2007 (70462) SHUNTING: 
 1195826769.306325+db3247f3fd9baf0ca519cd58e37b4c1875fc76b3
 Nov 23 15:06:32 2007 (70462) Uncaught runner exception: unsupported 
 operand type(s) for -=: 'str' and 'int'
 Nov 23 15:06:32 2007 (70462) Traceback (most recent call last):
   File /usr/local/mailman/Mailman/Queue/Runner.py, line 112, in _oneloop
 self._onefile(msg, msgdata)
   File /usr/local/mailman/Mailman/Queue/Runner.py, line 170, in _onefile
 keepqueued = self._dispose(mlist, msg, msgdata)
   File /usr/local/mailman/Mailman/Queue/OutgoingRunner.py, line 73, in 
 _dispose
 self._func(mlist, msg, msgdata)
   File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 159, in 
 process
 deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
   File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 345, in 
 verpdeliver
 bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, conn)
   File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 369, in 
 bulkdeliver
 refused = conn.sendmail(envsender, recips, msgtext)
   File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 78, in 
 sendmail
 self.__numsessions -= 1
 TypeError: unsupported operand type(s) for -=: 'str' and 'int'


 Have you set SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py?

 In particular, have you set it to a string instead of a number?

 I.e., it needs to be something like

 SMTP_MAX_SESSIONS_PER_CONNECTION = 10

 (or whatever number you want) not

 SMTP_MAX_SESSIONS_PER_CONNECTION = '10'
   
The content of mm_cfg.py currently looks like this:
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
DEFAULT_URL_HOST = 'lists.lc-words.com'
SMTPHOST = 'localhost'
VERP_CONFIRMATIONS = Yes
DEFAULT_EMAIL_HOST = 'lists.lc-words.com'
SMTP_MAX_SESSIONS_PER_CONNECTION = '25'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

Thanks!

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

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


Re: [Mailman-Users] Mailman errors

2006-02-20 Thread james edwards
 It looks like the cron/disabled job is running as user mailman (or is
 it running as some other user and just mailing to mailman?), but is
 that user in the mailman group? This is the critical thing.



user mailman was not in group mailman, I have not seen these errors since I
fixed the group.






 Is this edited output? If not, where are the other queue direstories?
 There should be 9 queue directories named archive, bounces, commands,
 in, news, out, retry, shunt and virgin.



Yep.


Thanks,

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

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


[Mailman-Users] Mailman errors

2006-02-17 Thread james edwards
I am new to mailman and am getting these error messages where this job runs.
I just took over this position from a sysadmin
who died suddenly  have not run mailman b4. Can someone please get me an
idea as to what is happening/wrong here ?

james


[Mailman] Cron [EMAIL PROTECTED] /usr/lib/mailman/cron/disabled


Traceback (most recent call last):
  File /usr/lib/mailman/cron/disabled, line 220, in ?
main()
  File /usr/lib/mailman/cron/disabled, line 204, in main
mlist.sendNextNotification(member)
  File /usr/lib/mailman/Mailman/Bouncer.py, line 262, in
sendNextNotification
msg.send(self)
  File /usr/lib/mailman/Mailman/Message.py, line 233, in send
self._enqueue(mlist, **_kws)
  File /usr/lib/mailman/Mailman/Message.py, line 244, in _enqueue
reduced_list_headers = 1,
  File /usr/lib/mailman/Mailman/Queue/Switchboard.py, line 126, in enqueue
fp = open(tmpfile, 'w')
IOError: [Errno 13] Permission denied:
'/var/spool/mailman/virgin/1140192002.2231879+5b7772b3a7480ee71de81b2b33185c05cf5562b5.pck.tmp'


[EMAIL PROTECTED] root]# rpm -q mailman
mailman-2.1.5-32.fc3
[EMAIL PROTECTED] root]# uname -a
Linux .nmcourts.com 2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT
2005 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] root]# cd /var/spool/
[EMAIL PROTECTED] spool]# ls -la

drwxrwsr-x  11 rootmailman   116 Nov  1 15:49 mailman

[EMAIL PROTECTED] spool]# cd mailman/
[EMAIL PROTECTED] mailman]# ls -la

drwxrws---   2 root   mailman6 Feb 17 10:09 virgin
[EMAIL PROTECTED] mailman]# cd virgin/
[EMAIL PROTECTED] virgin]# ls -la
total 0
drwxrws---   2 root mailman   6 Feb 17 10:09 .
drwxrwsr-x  11 root mailman 116 Nov  1 15:49 ..
[EMAIL PROTECTED] virgin]#
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] Mailman errors

2006-02-17 Thread Mark Sapiro
james edwards wrote:

I am new to mailman and am getting these error messages where this job runs.
I just took over this position from a sysadmin
who died suddenly  have not run mailman b4. Can someone please get me an
idea as to what is happening/wrong here ?

james


[Mailman] Cron [EMAIL PROTECTED] /usr/lib/mailman/cron/disabled


Traceback (most recent call last):
  File /usr/lib/mailman/cron/disabled, line 220, in ?
main()
  File /usr/lib/mailman/cron/disabled, line 204, in main
mlist.sendNextNotification(member)
  File /usr/lib/mailman/Mailman/Bouncer.py, line 262, in
sendNextNotification
msg.send(self)
  File /usr/lib/mailman/Mailman/Message.py, line 233, in send
self._enqueue(mlist, **_kws)
  File /usr/lib/mailman/Mailman/Message.py, line 244, in _enqueue
reduced_list_headers = 1,
  File /usr/lib/mailman/Mailman/Queue/Switchboard.py, line 126, in enqueue
fp = open(tmpfile, 'w')
IOError: [Errno 13] Permission denied:
'/var/spool/mailman/virgin/1140192002.2231879+5b7772b3a7480ee71de81b2b33185c05cf5562b5.pck.tmp'


It looks like the cron/disabled job is running as user mailman (or is
it running as some other user and just mailing to mailman?), but is
that user in the mailman group? This is the critical thing.


[EMAIL PROTECTED] root]# rpm -q mailman
mailman-2.1.5-32.fc3
[EMAIL PROTECTED] root]# uname -a
Linux .nmcourts.com 2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT
2005 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] root]# cd /var/spool/
[EMAIL PROTECTED] spool]# ls -la

drwxrwsr-x  11 rootmailman   116 Nov  1 15:49 mailman

[EMAIL PROTECTED] spool]# cd mailman/
[EMAIL PROTECTED] mailman]# ls -la

drwxrws---   2 root   mailman6 Feb 17 10:09 virgin


Is this edited output? If not, where are the other queue direstories?
There should be 9 queue directories named archive, bounces, commands,
in, news, out, retry, shunt and virgin.

-- 
Mark Sapiro [EMAIL PROTECTED]   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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


[Mailman-Users] mailman errors...

2003-01-29 Thread Will Nordmeyer
I tried sending e-mail to the new list I created this AM... 

I emailed listname@domain.com...

I got the following error returned:
sh: mailman not available for sendmail programs
554 |/home/mailman/mail/mailman post listname... Service unavailable

Also, I can't access the archives... I have 2 issues there.

I'm running on a virtual host and when I click on go to list archives, it goes to 
http://masterhost/pipermail/listname/ but then complains that the user has no 
permission (a cobalt error dialog box).

/pipermail exists in the conf files, and points to /home/mailman/archives/public 
listname exists in that folder and is a pointer to 
/home/mailman/archives/private/listname .  and finally, listname exists in the 
/home/mailman/archives/private folder and has an index.html in it.



Why does it go back to the master domain name rather than the virtual host?

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

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] mailman errors...

2003-01-29 Thread Justin Georgeson


Will Nordmeyer wrote:

I tried sending e-mail to the new list I created this AM... 

I emailed listname@domain.com...

I got the following error returned:
sh: mailman not available for sendmail programs
554 |/home/mailman/mail/mailman post listname... Service unavailable

Also, I can't access the archives... I have 2 issues there.

I'm running on a virtual host and when I click on go to list archives, it goes to http://masterhost/pipermail/listname/ but then complains that the user has no permission (a cobalt error dialog box).

/pipermail exists in the conf files, and points to /home/mailman/archives/public listname exists in that folder and is a pointer to /home/mailman/archives/private/listname .  and finally, listname exists in the /home/mailman/archives/private folder and has an index.html in it.



Why does it go back to the master domain name rather than the virtual host?

That's configured in /home/mailman/Mailman/Defaults.py. There are three 
variables to look for near the top: DEFAULT_EMAIL_HOST; 
DEFAULT_URL_HOST; and DEFAULT_URL_PATTERN.


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

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman errors...

2003-01-29 Thread Will Nordmeyer
Upon further review...

My apache server is complaining, when I go to
www.sitename.com/pipermail/listname, with the following error:

Symbolic link not allowed: /home/mailman/archives/public/listname/

I tried replacing it with a hard link and the cobalt didn't really like it.

Is there a way to allow symbolic linking?  I thought I'd had a symbolic link
in other areas?

I'm still the same send issue too.

- Original Message -
From: Will Nordmeyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 10:03 AM
Subject: [Mailman-Users] mailman errors...


I tried sending e-mail to the new list I created this AM...

I emailed listname@domain.com...

I got the following error returned:
sh: mailman not available for sendmail programs
554 |/home/mailman/mail/mailman post listname... Service unavailable

Also, I can't access the archives... I have 2 issues there.

I'm running on a virtual host and when I click on go to list archives, it
goes to http://masterhost/pipermail/listname/ but then complains that the
user has no permission (a cobalt error dialog box).

/pipermail exists in the conf files, and points to
/home/mailman/archives/public listname exists in that folder and is a
pointer to /home/mailman/archives/private/listname .  and finally, listname
exists in the /home/mailman/archives/private folder and has an index.html in
it.



Why does it go back to the master domain name rather than the virtual host?




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

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org