Re: [Mailman-Users] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread Richard Shetron
I've noticed that if mailman is stopped/crashes/system reboot/etc. and 
there is anything in mailman/qfiles/maildir/cur that stuff seems to just 
hang in mailman until you stop mailman, clear this directory, and then 
restart mailman.  May not be your problem but try checking it.


you might also want to run the various check/test programs in 
mailman/bin such as check_db and check_perms.


On 5/20/2013 1:45 AM, David Josephson wrote:

A very old and well-used list has been fine for years on this box,
running Mailman 2.1.10 on Red Hat 7.2. The disk got full and everything
crashed. I was able to clear out a couple GB of space and get all
services running again, but now mailman will not send any messages,
either to the list admins or to members. Just before it died completely,
admins got a "We're sorry, we hit a bug" email.

Incoming spam is properly discarded and logged in /logs/vette. Incoming
posts show up in /logs/post showing 250 failures (there are 698 members
on the list). The web interface seems to be functioning properly.

/logs/smtp-failure shows
"Low level smtp error: (-2, 'Name or service not known'), msgid: ..."
and then

May 19 22:02:15 2013 (16851) Low level smtp error: please run connect()
first, msgid: ...

and then listings of each of the addresses where delivery was attempted,
each with "delivery to xx@yy failed with code -1: (-2, 'Name or service
not known')"

Nothing has changed with /etc/smrsh or sendmail, I can send and receive
mail with mutt just fine.

When I reinstalled mailman and sent it a test post, I got the group
mismatch error reminder in the returned mail message that I needed to
run configure with --with-mail-gid=mail, which I did, now test messages
to lists don't bounce back to the sender, they just don't get out of the
server.

Following some of the FAQs I've looked with dumpdb and find no obviously
corrupt .pck files. I moved ~mailman/lists and ~mailman/archives off
somewhere else, reinstalled the same version, brought those directories
back to ~mailman, and get the same behavior.

What am I missing?

--
David Josephson
--
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/guest2%40sgeinc.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] Any way to change all members of a particular domain to another domain?

2013-05-20 Thread Steve Campbell

Thanks very much.

steve
On 5/17/2013 3:27 PM, Mark Sapiro wrote:

On 05/17/2013 11:04 AM, Steve Campbell wrote:

We are going to change one of the domain names we have. I have a
few lists where members of these lists will need to have their
email addresses changed.

memb...@old-domain.com -> memb...@new-domain.com

I am aware of a few ways I could do this. One is pipe the list's
members into a file, delete the list, and recreate the members. Or
just do an add-the-new and delete-the-old. Is there any way other
than this?


See the script at
.



--
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread Mark Sapiro
On 05/20/2013 05:20 AM, Richard Shetron wrote:
> I've noticed that if mailman is stopped/crashes/system reboot/etc. and
> there is anything in mailman/qfiles/maildir/cur that stuff seems to just
> hang in mailman until you stop mailman, clear this directory, and then
> restart mailman.  May not be your problem but try checking it.


Maildir delivery to Mailman is experimental and rarely used. It is not
related to the OP's problem anyway, as in his case, messages are being
processed through the pipeline, and it is only the final SMTP delivery
in OutgoingRunner that's failing.

-- 
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread David Josephson


On 05/20/2013 05:20 AM, Richard Shetron wrote:

I've noticed that if mailman is stopped/crashes/system reboot/etc. and
there is anything in mailman/qfiles/maildir/cur that stuff seems to just
hang in mailman until you stop mailman, clear this directory, and then
restart mailman.  May not be your problem but try checking it.



I am looking for this kind of bug, as it's an old version of Mailman, 
but there is no maildir here, as Mark mentioned, and all of qfiles was 
generated new when I rebuilt Mailman.


Also check_db and check_perms show no 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] moving a mailing list to a new subdomain

2013-05-20 Thread Matthew Needham

On May 17, 2013, at 12:34 PM, Mark Sapiro  wrote:

> On 05/17/2013 08:45 AM, Matthew Needham wrote:
>> An update...
>> 
>> On May 16, 2013, at 14:48 PM, Matthew Needham  wrote:
>> 
>>> 1. For the situation I described, are the instructions on that FAQ (moving 
>>> the files) the ones I should be following?
> 
> 
> They are as good as any.
> 
> 
>>> 2. Should the arch --wipe command really be fixing the links to the 
>>> scrubbed attachments? I also tried renaming the list  from list1 to list2 
>>> without changing the domain, and that didn't help. It seems like it should 
>>> be easy enough change them manually, but I'd rather use whatever mechanism 
>>> Mailman provides.
>> 
>> 
>> The URL in the archives is updated for attachments that were received when 
>> scrubbing is OFF. For attachments that were received when scrubbing is ON, 
>> the URL is not rewritten and still points to the old list.
> 
> 
> The issue here is that bin/arch --wipe will fix the links to attachments
> scrubbed during the archiving process. However, for attachments scrubbed
> during incoming message processing because scrub_nondigest is Yes, the
> situation is different.
> 
> The attachment was saved in the attachments directory and replaced by a
> link in the actual message body. Thus, the LIST.mbox file contains only
> the link in the body and the only place the scrubbed attachment exists
> is in the attachments directory on the old server.
> 
> The only way to fix this is to move the actual files from the
> attachments directory on the old server and update the links manually or
> possibly with some programmatic process.


Thanks, I'll make a script to fix these.


-- 

Matthew Needham

The HDF Group
1800 South Oak Street, Suite 203
Champaign, IL 61820
 
217-531-6110
mneed...@hdfgroup.org

--
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread Mark Sapiro
On 05/19/2013 10:45 PM, David Josephson wrote:
> 
> /logs/smtp-failure shows
> "Low level smtp error: (-2, 'Name or service not known'), msgid: ..."
> and then


This issue can have several different underlying causes including things
like permissions on /etc/hosts and /etc/resolv.conf. See the FAQs at
 and  and some
posts linked therefrom for various tests and debugging techniques you
can use to help find the cause.

-- 
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread David Josephson
Yes... but nothing changed on the server in /etc ... it worked fine a 
couple of days ago, then there was a disk full, now it doesn't. Nothing 
has changed in /etc for several months, and regular mail client works.



On 05/19/2013 10:45 PM, David Josephson wrote:


/logs/smtp-failure shows
"Low level smtp error: (-2, 'Name or service not known'), msgid: ..."
and then



This issue can have several different underlying causes including things
like permissions on /etc/hosts and /etc/resolv.conf. See the FAQs at
 and  and some
posts linked therefrom for various tests and debugging techniques you
can use to help find the cause.



--
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread Mark Sapiro
On 05/20/2013 11:05 AM, David Josephson wrote:
> Yes... but nothing changed on the server in /etc ... it worked fine a
> couple of days ago, then there was a disk full, now it doesn't. Nothing
> has changed in /etc for several months, and regular mail client works.


Yes, but read the FAQs and do some of the tests outlined therein and in
list posts linked therefrom to help you figure out what the problem is.

-- 
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] searching list archives

2013-05-20 Thread Jason Fayre

Hi,
Wondering if someone can point me in the right direction.  I am trying 
to set up a system to allow searching of individual list archives, as 
well as a global search.  I currently have this set up with swish-e.  
However, I would like something that will automatically create the 
indexes and config files for a list as it is created.  Is there any sort 
of turnkey solution for this?


--
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] searching list archives

2013-05-20 Thread Mark Sapiro
On 05/20/2013 11:44 AM, Jason Fayre wrote:
> Hi,
> Wondering if someone can point me in the right direction.  I am trying
> to set up a system to allow searching of individual list archives, as
> well as a global search.  I currently have this set up with swish-e. 
> However, I would like something that will automatically create the
> indexes and config files for a list as it is created.  Is there any sort
> of turnkey solution for this?


There are patches that do this among other things for htdig. See
 and the HTDIG section of
. I don't know how difficult it would
be to modify these for swish-e.

-- 
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread David Josephson

On 5/20/2013 11:12 AM, Mark Sapiro wrote:

On 05/20/2013 11:05 AM, David Josephson wrote:

Yes... but nothing changed on the server in /etc ... it worked fine a
couple of days ago, then there was a disk full, now it doesn't. Nothing
has changed in /etc for several months, and regular mail client works.


Yes, but read the FAQs and do some of the tests outlined therein and in
list posts linked therefrom to help you figure out what the problem is.


Thank you. /etc/hosts contained a line

127.0.0.1 localhost.localdomain

Previously that was enough for Mailman. Adding 'localhost' on that line 
fixed the problem. What would have changed to cause this?

--
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] SMTP problem after recovering from disk full, clues?

2013-05-20 Thread Mark Sapiro
On 05/20/2013 12:41 PM, David Josephson wrote:

> Thank you. /etc/hosts contained a line
> 
> 127.0.0.1 localhost.localdomain
> 
> Previously that was enough for Mailman. Adding 'localhost' on that line
> fixed the problem. What would have changed to cause this?


Possibly you had previously set

SMTPHOST = 'localhost.localdomain'

or something similar in mm_cfg.py, and this got dropped reverting to the
Defaults.py

SMTPHOST = 'localhost'

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