Re: [Mailman-Users] mailman error after server crash

2008-06-06 Thread Carlos Bergero

Thx again, I'll tell you later how did things go. And what solution prevale.

Sincerely,
   Carlos

Mark Sapiro escribió:

Carlos Bergero wrote:

  
Thx for the tip Mark, I remove the file but and the error stop, but the 
list disapear from the list_lists,




If you removed only config.pck and not config.pck.last, you should
either get the error again or the list should be there.


  
I try with some cofnig.pck.last file 
that was in a backup dir but those files where corrupt also.

Is there any way to edit this file and fix it or recover it in some way?




If you don't have a good backup of the config.pck or config.pck.last,
you could try running bin/dumpdb on the files you have. This may
produce some information that you can use, or you can run strings on
the files to try to extract the email addresses of the list members.

You will have to extract what info you can from the files and then
recreate the list and use what you have to add members, etc.

  


--
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Williams, Theona
Here is what I see in the vette log. 
Jun 05 14:51:22 2008 (29076) Mailman post from held, message-id=n/a:
Message has implicit destination

~

When I run /u001/mailman/mail/mailman post mailman /dev/null
I receive the following message 

Group mismatch error.  Mailman expected the mail

wrapper script to be executed as group mail, but

the system's mail server executed the mail script as

group mailman.  Try tweaking the mail server to run the

script as group mail, or re-run configure,

providing the command line option `--with-mail-gid=mailman'.


I am a bit skeptical to act on this error since I am getting the exact
same error on my test mailman server which works fine. Also, running the
./configure will erase many of the changes that I have made manually in
several files. Any suggestions? 

Theona Williams

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 2:44 PM
To: Williams, Theona; mailman-users@python.org
Subject: RE: [Mailman-Users] Messages have stopped getting delivered to
mailinglists

Williams, Theona wrote:

Received the following errors in /var/log/mailman/error file when I
tried
python /u001/mailman/scripts/post mailman /dev/null

Jun 05 14:51:25 2008 mailowner(32760): mailowner script, list not
found:
mailman


Jun 05 14:51:25 2008 bounces(32761): bounces script, list not found:
mailman 


Neither of those relates to the command you gave. The first is from the
'owner' script and the second is from the 'bounces' script.

Was there anything in the vette log?

If the post script invoked by

  python /u001/mailman/scripts/post mailman /dev/null

had issued the 'list not found' error, it would have been issued to the
terminal, so that indicates it didn't encounter that error.

This in turn indicates the wrapper that invokes the post, etc. scripts
is not invoking those in /u001/mailman/scripts/. This could mean that
/u001/mailman/mail/mailman was compiled with a different path (strings
/u001/mailman/mail/mailman might reveal this), or it could mean you
are running sendmail with smrsh, and the 'mailman' link in the smrsh
file (/var/adm/sm.bin, or where ever it happens to reside on your
system - alternatives include /etc/smrsh, /var/smrsh and
/usr/local/smrsh.) points to a different wrapper entirely.

-- 
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Mark Sapiro
Williams, Theona wrote:

Here is what I see in the vette log.
Jun 05 14:51:22 2008 (29076) Mailman post from held, message-id=3Dn/a:
Message has implicit destination


Right. This says you successfully delivered a null message to Mailman
via the /u001/mailman/scripts/post script which in turn says that that
post script works for your installation.


When I run /u001/mailman/mail/mailman post mailman /dev/null
I receive the following message

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group mailman.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=mailman'.


I am a bit skeptical to act on this error since I am getting the exact
same error on my test mailman server which works fine.


This error occurs because when you run the wrapper manually, you have
to run it as the expected group. My bad - I neglected to say that. Try

  sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null


Also, running the
./configure will erase many of the changes that I have made manually in
several files. Any suggestions?


I don't know what changes you've made, but

1. you should never change Defaults.py. Override Defaults.py settingn
in mm_cfg.py which will not be overwritten by configure - make install.

2. if you make changes to Mailman modules, etc. keep all the changes in
a master patch file that can just be applied to redo the changes.

-- 
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Williams, Theona
If the post script is working fine, do you know what else could be the
problem? When I run 
python /u001/mailman/scripts/post mailman /dev/null then   
sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null

I am getting errors for the bounce and mailowner scripts in the
/var/log/mailman/error file 
Jun 06 14:26:33 2008 mailowner(874): mailowner script, list not found:
mailman
Jun 06 14:26:53 2008 mailowner(883): mailowner script, list not found:
mailman
Jun 06 14:26:53 2008 bounces(884): bounces script, list not found:
mailman
Jun 06 14:30:02 2008 post(916): post script, list not found: mailman
~

In logs/smtp-failure
Jun 06 14:26:53 2008 (784) All recipients refused: {'': (550, '5.1.1
None... U
ser unknown')}, msgid:
[EMAIL PROTECTED] 
Jun 06 14:26:53 2008 (784) delivery to  failed with code 550: 5.1.1
None... User unknown

~

Thanks,
Theona Williams

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 10:22 AM
To: Williams, Theona; mailman-users@python.org
Subject: RE: [Mailman-Users] Messages have stopped getting delivered to
mailinglists

Williams, Theona wrote:

Here is what I see in the vette log.
Jun 05 14:51:22 2008 (29076) Mailman post from held, message-id=3Dn/a:
Message has implicit destination


Right. This says you successfully delivered a null message to Mailman
via the /u001/mailman/scripts/post script which in turn says that that
post script works for your installation.


When I run /u001/mailman/mail/mailman post mailman /dev/null
I receive the following message

Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mail, but
the system's mail server executed the mail script as
group mailman.  Try tweaking the mail server to run the
script as group mail, or re-run configure,
providing the command line option `--with-mail-gid=mailman'.


I am a bit skeptical to act on this error since I am getting the exact
same error on my test mailman server which works fine.


This error occurs because when you run the wrapper manually, you have
to run it as the expected group. My bad - I neglected to say that. Try

  sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null


Also, running the
./configure will erase many of the changes that I have made manually in
several files. Any suggestions?


I don't know what changes you've made, but

1. you should never change Defaults.py. Override Defaults.py settingn
in mm_cfg.py which will not be overwritten by configure - make install.

2. if you make changes to Mailman modules, etc. keep all the changes in
a master patch file that can just be applied to redo the changes.

-- 
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] Mail getting stuck in queue

2008-06-06 Thread Laura Conrad

Intermittently, but increasingly frequently, the mailman I'm running
is getting into a state where messages are received and archived, but
not logged in the posts file or sent out by smtp.  

This situation usually resolves itself after I kick it enough.  Maybe
it would resolve itself if I didn't kick it at all.  I would like to
understand what's happening, so I can either stop it happening, or
kick it more efficiently.

This is on a mailman 2.1.10 installed from source on ubuntu 7.10.  The
machine is running postfix.  The mail log indicates that postfix has
passed the stuck mails to mailman:

Jun  6 12:12:47 serpent postfix/local[12334]: 8139F240324:
 to=[EMAIL PROTECTED], relay=local, delay=0.31,
 delays=0.05/0.01/0/0.25, dsn=2.0.0, status=sent (delivered to command:
 /home/mailman/mail/mailman post bonnienews)

I've checked all the things in
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.078.htp.
At one point, there was a second (old) OutgoingRunner process after I
had stopped and started mailmanctl several times, which I had to kill
by hand, but usually this isn't the case.  

Here's my kick_mailman.sh script; I also reboot the system when I've
tried this and it hasn't worked.  When the queue gets unclogged, it
isn't ever immediately after any of these things, including the
reboot.


There are errors in the error log:

Jun 05 13:38:41 2008 (7364) Failed to unlink/preserve backup file: 
/home/mailman/qfiles/out/1212668722.1033101+99ec79fd321b54afb77e0ef5c8b0f5d2625e6aea.bak
Jun 06 13:07:58 2008 (12803) Failed to unlink/preserve backup file: 
/home/mailman/qfiles/out/1212763581.350471+f1f22720a6342cd0ce99e4d29a21251f7440d973.bak

and in the smtp-failure log:

Jun 06 13:11:29 2008 (16109) Low level smtp error: (4, 'Interrupted system 
call'), msgid: [EMAIL PROTECTED]
Jun 06 13:56:33 2008 (5154) SMTP session failure: 250, ok, msgid: [EMAIL 
PROTECTED]
Jun 06 13:56:33 2008 (5154) delivery to redacted@gmail.com failed with code 
-1: (4, 'Interrupted system call')

What is happening between when mailman gets my mail and when it
finally agrees to disgorge it via smtp?  It is in the stuck state
right at the moment, if someone can walk me through more debugging.

-- 
Laura   (mailto:[EMAIL PROTECTED] http://www.laymusic.org/ )
(617) 661-8097  233 Broadway, Cambridge, MA 02139   

I value kindness to human beings first of all, and kindness to
animals. I don't respect the law; I have a total irreverence for
anything connected with society except that which makes the roads
safer, the beer stronger, the food cheaper, and old men and women
warmer in the winter, and happier in the summer.

Brendan Behan (1923 - 1964)

--
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Mark Sapiro
Williams, Theona wrote:

If the post script is working fine, do you know what else could be the
problem? When I run
python /u001/mailman/scripts/post mailman /dev/null then


You don't need to do this first. It just verifies that the
/u001/mailman/scripts/post script works.


sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null

I am getting errors for the bounce and mailowner scripts in the
/var/log/mailman/error file
Jun 06 14:26:33 2008 mailowner(874): mailowner script, list not found:
mailman
Jun 06 14:26:53 2008 mailowner(883): mailowner script, list not found:
mailman
Jun 06 14:26:53 2008 bounces(884): bounces script, list not found:
mailman


The above errors are presumably from actual mail to mailman-owner and
mailman-bounces however, this mail was generated by mailman in
response to the held (null) post.


Jun 06 14:30:02 2008 post(916): post script, list not found: mailman


And this error is the relevant one. If in fact, it came from the

 sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null

command and not from some mail to the [EMAIL PROTECTED] address which
coincidentally arrived at the same time. See below for more.


In logs/smtp-failure
Jun 06 14:26:53 2008 (784) All recipients refused: {'': (550, '5.1.1
None... User unknown')}, msgid:
[EMAIL PROTECTED]
Jun 06 14:26:53 2008 (784) delivery to  failed with code 550: 5.1.1
None... User unknown


These errors are from Mailman's attempt to send a notification of the
held (null) post back to the submitter that is None because the post
was empty.

So we have now verified that the /u001/mailman/scripts/post script
itself works, but that the scripts invoked by the
/u001/mailman/mail/mailman wrapper do not work. Thus the wrapper
itself must be pointing at the wrong scripts directory.

If the wrapper were correct, somewhere in the output from

  strings /u001/mailman/mail/mailman

you should see '/u001/mailman/scripts/'

I think you will see some other path ending in '/scripts/' instead and
that is your problem.

-- 
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] Mail getting stuck in queue

2008-06-06 Thread Mark Sapiro
Laura Conrad wrote:

Intermittently, but increasingly frequently, the mailman I'm running
is getting into a state where messages are received and archived, but
not logged in the posts file or sent out by smtp.  

This situation usually resolves itself after I kick it enough.  Maybe
it would resolve itself if I didn't kick it at all.  I would like to
understand what's happening, so I can either stop it happening, or
kick it more efficiently.

This is on a mailman 2.1.10 installed from source on ubuntu 7.10.  The
machine is running postfix.  The mail log indicates that postfix has
passed the stuck mails to mailman:

[...]

Which you already knew because they are archived.



I've checked all the things in
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.078.htp.
At one point, there was a second (old) OutgoingRunner process after I
had stopped and started mailmanctl several times, which I had to kill
by hand, but usually this isn't the case.  

Here's my kick_mailman.sh script; I also reboot the system when I've
tried this and it hasn't worked.  When the queue gets unclogged, it
isn't ever immediately after any of these things, including the
reboot.


--=-=-=


There are errors in the error log:

Jun 05 13:38:41 2008 (7364) Failed to unlink/preserve backup file: 
/home/mailman/qfiles/out/1212668722.1033101+99ec79fd321b54afb77e0ef5c8b0f5d2625e6aea.bak
Jun 06 13:07:58 2008 (12803) Failed to unlink/preserve backup file: 
/home/mailman/qfiles/out/1212763581.350471+f1f22720a6342cd0ce99e4d29a21251f7440d973.bak


I think these are a result of the 'kicking' process, but it's hard to
say since the script wasn't here.


and in the smtp-failure log:

Jun 06 13:11:29 2008 (16109) Low level smtp error: (4, 'Interrupted system 
call'), msgid: [EMAIL PROTECTED]
Jun 06 13:56:33 2008 (5154) SMTP session failure: 250, ok, msgid: [EMAIL 
PROTECTED]
Jun 06 13:56:33 2008 (5154) delivery to redacted@gmail.com failed with code 
-1: (4, 'Interrupted system call')

What is happening between when mailman gets my mail and when it
finally agrees to disgorge it via smtp?  It is in the stuck state
right at the moment, if someone can walk me through more debugging.


In which queue (subdirectory of qfiles/) are the messages? Almost
certainly in 'out'.

The smtp-failure entries seem to say that there is some problem between
OutgoingRunner and the MTA.

In the stuck state, OutgoingRunner is waiting for some response from
the MTA, and that response isn't coming because somehow the SMTP
session has gotten out of sync.

See
http://wiki.list.org/display/DOC/How+do+I+debug+smtp-failure+problems+-+delivery+to+user-example.com+failed+with+code+-1-+and+Low+level+smtp+error-.

If your Python is at least 2.4.x, you can follow the instructions for
modifying Mailman/Handlers/SMTPDirect.py to produce more debugging
output in Mailman's error log which may help you find more. Do not do
this with Python 2.3.x for the reason mentioned in the FAQ.

-- 
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Williams, Theona
I ran strings /u001/mailman/mail/mailman. The output is attached. The
wrapper is pointing to /u001/mailman/scripts/.

3 months ago, during installation the configure script was ran with
with-cgi-gid =apache --with-mail-gid = mail.


Theona Williams
--
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] Messages have stopped getting delivered to mailinglists

2008-06-06 Thread Mark Sapiro
Williams, Theona wrote:

I ran strings /u001/mailman/mail/mailman. The output is attached. The
wrapper is pointing to /u001/mailman/scripts/.


Yes, the strings output looks good.


3 months ago, during installation the configure script was ran with
with-cgi-gid =apache --with-mail-gid = mail.

and presumably with prefix=/u001/mailman and maybe other arguments too.


So to recap, it seems that running

   python /u001/mailman/scripts/post mailman /dev/null

actually posts a null message to the Mailman list, but that running

  sudo -u mail /u001/mailman/mail/mailman post mailman /dev/null

fails and logs a Jun 06 14:30:02 2008 post(916): post script, list not
found: mailman error.

This is a bit puzzling unless the latter command also issued the post
script, list not found: mailman error to the terminal. It should have
both logged the error and written it to the terminal.

So we are left as I see it with two possibilities:

1) There is something wrong with the /u001/mailman/mail/mailman
wrapper, or

2) Some other wrapper is actually being invoked.

Please refer back to
http://mail.python.org/pipermail/mailman-users/2008-June/061950.html
and verify that either sendmail is not using smrsh or if sendmail is
using smrsh, that the smrsh file points at the correct wrapper.

-- 
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] Program location

2008-06-06 Thread Rob Voyle
Hi Folks

I am new to mailman, climbing a very steep hill.

I have a virtual private apache server, which can handle several domains.  does 
mailman have to reside on the root or can it reside on one of the domains.  i 
would prefer it to run from one of the domains so the email addresses have some 
relevance to the domain.

Thanks

Rob 
--
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] Mail getting stuck in queue

2008-06-06 Thread Laura Conrad
 Mark == Mark Sapiro [EMAIL PROTECTED] writes:

Mark Laura Conrad wrote:
 
 Intermittently, but increasingly frequently, the mailman I'm running
 is getting into a state where messages are received and archived, but
 not logged in the posts file or sent out by smtp.  
 
 This situation usually resolves itself after I kick it enough.  Maybe
 it would resolve itself if I didn't kick it at all.  I would like to
 understand what's happening, so I can either stop it happening, or
 kick it more efficiently.
 
 This is on a mailman 2.1.10 installed from source on ubuntu 7.10.  The
 machine is running postfix.  The mail log indicates that postfix has
 passed the stuck mails to mailman:
 
...
 What is happening between when mailman gets my mail and when it
 finally agrees to disgorge it via smtp?  It is in the stuck state
 right at the moment, if someone can walk me through more debugging.


Mark In which queue (subdirectory of qfiles/) are the messages? Almost
Mark certainly in 'out'.

Yes.

Mark See
Mark 
http://wiki.list.org/display/DOC/How+do+I+debug+smtp-failure+problems+-+delivery+to+user-example.com+failed+with+code+-1-+and+Low+level+smtp+error-.

Mark If your Python is at least 2.4.x, you can follow the instructions for
Mark modifying Mailman/Handlers/SMTPDirect.py to produce more debugging
Mark output in Mailman's error log which may help you find more. Do not do
Mark this with Python 2.3.x for the reason mentioned in the FAQ.

OK.  It isn't completely stuck, but it's taking a lot longer to send
out a few messages than I'd expect.  Right now, the last post in the
post log was at 16:30, and at 17:39, tail error says:

Jun 06 17:37:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:39:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 

Does this tell you anything?


-- 
Laura   (mailto:[EMAIL PROTECTED] http://www.laymusic.org/ )
(617) 661-8097  233 Broadway, Cambridge, MA 02139   

The squeaking of the pump sounds as necessary as the music of the spheres. 

Henry David Thoreau
--
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] Mail getting stuck in queue

2008-06-06 Thread Mark Sapiro
Laura Conrad 

OK.  It isn't completely stuck, but it's taking a lot longer to send
out a few messages than I'd expect.  Right now, the last post in the
post log was at 16:30, and at 17:39, tail error says:

Jun 06 17:37:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:39:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 

Does this tell you anything?


Yes. It tells me your outgoing MTA is verifying each recipient address
and taking 30 seconds for each one. I.e it is processing a maximum of
120 recipients per hour or 2.5 hours for one post to a list with 300
non-digest subscribers. Then your out queue gets hoplessly backlogged.

You can look at some of the performance FAQs at
http://wiki.list.org/dosearchsite.action?searchQuery.queryString=performancesearchQuery.spaceKey=DOC
for some ideas, but this is an MTA configuration issue.

-- 
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] Program location

2008-06-06 Thread Mark Sapiro
Rob Voyle wrote:

I have a virtual private apache server, which can handle several domains.  
does 
mailman have to reside on the root or can it reside on one of the domains.  i 
would prefer it to run from one of the domains so the email addresses have 
some 
relevance to the domain.


Mailman can be installed anywhere on the server that can be accessed by
the MTA and web server.

-- 
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] Mail getting stuck in queue

2008-06-06 Thread Stefan Förster


Am 06.06.2008 um 23:46 schrieb Laura Conrad:


   Mark If your Python is at least 2.4.x, you can follow the  
instructions for
   Mark modifying Mailman/Handlers/SMTPDirect.py to produce more  
debugging
   Mark output in Mailman's error log which may help you find more.  
Do not do

   Mark this with Python 2.3.x for the reason mentioned in the FAQ.

OK.  It isn't completely stuck, but it's taking a lot longer to send
out a few messages than I'd expect.  Right now, the last post in the
post log was at 16:30, and at 17:39, tail error says:

Jun 06 17:37:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED] 
\r\n'

Jun 06 17:38:29 2008 qrunner(14342): reply:   '250 ok\r\n'
Jun 06 17:38:29 2008 qrunner(14342): reply: retcode (250); Msg: ok
Jun 06 17:38:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED] 
\r\n'

Jun 06 17:38:59 2008 qrunner(14342): reply:   '250 ok\r\n'
Jun 06 17:38:59 2008 qrunner(14342): reply: retcode (250); Msg: ok
Jun 06 17:38:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED] 
\r\n'

Jun 06 17:39:29 2008 qrunner(14342): reply:   '250 ok\r\n'
Jun 06 17:39:29 2008 qrunner(14342): reply: retcode (250); Msg: ok
Jun 06 17:39:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED] 
\r\n'


Does this tell you anything?



Basically either your Postfix needs from 17:38:29 to 17:38:59 to  
accept a single recipient or Mailman needs 30 seconds to read the  
response. It if is Postfix, you will either notice something in your  
maillog right away or at least you will be able to produce valuable  
debugging output running


postconf -e debug_peer_list=127.0.0.1  postfix reload (replace  
127.0.0.1 with the IP of your Mailman server if they don't run on the  
same box)


Aside from misconfiguration or server load, one thing that immediately  
comes to my mind are excessive errors - after more than  
smtpd_soft_error_limit, this kind of slowdown is exactly what happens.



Cheers
Stefan
--
Stefan Förster http://www.incertum.net/ Public Key: 0xBBE2A9E9
Mac OS X ate my ~/.signature.
--
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] Mail getting stuck in queue

2008-06-06 Thread Brad Knowles

Laura Conrad wrote:


OK.  It isn't completely stuck, but it's taking a lot longer to send
out a few messages than I'd expect.  Right now, the last post in the
post log was at 16:30, and at 17:39, tail error says:

Jun 06 17:37:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:38:59 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:38:59 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply:   '250 ok\r\n' 
Jun 06 17:39:29 2008 qrunner(14342): reply: retcode (250); Msg: ok 
Jun 06 17:39:29 2008 qrunner(14342): send:   'rcpt TO:[EMAIL PROTECTED]\r\n' 


Does this tell you anything?


My guess is that you're doing DNS validation and other anti-spam checks on 
your outbound mail.  You don't want to do that.  Do those things on input, 
and then set up a separate outbound-only mail processor that avoids all of 
those checks, because you've already done them on input.


See FAQ 4.20 at http://wiki.list.org/pages/viewpage.action?pageId=4030587, 
and the stuff in section 6 that are specific to your MTA, and also pay 
special attention to FAQ 6.6 at 
http://wiki.list.org/display/DOC/Mailman+Performance+Tuning+for+Mail+Delivery.


--
Brad Knowles [EMAIL PROTECTED]
Member of the Python.org Postmaster Team  Co-Moderator of the
mailman-users and mailman-developers mailing lists
--
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] Automatically creating short URL's?

2008-06-06 Thread David Gibbs

Folks:

Has anyone considered the idea of using one of the URL shortening
services (tinyurl.com, etc) to automatically process URI's in messages
processed by mailman?

When people on my lists post URL's, they are quite often long and
unwieldy ... it would be nice if I could automatically translate those
long URI's into shorter versions.

Thanks!

david


--
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] Automatically creating short URL's?

2008-06-06 Thread Brad Knowles

On 6/6/08, David Gibbs wrote:


 Has anyone considered the idea of using one of the URL shortening
 services (tinyurl.com, etc) to automatically process URI's in messages
 processed by mailman?


Don't recall anyone requesting this specific feature, no.

But that doesn't mean they haven't asked for it.

Feel free to look on the SourceForge Patch or RFE pages for 
Mailman to see if this request has already been filed, or if a patch 
to perform this function has already been uploaded.  If not, feel 
free to file a request via the RFE page, or upload a patch.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
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