[Mailman-Users] central location for /pythonlib/* for multiple installations

2006-09-15 Thread Bretton Vine
Apologies if I've ignored something obvious here, but with 6 mailman 
installations (all upgraded to 2.1.9 with a patched sourced) I've found 
discrepancies in the version of

  mailman/pythonlib/email/Utils.py

between the different installations. One installation kept causing the 
problems with attachments with an apostrophe or other oddities (i.e. 
filename..pdf) etc. Given that for a minority of lists /all/ content must be 
accepted this isn't on. Exim accepts the messages, delivers to mailman and 
then they just sit in

  mailman/qfiles/in/*.pck

Even running unshunt doesn't help much. A reboot did though.

Can I run multiple installations of mailman but refer to on single location 
of the pythonlib/* files for all installations? This would prevent the 
different file sizes and content that seems to have cropped up.

  i.e. over 6 MM installs all copies of Utils.py are different sizes, some
   the same dates, others not

Given that this affects 250+ lists it's an important issue I need 
clarification on before experimenting.

thanks in advance.
-- 
| Bretton Vine | 083 633 8475 | [EMAIL PROTECTED] |
| GPG: http://bretton.hivemind.net/bretton_vine.asc  |

"Not all who wander are lost." - J. R. R. Tolkien
--
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=show&file=faq01.027.htp


[Mailman-Users] Changing the From field displayed to the user

2006-09-15 Thread Henrik Rasmussen
My Mailman list server is currently called
mailman.fullqualified.domain.name and this is reflected by the From
field in the mails sendt by the listsserver (From: root
[EMAIL PROTECTED]
 ). Instead I want to change the
displayed host name to list.fullqualified.domain.name in the e-mail
From: field and the webinterface.
 
Changing myhostname in the /etc/postfix/main.cf (and restarting the
Postfix server) does not work.
Changing mydomain in the /etc/postfix/main.cf (and restarting the
Postfix server) does not work.
myorigin is already set to $myhostname, so changing this would probably
not change anything either.
 
My colleague and I have read several documents, but until now we have't
found out anything usefull (in means of changing the From field).
 
Also I am uncertain whether I am suppose to make changes to the Mailman
configuration or the Postfix configuration in order to change the From
field, and there in which configuration file the changes should be made.
 
How can I set this up so the server appear as
list.fullqualified.domain.name?
 
Regards Henrik Rasmussen
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] central location for /pythonlib/* for multipleinstallations

2006-09-15 Thread Mark Sapiro
Bretton Vine wrote:

>Apologies if I've ignored something obvious here, but with 6 mailman 
>installations (all upgraded to 2.1.9 with a patched sourced) I've found 
>discrepancies in the version of
>
>  mailman/pythonlib/email/Utils.py
>
>between the different installations.


I don't know why your installations were not all upgraded to email
2.5.8 when you upgraded to 2.1.9, but they should have been.


>One installation kept causing the 
>problems with attachments with an apostrophe or other oddities (i.e. 
>filename..pdf) etc.


That is fixed in email 2.5.8


>Given that for a minority of lists /all/ content must be 
>accepted this isn't on. Exim accepts the messages, delivers to mailman and 
>then they just sit in
>
>  mailman/qfiles/in/*.pck
>
>Even running unshunt doesn't help much. A reboot did though.


unshunt only handles messages in qfiles/shunt. It wouldn't affect
qfiles/in. However, I also don't understand the messages just sitting
in the 'in' queue. I seems that IncomingRunner died, which IIRC is not
the symptom of the 'apostrophe in attachment filename' issue.


>Can I run multiple installations of mailman but refer to on single location 
>of the pythonlib/* files for all installations? This would prevent the 
>different file sizes and content that seems to have cropped up.


Yes. In each installation there are copies of paths.py in the bin,
cron, scripts and tests directories. Each of these contains the
following section


# We also need the pythonlib directory on the path to pick up any
overrides of
# standard modules and packages.  Note that these must go at the front
of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))


In each paths.py in each installation, replace

sys.path.insert(0, os.path.join(prefix, 'pythonlib'))

with

sys.path.insert(0, '/path/to/the/one/pythonlib'))

but the real issue is why didn't your 2.1.9 upgrade process install the
right email library in pythonlib in the first place.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Changing the From field displayed to the user

2006-09-15 Thread Mark Sapiro
Henrik Rasmussen wrote:
> 
>How can I set this up so the server appear as
>list.fullqualified.domain.name?


If I understand the issue correctly, see
.

You want

DEFAULT_EMAIL_HOST = 'list.fullqualified.domain.name'

and you also need to run fix_url as mentioned in the FAQ or just change
the host_name attribute on each list's General Options page.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Sendmail mailer in Python?

2006-09-15 Thread Mark Sapiro
Guy..Lister wrote:
> Am I missing something?  Having recently installed Mailman 2.1.8,
> verified that it works, applied the exitstatus patch, again verified
> that it works, now I try to finish off the installation by automating
> the newaliases task for each newly created list by applying the
> patch, [ 644810 ] Sendmail mailer in Python, at
> http://sourceforge.net/tracker/index.php?func=detail&aid=644810&group_id=103&atid=300103
>  I've read that it is no longer supported.  I've searched far and
> wide for threads that pick up where it left off.  Is there any way to
> ressurrect this thread of "completely" automating Mailman?

I'll let Richard respond to the above if he wants to, but for a 
different approach to sendmail alias automation, see 


-- 
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=show&file=faq01.027.htp


[Mailman-Users] Change Mailman Installer owner

2006-09-15 Thread Kory Wheatley
I didn't know what list to seen this to because it's kind of an 
in-between question/help.


I currently I'm running Mailman 2.1.6 and want to upgrade to Mailman 
2.1.9.  I'll do the basic procedure of ./configure and make install, but 
I what to change the owner of the installer of Mailman and install it 
with a different user.


Currently I installed mailman under an account callled wheakory and now 
I want to configure Mailman under mailmgmt.  Would the following 
procedure work:


First shutdown mailman
change ownership or group with:  find . -user wheakory -exec chown 
mailmgmt {} \; find . -group wheakory -exec chgrp mailmgmt {} \;

Login as mailmgmt
cd to mailman-2.1.9
./configure (with our current parameters set)
make install
start mailman

--
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=show&file=faq01.027.htp

Re: [Mailman-Users] Change Mailman Installer owner

2006-09-15 Thread Mark Sapiro
Kory Wheatley wrote:
>
>I didn't know what list to seen this to because it's kind of an 
>in-between question/help.


Mailman-Users is appropriate.


>Currently I installed mailman under an account callled wheakory and now 
>I want to configure Mailman under mailmgmt.  Would the following 
>procedure work:
>
>First shutdown mailman
>change ownership or group with:  find . -user wheakory -exec chown 
>mailmgmt {} \; find . -group wheakory -exec chgrp mailmgmt {} \;
>Login as mailmgmt
>cd to mailman-2.1.9
>./configure (with our current parameters set)
>make install
>start mailman


Normally, changing the group shouldn't be required as the group should
be 'mailman' (or whatever the mailman user is) on virtually everything.

Also, it wouldn't hurt to run bin/check_perms (and if necessary,
'bin/check_perms -f' as root) between 'make install' and start mailman.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] [Fwd: archive emails are garbled]

2006-09-15 Thread Justin Zygmont
Is one of the other lists a better place to ask this?


 Original Message 
Subject: archive emails are garbled
Date: Thu, 14 Sep 2006 13:38:57 -0700
From: Justin Zygmont <[EMAIL PROTECTED]>
To: mailman-users@python.org

I have a noticed a problem with emails stored in the list archives if
they have been uuencoded.  When HTML emails are distributed to all the
list members they just show the raw HTML code, so I used uuencode and it
fixed that, but when I take a look at the message in the archives it
looks mostly garbled.  Here's an example:

begin 644 AgentCommissions.html
M/"%$3T-465!%($A434P at 4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#0N,#$@
M5')A;G-I=&EO;F%L+R]%3B(^#0H\:'1M;#X-"CQH96%D/@T*/'1I=&QE/D-I
M='EF;VYE($-O;6UIR!F;VYT+69A;6EL>3H at 07)I
M86P[(&9O;G0M'0@
M(" @('L at 9F]N="UF86UI;'DZ($%R:6%L.R!F;VYT+7-I>F4Z(#$T<'[EMAIL PROTECTED]


Anyone know if there is a better way to deal with this?


--
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=show&file=faq01.027.htp


Re: [Mailman-Users] [Fwd: archive emails are garbled]

2006-09-15 Thread Mark Sapiro
Justin Zygmont wrote:

>Is one of the other lists a better place to ask this?

Probably not. Did you see the reply to your original post at
?

-- 
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=show&file=faq01.027.htp