[Mailman-Users] Problems with bounces and qmail+mailman+vpopmail

2005-10-19 Thread David Cuenca
Every day, in my server mailman registers new bounces and stablishes new 
scores. But there are bounces that never arrives to mailman, because 
some times, at some point, the addresses become wrong. Then, qmail sends 
me (postmaster) a message notifying that a bounce could not been sent.

Some times in this failure notice I can read that the original bounce 
was sent to:

[EMAIL PROTECTED]

but afterwards qmail-send says:

Hi. This is the qmail-send program at servername.mydomain.com.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

Not to lists.mydomain.com!!! And of course, mailman never receive this 
bounce!


Another times the original bounce is sent to

[EMAIL PROTECTED]  WRONG!!





I have followed these instructions: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.029.htp
And I have:

.qmail-default with:

|preline /usr/bin/python /usr/local/mailman/bin/qmail-to-mailman.py

.qmail-mylist-bounces-default with:

|preline /usr/local/mailman/mail/mailman bounces myslist

That works fine with some bounces.

The other problem I posted last October 10, 2005, related with this one, 
is still not solved :_(
I wish you could help me. Thanks a lot!


--
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] Problems with bounces and qmail+mailman+vpopmail

2005-10-19 Thread Brad Knowles
At 12:27 PM +0200 2005-10-19, David Cuenca wrote:

  Every day, in my server mailman registers new bounces and stablishes new
  scores. But there are bounces that never arrives to mailman, because
  some times, at some point, the addresses become wrong. Then, qmail sends
  me (postmaster) a message notifying that a bounce could not been sent.

I've read through the message, and I'm not seeing anything here 
that is obviously a Mailman problem.  If you have a qmail problem, 
you should be posting to their mailing lists, reading their FAQs and 
other documentation, etc

Unfortunately, qmail hasn't seen any real development in about 
seven years, so you might have to consider upgrading to a more modern 
MTA, such as postfix, one of the more recent releases of sendmail, or 
maybe Exim.


Without more information, and more specific information, I doubt 
that we're going to be able to help you.  Show us slices from the 
logs and copies of information from real bounces and stop trying to 
obfuscate things, and we might possibly be able to help.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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] Cannot View Subscribers' List - Mailman 2.1.5

2005-10-19 Thread Web User Support

Web User Support wrote:
 
 One of our clients is unable to view their subscriber list via the listinfo
 page; the result insists on a valid email address. The client *is* using
 a valid address and I have confirmed that she has the correct password. I
 have also failed to log in via our master user-name and I have re-set the
 password.
 
 Does anyone have any ideas about solving this?

 Is the roster available to list members or only to the admin? (it says
 on the listinfo page) See private roster on Privacy
 options...Subscription rules.

It's set to admin-only and she *is* one of them. I also re-set her admin 
password, but without success.


g

-- 
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] Approved Headers

2005-10-19 Thread Jeanne Goodman
(I've looked for this in archives, but I must have the wrong search phrases.)

Could someone tell me how to edit the headers in Outlook Express so that I can 
approve or resend messages from there?

Also, can you give me an example the format of a header with an approved header 
in it?

Thanks

Jeanne
--
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] Cannot View Subscribers' List - Mailman 2.1.5

2005-10-19 Thread Mark Sapiro
Web User Support wrote:

 Is the roster available to list members or only to the admin? (it says
 on the listinfo page) See private roster on Privacy
 options...Subscription rules.

It's set to admin-only and she *is* one of them. I also re-set her admin 
password, but without success.


The admin e-mail addresses mean nothing to mailman other than being
addresses to which admin e-mail is sent. The only thing that
identifies an admin to the mailman web interface is knowledge of the
list admin password.

Are you saying she can log on to the admin interface and do list admin
functions, but she can't see the roster using the exact same password?

What happens if she goes to the admin General Options page and after
logging in, goes directly to a URL which is the same except 'admin' is
replaced by 'roster'? Or for that matter, after logging in as admin,
just goes to the listinfo page and clicks 'Visit Subscriber List'
without filling in any address or password?

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

2005-10-19 Thread Dan Szkola
Mark Sapiro wrote:

Dan Szkola wrote (in separate posts):
  

You could try the following patch to the $prefix/scripts/post script to
print the environment each time it is invoked. Assuming sendmail
doesn't choke on this in the normal case, it should appear in the DSN
in the error case.
  

Patched the admin script as suggested. When I saw the error this 
morning, I emailed
to the admin address of our test list. Here is what I got:

   - Transcript of session follows -
PYTHONPATH /usr/local/mailman
AGENT sendmail
Traceback (most recent call last):
  File /usr/local/mailman/scripts/admin, line 36, in ?
from Mailman.Queue.sbcache import get_switchboard
  File /usr/local/mailman/Mailman/Queue/sbcache.py, line 19, in ?
from Mailman.Queue.Switchboard import Switchboard
  File /usr/local/mailman/Mailman/Queue/Switchboard.py, line 47, in ?
from Mailman.Logging.Syslog import syslog
  File /usr/local/mailman/Mailman/Logging/Syslog.py, line 22, in ?
from Mailman.Logging.StampedLogger import StampedLogger
  File /usr/local/mailman/Mailman/Logging/StampedLogger.py, line 20, in ?
from Mailman.Logging.Logger import Logger
  File /usr/local/mailman/Mailman/Logging/Logger.py, line 25, in ?
from Mailman.Logging.Utils import _logexc
  File /usr/local/mailman/Mailman/Logging/Utils.py, line 18, in ?
import traceback
ImportError: No module named traceback
554 5.3.0 unknown mailer error 1

--
Dan Szkola
Sr Unix Systems Programmer
Northern Illinois University

--
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] Approved Headers

2005-10-19 Thread Mark Sapiro
Jeanne Goodman wrote:

(I've looked for this in archives, but I must have the wrong search phrases.)

Could someone tell me how to edit the headers in Outlook Express so that I can 
approve or resend messages from there?


This is not a Mailman question, and I'm not a MS-OE expert, but I don't
know of a way to add a custom header to mail sent by OE.


Also, can you give me an example the format of a header with an approved 
header in it?


Because it is awkward or impossible with some MUAs (mail clients) to
add a custom header to an individual message, Mailman also looks at
the first non-blank line of the first text/plain part of the message
for an Approved: header, i.e., a line that begins with 'Approved:'
(Approve: is also accepted). If it finds such a line, it checks for
the list password and in any case, removes the Approved: line from the
message if it is a post.

If you are approving a held message in response to a notification, the
notification will have two attachments in OE. One of these is the
original message, and the other is an e-mail message with subject like
'confirm 079b0381a67628da958ae2da5c095606d9006dc4'. If you open this
message attachment in OE, I believe you will be able to reply to it.
The reply will go to the listname-request address and will have
subject 'Re: confirm 079b0381a67628da958ae2da5c095606d9006dc4'. The
Re: is not required but is OK, the string of hex digits will of course
be different.

If you send that reply, the original post will be discarded. If you
first edit the reply so the first line is 'Approved: list_password',
the post will be approved. These instructions are also in the body of
that attached message.

If you are trying to send a post to the list which might otherwise be
held, you can also include an Approved: line as the first body line.
In this case, it is trickier, because the message will go to the list
and if it is multipart/alternative with an html part, the Approved:
line won't be removed from the html part. So you have to set OE before
composing the message to send plain text. This is Tools-Options-Send
tab, Mail Sending Format - Plain Text. You also have to follow the
Approved: line with a blank line because current Mailman versions
remove both the Approved: line and the first remaining line.

-- 
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] Approved Headers

2005-10-19 Thread Jeanne Goodman
Thank you very much. You have cleared up a lot of things.

Can you recommend a Windows Friendly MUA that does allow one to add a custom 
header?

Is there any way to edit a message before approval with my mail client 
limitation? I saw in the FAQs how to edit a message by forwarding it to 
yourself and changing the headers.

Jeanne Goodman


- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: Jeanne Goodman [EMAIL PROTECTED]; mailman-users@python.org
...
 Because it is awkward or impossible with some MUAs (mail clients) to
 add a custom header to an individual message, Mailman also looks at
 the first non-blank line of the first text/plain part of the message
 for an Approved: header, i.e., a line that begins with 'Approved:'
 (Approve: is also accepted). If it finds such a line, it checks for
 the list password and in any case, removes the Approved: line from the
 message if it is a post.

 

--
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] Interface questions

2005-10-19 Thread John Dennis
On Wed, 2005-10-19 at 13:42 -0400, JOSEPH DAMICO wrote:
 Hello,
 
 We are considering a conversion from Listproc to Mailman. We have a few 
 concerns, but our chief one is authentication.  Here are two questions in 
 this regard:
 
 (a) We would like to have Mailman interface with our Kerberos system, so that 
 the passwords our students and faculty use for their e-mail, course logins, 
 and almost every other authentication procedure would be the same passwords 
 they use to access mailing lists.
 
 Has anyone developed a Mailman-Kerberos interface?
 
 (b) A number of people subscribed to our lists are from outside the 
 university, so a Mailman-Kerberos interface would not work for them.
 Ideally, we would have users communicate with another program (such as 
 Shibboleth).  Then we would determine whether to use the Kerberos interface 
 (for university people) or the regular Mailman password (for those 
 non-university people) to communicate with Mailman.
 
 Has anyone developed a Mailman-Shibboleth interface?

To the best of my knowledge neither has been developed. However, it
isn't terribly hard and you should consider developing it yourself and
contributing the code.

Here is what you would need to do:

Mailman comes with a member adapter plugin. You would override the
method authenticateMember() to perform a authentication validation. I'm
not sure if there is an existing python module for kerberos
authentication, if not you would need to write one that checks the
user's ticket. You would also need to add some code to automatically
invoke your member adapter. You also need a method to determine if the
user is in your kerberos realm, -or- you could attempt a kerberos
authentication and if you get a unknown principal error attempt
authentication with your fallback mechanism.

Mailman lets its members set and get their passwords, YOU DO NOT WANT to
allow this with kerberos so you would probably also override
setMemberPassword() and getMemberPassword() to be a no-op. You would
also want to configure the site defaults to never send password
reminders.
-- 
John Dennis [EMAIL PROTECTED]

--
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] Microsoft Outlooks munges attachment headers?

2005-10-19 Thread Andrew Hedges
Thanks again for the help yesterday getting my Mailman installation working!
We're now in the testing phase ... woo hoo!

New question: earlier today, I sent a messsage to my test list from Apple's
Mail.app with an image attached.  It shows up in the archives as a linked
file, as I would have expected:

   http://lists.familyvoices.org/pipermail/fv-test/2005-October/09.html

Later, I sent a message to the same list from Microsoft Outlook with an
attachment and it displays in the archives inline ... not the desired
behavior!

   http://lists.familyvoices.org/pipermail/fv-test/2005-October/19.html

Unfortunately, my whole organization uses Outlook.  Is this an unavoidable
side effect of some Microsoft-specific header munging or can I adjust my
list settings (easier than changing Outlook settings for 20 people spread
around the U.S.) so attachments display as links?

I looked through the archives, but didn't see this addressed specifically
(though I could have easily missed it!).  Thanks in advance for any help!

-Andrew
-
Andrew Hedges
Technology Coordinator
Family Voices, Inc.
2340 Alamo Ave SE, Suite 102
Albuquerque, NM 87106
505-872-4774 phone
505-872-4780 fax
[EMAIL PROTECTED]
http://www.familyvoices.org/


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

2005-10-19 Thread Dan Szkola
Mark Sapiro wrote:

Dan Szkola wrote:

  

Patched the admin script as suggested. When I saw the error this 
morning, I emailed
to the admin address of our test list. Here is what I got:

  - Transcript of session follows -
PYTHONPATH /usr/local/mailman



I wouldn't have expected this, but I don't think it should matter.

What do you get if you add to the patch as follows

--- admin   2005-10-14 16:31:42.078125000 -0700
+++ admin_patched   2005-10-19 10:21:51.328125000 -0700
@@ -25,8 +25,16 @@
 

 import sys
+from os import environ
+for env_var in environ:
+print env_var, environ[env_var]
+for s_path in sys.path:
+print 'before =', s_path

 import paths
+for s_path in sys.path:
+print 'after =', s_path
+
 from Mailman import mm_cfg
 from Mailman import Utils
 from Mailman.i18n import _


  

   - Transcript of session follows -
PYTHONPATH /usr/local/mailman
AGENT sendmail
before = /usr/local/mailman/scripts
before = /usr/local/mailman
before = /usr/local/lib/python24.zip
before = /usr/local/lib/python2.4/
before = /usr/local/lib/python2.4/plat-sunos5
before = /usr/local/lib/python2.4/lib-tk
before = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/mailman/pythonlib
after = /usr/local/mailman
after = /usr/local/mailman/scripts
after = /usr/local/mailman
after = /usr/local/lib/python24.zip
after = /usr/local/lib/python2.4/
after = /usr/local/lib/python2.4/plat-sunos5
after = /usr/local/lib/python2.4/lib-tk
after = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/lib/python2.4/site-packages
Traceback (most recent call last):
  File /usr/local/mailman/scripts/admin, line 42, in ?
from Mailman.Queue.sbcache import get_switchboard
  File /usr/local/mailman/Mailman/Queue/sbcache.py, line 19, in ?
from Mailman.Queue.Switchboard import Switchboard
  File /usr/local/mailman/Mailman/Queue/Switchboard.py, line 47, in ?
from Mailman.Logging.Syslog import syslog
  File /usr/local/mailman/Mailman/Logging/Syslog.py, line 22, in ?
from Mailman.Logging.StampedLogger import StampedLogger
  File /usr/local/mailman/Mailman/Logging/StampedLogger.py, line 20, in ?
from Mailman.Logging.Logger import Logger
  File /usr/local/mailman/Mailman/Logging/Logger.py, line 25, in ?
from Mailman.Logging.Utils import _logexc
  File /usr/local/mailman/Mailman/Logging/Utils.py, line 18, in ?
import traceback
ImportError: No module named traceback
554 5.3.0 unknown mailer error 1

Oddly, the correct path statement is the only one with a trailing slash.

--
Dan Szkola
Sr Unix Systems Programmer
Northern Illinois University

--
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] Bounced mail when sending reminders

2005-10-19 Thread Robert Cartier
I am encountering errors with the smtp servers on Yahoo.
I have updated to use sendmail so that I can login using my
account information and this works for postings. But
when the system sends out reminder emails it doesnt seem
to use the same code and uses smtp direct I am assuming

any help would be greatly appreciated

Rob Cartier
--
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] Microsoft Outlooks munges attachment headers?

2005-10-19 Thread Mark Sapiro
Andrew Hedges wrote:

Later, I sent a message to the same list from Microsoft Outlook with an
attachment and it displays in the archives inline ... not the desired
behavior!

   http://lists.familyvoices.org/pipermail/fv-test/2005-October/19.html

Unfortunately, my whole organization uses Outlook.  Is this an unavoidable
side effect of some Microsoft-specific header munging or can I adjust my
list settings (easier than changing Outlook settings for 20 people spread
around the U.S.) so attachments display as links?

The issue is that the 'attachment' is not being sent as a separate MIME
part. It is just a uuencoded file that is included as part of the
text/plain message. There is no Mailman setting to see it as an
attachment. I would say that any MUA/mail client that sees it as an
attachment is brain dead and should be put out of it's misery, but
that would be unkind.

You have to set Outlook to send MIME attachments rather than uuencoded.
Unfortunately, a nagging feeling arises from the dusty recesses of my
mind saying that selecting 'uuencode' for 'attachments' instead of
MIME is a workaround for not otherwise being able to send plain text
rather than HTML, but I have no direct knowledge of Outlook and how to
configure it.

-- 
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] Interface questions

2005-10-19 Thread John Dennis
On Wed, 2005-10-19 at 13:42 -0400, JOSEPH DAMICO wrote:

 (a) We would like to have Mailman interface with our Kerberos system...

hmm... thinking about this a bit more, while getting mailman to
authenticate with kerberos wouldn't be hard you're going to run into
some other nasty problems you can't ignore

1) The web pages will prompt for credentials, you do not want this
because kerberos is a single signon system (SSO). You would want to
remove this prompting, that is a larger task. But you may need to retain
it for users not your kerberos realm, but see points 2 and 3.

2) You will be dependent on external mechanisms for ticket generation.
That may or may not play well for your mailman user community. For
example if I'm trying to access mailman remotely via the web how would I
establish a ticket?

3) Unless you force all your mailman URL's to use SSL (TLS) and you
allow password entry you will have exposed a very critical password to
the world, potentially the kerberos passwords of your entire user
community. Mailman currently transmits passwords in the clear in many
circumstances, the only reason this has not become more of an issue is
because user's are encouraged not to use an important password for
mailman.
-- 
John Dennis [EMAIL PROTECTED]

--
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] Approved Headers

2005-10-19 Thread Bryan Carbonnell
On 19/10/05, Jeanne Goodman [EMAIL PROTECTED] wrote:
 Thank you very much. You have cleared up a lot of things.

 Can you recommend a Windows Friendly MUA that does allow one to add a custom
 header?

Pegasus Mail. http://www.pmail.com.

AFAIC, it's the best windows MUA. And the best part, it's free.

--
Bryan Carbonnell - [EMAIL PROTECTED]
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting What a great ride!
--
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] Strange errors

2005-10-19 Thread John W. Baxter
On 10/19/05 11:14 AM, Dan Szkola [EMAIL PROTECTED] wrote:

 Mark Sapiro wrote:
 
 Dan Szkola wrote:
 
  
 
 Patched the admin script as suggested. When I saw the error this
 morning, I emailed
 to the admin address of our test list. Here is what I got:
 
  - Transcript of session follows -
 PYTHONPATH /usr/local/mailman

 
 
 I wouldn't have expected this, but I don't think it should matter.
 
 What do you get if you add to the patch as follows
 
 --- admin   2005-10-14 16:31:42.078125000 -0700
 +++ admin_patched   2005-10-19 10:21:51.328125000 -0700
 @@ -25,8 +25,16 @@
 
 
 import sys
 +from os import environ
 +for env_var in environ:
 +print env_var, environ[env_var]
 +for s_path in sys.path:
 +print 'before =', s_path
 
 import paths
 +for s_path in sys.path:
 +print 'after =', s_path
 +
 from Mailman import mm_cfg
 from Mailman import Utils
 from Mailman.i18n import _
 
 
  
 
- Transcript of session follows -
 PYTHONPATH /usr/local/mailman
 AGENT sendmail
 before = /usr/local/mailman/scripts
 before = /usr/local/mailman
 before = /usr/local/lib/python24.zip
 before = /usr/local/lib/python2.4/
 before = /usr/local/lib/python2.4/plat-sunos5
 before = /usr/local/lib/python2.4/lib-tk
 before = /usr/local/lib/python2.4/lib-dynload
 after = /usr/local/mailman/pythonlib
 after = /usr/local/mailman
 after = /usr/local/mailman/scripts
 after = /usr/local/mailman
 after = /usr/local/lib/python24.zip
 after = /usr/local/lib/python2.4/
 after = /usr/local/lib/python2.4/plat-sunos5
 after = /usr/local/lib/python2.4/lib-tk
 after = /usr/local/lib/python2.4/lib-dynload
 after = /usr/local/lib/python2.4/site-packages
 Traceback (most recent call last):
   File /usr/local/mailman/scripts/admin, line 42, in ?
 from Mailman.Queue.sbcache import get_switchboard
   File /usr/local/mailman/Mailman/Queue/sbcache.py, line 19, in ?
 from Mailman.Queue.Switchboard import Switchboard
   File /usr/local/mailman/Mailman/Queue/Switchboard.py, line 47, in ?
 from Mailman.Logging.Syslog import syslog
   File /usr/local/mailman/Mailman/Logging/Syslog.py, line 22, in ?
 from Mailman.Logging.StampedLogger import StampedLogger
   File /usr/local/mailman/Mailman/Logging/StampedLogger.py, line 20, in ?
 from Mailman.Logging.Logger import Logger
   File /usr/local/mailman/Mailman/Logging/Logger.py, line 25, in ?
 from Mailman.Logging.Utils import _logexc
   File /usr/local/mailman/Mailman/Logging/Utils.py, line 18, in ?
 import traceback
 ImportError: No module named traceback
 554 5.3.0 unknown mailer error 1
 
 Oddly, the correct path statement is the only one with a trailing slash.


Have we eliminated the possibility that--due to some unfortunate
event--there really is no traceback module (or it can't be read)?

What do you get from
ls -l /usr/local/lib/python2.4/traceback.py

If it is there, does that file have world read permission?

Do you have multiple Python versions installed?

  --John


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

2005-10-19 Thread Dan Szkola
John W. Baxter wrote:

On 10/19/05 11:14 AM, Dan Szkola [EMAIL PROTECTED] wrote:

  

Mark Sapiro wrote:



Dan Szkola wrote:

 

  

Patched the admin script as suggested. When I saw the error this
morning, I emailed
to the admin address of our test list. Here is what I got:

 - Transcript of session follows -
PYTHONPATH /usr/local/mailman
   



I wouldn't have expected this, but I don't think it should matter.

What do you get if you add to the patch as follows

--- admin   2005-10-14 16:31:42.078125000 -0700
+++ admin_patched   2005-10-19 10:21:51.328125000 -0700
@@ -25,8 +25,16 @@


import sys
+from os import environ
+for env_var in environ:
+print env_var, environ[env_var]
+for s_path in sys.path:
+print 'before =', s_path

import paths
+for s_path in sys.path:
+print 'after =', s_path
+
from Mailman import mm_cfg
from Mailman import Utils
from Mailman.i18n import _


 

  

   - Transcript of session follows -
PYTHONPATH /usr/local/mailman
AGENT sendmail
before = /usr/local/mailman/scripts
before = /usr/local/mailman
before = /usr/local/lib/python24.zip
before = /usr/local/lib/python2.4/
before = /usr/local/lib/python2.4/plat-sunos5
before = /usr/local/lib/python2.4/lib-tk
before = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/mailman/pythonlib
after = /usr/local/mailman
after = /usr/local/mailman/scripts
after = /usr/local/mailman
after = /usr/local/lib/python24.zip
after = /usr/local/lib/python2.4/
after = /usr/local/lib/python2.4/plat-sunos5
after = /usr/local/lib/python2.4/lib-tk
after = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/lib/python2.4/site-packages
Traceback (most recent call last):
  File /usr/local/mailman/scripts/admin, line 42, in ?
from Mailman.Queue.sbcache import get_switchboard
  File /usr/local/mailman/Mailman/Queue/sbcache.py, line 19, in ?
from Mailman.Queue.Switchboard import Switchboard
  File /usr/local/mailman/Mailman/Queue/Switchboard.py, line 47, in ?
from Mailman.Logging.Syslog import syslog
  File /usr/local/mailman/Mailman/Logging/Syslog.py, line 22, in ?
from Mailman.Logging.StampedLogger import StampedLogger
  File /usr/local/mailman/Mailman/Logging/StampedLogger.py, line 20, in ?
from Mailman.Logging.Logger import Logger
  File /usr/local/mailman/Mailman/Logging/Logger.py, line 25, in ?
from Mailman.Logging.Utils import _logexc
  File /usr/local/mailman/Mailman/Logging/Utils.py, line 18, in ?
import traceback
ImportError: No module named traceback
554 5.3.0 unknown mailer error 1

Oddly, the correct path statement is the only one with a trailing slash.




Have we eliminated the possibility that--due to some unfortunate
event--there really is no traceback module (or it can't be read)?

What do you get from
ls -l /usr/local/lib/python2.4/traceback.py

If it is there, does that file have world read permission?

Do you have multiple Python versions installed?

  --John
  

Yep. If it didn't exist or was unreadable, wouldn't the script bail under
 normal circumstances?

Anyway, here is the output of an ls -l /usr/local/lib/python2.4/tr*:

-rw-r--r--   1 bin  bin28935 May 27 11:59 
/usr/local/lib/python2.4/trace.py
-rw-r--r--   1 bin  bin22092 May 27 12:01 
/usr/local/lib/python2.4/trace.pyc
-rw-r--r--   1 bin  bin22030 May 27 12:01 
/usr/local/lib/python2.4/trace.pyo
-rw-r--r--   1 bin  bin10464 May 27 11:59 
/usr/local/lib/python2.4/traceback.py
-rw-r--r--   1 bin  bin11030 May 27 12:01 
/usr/local/lib/python2.4/traceback.pyc
-rw-r--r--   1 bin  bin11030 May 27 12:01 
/usr/local/lib/python2.4/traceback.pyo

I have also tried copying the traceback.py file into various places that 
make sense and I
get the same error. I know it is getting read because it gets compiled 
into a .pyc file.

The python 2.4.1 was compiled from source and is the only python version 
on the box.

--
Dan Szkola
Sr Unix Systems Programmer
Northern Illinois University
--
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] Bounced mail when sending reminders

2005-10-19 Thread Mark Sapiro
Robert Cartier wrote:

I am encountering errors with the smtp servers on Yahoo.
I have updated to use sendmail so that I can login using my
account information and this works for postings.


The use of DELIVERY_MODULE = 'Sendmail' is highly discouraged as I'm
sure you know if you've made it work. If the only reason you're using
it is because your outgoing MTA requires username/password
authorization, see
http://mail.python.org/pipermail/mailman-users/2005-October/047082.html


But
when the system sends out reminder emails it doesn't seem
to use the same code and uses smtp direct I am assuming


I don't think that is correct. All outgoing mail is placed in the out
queue and delivered by OutgoingRunner using DELIVERY_MODULE.

I have noticed however that one of my Yahoo addresses that is
subscribed to a list always finds its password reminders in the 'Bulk'
folder even though list posts are delivered normally.

I suspect Yahoo. Do you have any of the actual bounces or just bounce
log information? If you have an actual bounce, what does it say?

-- 
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] Approved Headers

2005-10-19 Thread Mark Sapiro
Jeanne Goodman wrote:
Can you recommend a Windows Friendly MUA that does allow one to add a custom 
header?


Another response recommends Pegasus Mail.

There are also ports of Mutt which is very functional but not GUI. If
you're interested, search google for mutt+windows,


Is there any way to edit a message before approval with my mail client 
limitation? I saw in the FAQs how to edit a message by forwarding it to 
yourself and changing the headers.


Either the first method in the FAQ can be used, or if you have the
approval notice from Mailman, that already contains the message. You
can save the message and edit it as required. As the FAQ says, You
should include a notice in the message explaining that the list
moderator has edited the message.

Then you need to 'resend' it with a mail client that can do this.
AFAIK, MS-OE can't do it.

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

2005-10-19 Thread Mark Sapiro
Dan Szkola wrote:

John W. Baxter wrote:

On 10/19/05 11:14 AM, Dan Szkola [EMAIL PROTECTED] wrote:

  

Mark Sapiro wrote:



Dan Szkola wrote:

 

  

Patched the admin script as suggested. When I saw the error this
morning, I emailed
to the admin address of our test list. Here is what I got:

 - Transcript of session follows -
PYTHONPATH /usr/local/mailman
   



I wouldn't have expected this, but I don't think it should matter.


A closer look reveals that this comes from the wrapper and thus is
always there.



What do you get if you add to the patch as follows

--- admin   2005-10-14 16:31:42.078125000 -0700
+++ admin_patched   2005-10-19 10:21:51.328125000 -0700
@@ -25,8 +25,16 @@


import sys
+from os import environ
+for env_var in environ:
+print env_var, environ[env_var]
+for s_path in sys.path:
+print 'before =', s_path

import paths
+for s_path in sys.path:
+print 'after =', s_path
+
from Mailman import mm_cfg
from Mailman import Utils
from Mailman.i18n import _


 

  

   - Transcript of session follows -
PYTHONPATH /usr/local/mailman
AGENT sendmail
before = /usr/local/mailman/scripts
before = /usr/local/mailman
before = /usr/local/lib/python24.zip
before = /usr/local/lib/python2.4/
before = /usr/local/lib/python2.4/plat-sunos5
before = /usr/local/lib/python2.4/lib-tk
before = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/mailman/pythonlib
after = /usr/local/mailman
after = /usr/local/mailman/scripts
after = /usr/local/mailman
after = /usr/local/lib/python24.zip
after = /usr/local/lib/python2.4/
after = /usr/local/lib/python2.4/plat-sunos5
after = /usr/local/lib/python2.4/lib-tk
after = /usr/local/lib/python2.4/lib-dynload
after = /usr/local/lib/python2.4/site-packages
Traceback (most recent call last):
  File /usr/local/mailman/scripts/admin, line 42, in ?
from Mailman.Queue.sbcache import get_switchboard
  File /usr/local/mailman/Mailman/Queue/sbcache.py, line 19, in ?
from Mailman.Queue.Switchboard import Switchboard
  File /usr/local/mailman/Mailman/Queue/Switchboard.py, line 47, in ?
from Mailman.Logging.Syslog import syslog
  File /usr/local/mailman/Mailman/Logging/Syslog.py, line 22, in ?
from Mailman.Logging.StampedLogger import StampedLogger
  File /usr/local/mailman/Mailman/Logging/StampedLogger.py, line 20, in ?
from Mailman.Logging.Logger import Logger
  File /usr/local/mailman/Mailman/Logging/Logger.py, line 25, in ?
from Mailman.Logging.Utils import _logexc
  File /usr/local/mailman/Mailman/Logging/Utils.py, line 18, in ?
import traceback
ImportError: No module named traceback
554 5.3.0 unknown mailer error 1

Oddly, the correct path statement is the only one with a trailing slash.
 


This shouldn't be a problem. I tried adding the slash in my Python
2.4.1 and it didn't matter.

   



Have we eliminated the possibility that--due to some unfortunate
event--there really is no traceback module (or it can't be read)?

What do you get from
ls -l /usr/local/lib/python2.4/traceback.py

If it is there, does that file have world read permission?

Do you have multiple Python versions installed?

  --John
  

Yep. If it didn't exist or was unreadable, wouldn't the script bail under
 normal circumstances?


Yes, unless somehow it becomes unreadable and restarting sendmail makes
it readable again. That's too scary to even think about.


Anyway, here is the output of an ls -l /usr/local/lib/python2.4/tr*:

-rw-r--r--   1 bin  bin28935 May 27 11:59 
/usr/local/lib/python2.4/trace.py
-rw-r--r--   1 bin  bin22092 May 27 12:01 
/usr/local/lib/python2.4/trace.pyc
-rw-r--r--   1 bin  bin22030 May 27 12:01 
/usr/local/lib/python2.4/trace.pyo
-rw-r--r--   1 bin  bin10464 May 27 11:59 
/usr/local/lib/python2.4/traceback.py
-rw-r--r--   1 bin  bin11030 May 27 12:01 
/usr/local/lib/python2.4/traceback.pyc
-rw-r--r--   1 bin  bin11030 May 27 12:01 
/usr/local/lib/python2.4/traceback.pyo

I have also tried copying the traceback.py file into various places that 
make sense and I
get the same error. I know it is getting read because it gets compiled 
into a .pyc file.


The implications of this are also too scary to think about.


The python 2.4.1 was compiled from source and is the only python version 
on the box.

In a later post, you say it wasn't, but you removed the Sun Gnome
Python 2.3. I hope that fixes it, but I doubt it will.

Here's something else to try if it fails again. As the mailman user in
the /usr/local/mailman directory, give the command

python2.4 -S /usr/local/mailman/scripts/admin listname file

where listname is the name of the list and file contains an arbitrary
rfc822-like message. It can be as simple as

-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

body


Except for the fact that this doesn't edit the environment passed to
the script, 

Re: [Mailman-Users] Mailman/PHP/Digest Issue

2005-10-19 Thread Mark Sapiro
Neal Berwick wrote:
   Date: Wed, 21 Sep 2005 13:58:46 -0400

 My apologies in advance if I'm directing this to the wrong location, but


My apologies for not responding sooner, but your post got buried in my
inbox.


I'm about out of ideas. I recently built a small PHP web form to allow
individuals to send email updates to our various mailman lists. Everything
works quite nicely for non-digest users, but when I tried to configure the
script for digest users, things started to get weird.

snip

 Below I list the headers that I'm setting in php, the relevant sections of
the plaintext digest with incorrectly counted messages/topics and finally
the relevant sections of the plaintext digest with the correct message
count.
 Thanks in advance to anyone who has any thoughts
 php:

$boundary='--' . md5( uniqid(IsNealAGenius) );
$headers = From: \Home Office\  . $from. \n;
$headers .= Mime-Version: 1.0\n;
$headers .= Content-type: multipart/alternative;\n boundary=\$boundary\\n
X-Mailer: PHP/ . phpversion() . \n;

$message=\nThis is a multi-part message in MIME format.\n;
$message.=\n\n--$boundary\n;
$message.=Content-Type: text/plain; charset=\us-ascii\\n;
$message.=Content-Transfer-Encoding: 8bit\n\n;
$mail_to = [EMAIL PROTECTED];
$message .= strip_tags($test);
$message .= \n\n--$boundary\n;
$message .= Content-Type: text/html; charset=\us-ascii\\n;
$message.=Content-Transfer-Encoding: 8bit\n\n;
$message .= $test;


At this point it appears you are missing

$message .= \n\n--$boundary--\n;


mail ($mail_to,test,$message,$headers);
..

snip


-- 
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] Monthly password reminders not working

2005-10-19 Thread Mark Sapiro
Darren G Pifer wrote:
 
 I added this to my version of mailpasswds at line 237:
 
 print msg=%s % (msg)
 msg.send(sitelist, **{'errorsto': sitebounce,
   '_nolist' : 1,
   'verp': mm_cfg.VERP_PASSWORD_REMINDERS,
  })

Just to let everyone know, for grins and giggles, I changed the msg.send
line to:

msg.send(mlist)

and it sent the password reminder. Now I must find out why the original
code did not work. Can someone who knows python tell me what the second
argument to msg.send is doing?


It is adding those three items and values to the message metadata (the
msgdata dictionary). I think 'errorsto' once was used to set the
Errors-To: header, but this is now set unconditionally to the envelope
sender in SMTPDirect.py and 'errorsto' is ignored. '_nolist' : 1
causes CookHeaders.py to skip adding rfc 2369 headers. 'verp':
mm_cfg.VERP_PASSWORD_REMINDERS sets VERP delivery based on the value
of VERP_PASSWORD_REMINDERS in mm_cfg.py or Defaults.py.


Also, were there changes in the code
from 2.1.6b4 (our current version) to 2.1.6 for mailpasswds? We will be
upgrading soon but I wonder if we should do it sooner rather than later.


No. there were no changes in mailpasswds from 2.1.6b1 through the 2.1.6
final release.
 
-- 
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