Re: [Mailman-Users] configuring sender account so that mail only getsdelivered to archive

2008-04-28 Thread bergenpeak
Thanks for the pointer.  

So I'm thinking about doing the " bin/config_list -i input_file test-list" to 
define a custom pipeline for the lists that I'd like this archive only behavior.

I've created a file called "input_file" that contains the "GLOBAL_PIPELINE = [" 
and ends with "'ToOutgoing', ]"

Questions:

1) Do I need to start this file with any "import" info, etc or is extracting 
the above from Defaults.py and nothing else suffient?

2) Suggestions on where in this pipeline I add in this special Handler?   
Should I define the new handler just before "ToOutgoing"?   (I'm assuming the 
"ToOutgoing" is the mechanism that actually causes the mail to be sent to the 
distro)

3) Is there an existing handler I can pattern match off that shows how to match 
info in the "from" field?

4) If I understand the pipelining, it seems as if this new handler just needs 
to match on the sender and then tell mailman to stop processing in the pipeline 
because the archiving happens above in the pipeline with the ToArchive.py 
handler.   In the new handler, what value should be returned to say that no 
further processing should be performed?

5) It seems I could just muck with the existing ToArchive.py to see if the mail 
is from this one sender and just return a "don't process further values" and 
not bother a new handler and tweaking the per list pipeline configs.   Thoughts?

Thanks



-- Original message -- 
From: Mark Sapiro <[EMAIL PROTECTED]> 

> [EMAIL PROTECTED] wrote: 
> 
> >Is there a way to configure a mail man distro so that when mail comes in 
> >from a 
> specific user, the mail is accepted and put into the archive but this mail 
> does 
> not get sent to the actual distro? 
> 
> 
> Only with something like a custom handler 
> . 
> 
> -- 
> Mark Sapiro The highway is for gamblers, 
> San Francisco Bay Area, California better 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] configuring sender account so that mail only getsdelivered to archive

2008-04-28 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

>Is there a way to configure a mail man distro so that when mail comes in from 
>a specific user, the mail is accepted and put into the archive but this mail 
>does not get sent to the actual distro?


Only with something like a custom handler
.

-- 
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] configuring sender account so that mail only gets delivered to archive

2008-04-28 Thread bergenpeak
Is there a way to configure a mail man distro so that when mail comes in from a 
specific user, the mail is accepted and put into the archive but this mail does 
not get sent to the actual distro?

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

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


Re: [Mailman-Users] Incorrect Hostname Appearing in mailto address

2008-04-28 Thread
Correct - thanks for the info.

The issue is that my corporate host naming standards dictate that
hostnames must never, ever make any sense when you first read them.
Logical names for hosts are relegated to CNAME status.

Thanks again.

Regards,
Mike

-Original Message-
From: Brad Knowles [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 28, 2008 1:52 PM
To: Lynn, Michael (A&E)
Cc: Mailman-Users@python.org
Subject: Re: [Mailman-Users] Incorrect Hostname Appearing in mailto
address


Lynn, Michael (A&E) wrote:

> Let's call the host's primary DNS entry "uglyhostname" and we'll call
> the desired hostname alias for mailman "lists".

And you set up "lists" to be a CNAME alias record pointing to 
"uglyhostname", right?  Well, don't do that.

Make sure that "lists" resolves directly to the correct IP address, and
that 
the reverse DNS for that IP address also points back to "lists" as well
as 
"uglyhostname".


Search the archives for "CNAME" if you need more details as to why this
is 
the case.  There might also be a FAQ Wizard entry on this subject.

-- 
Brad Knowles <[EMAIL PROTECTED]>
LinkedIn Profile: 


This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.

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

2008-04-28 Thread Mark Sapiro
Carlos Williams wrote:
>
>I have built a new email server on my LAN and would like to move over
>my Mailman content including archives over to my new email server and
>was wondering if this is a common procedure / task? I am moving from a
>RHEL4 to a RHEL5 server so not much is really too different in regards
>to location and files. Is there a guide or write up the Mailman
>community recommend I follow to perform this task?


See

and the links in the Note: in the 3rd paragraph.

-- 
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] Incorrect Hostname Appearing in mailto address

2008-04-28 Thread Brad Knowles

Lynn, Michael (A&E) wrote:


Let's call the host's primary DNS entry "uglyhostname" and we'll call
the desired hostname alias for mailman "lists".


And you set up "lists" to be a CNAME alias record pointing to 
"uglyhostname", right?  Well, don't do that.


Make sure that "lists" resolves directly to the correct IP address, and that 
the reverse DNS for that IP address also points back to "lists" as well as 
"uglyhostname".



Search the archives for "CNAME" if you need more details as to why this is 
the case.  There might also be a FAQ Wizard entry on this subject.


--
Brad Knowles <[EMAIL PROTECTED]>
LinkedIn Profile: 
--
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] Incorrect Hostname Appearing in mailto address

2008-04-28 Thread Mark Sapiro
Lynn, Michael \(A&E\) wrote:
>
>Mails sent to the list appear with the wrong hostname in the TO: field
>of the email.

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


Re: [Mailman-Users] Handling Attachments and More

2008-04-28 Thread Mark Sapiro
David Andrews wrote:

>I have a Sun Cobalt RAQ550 with Mailman 2.1.8 installed, and running 
>about 120 lists.  We were having problems with the setup handling 
>multi-part messages that contained text and html -- some mail 
>programs reproduced stuff twice etc.  Also we need to pass attachments.
>
>On the advice of someone I made some changes, content filtering 
>settings below, and while the multi-part thing is a little better, it 
>only passes text attachments.  Need to pass .doc etc.
>
>I am obviously not an expert in this stuff, or I wouldn't be 
>bothering all of you.  Any suggestions would be appreciated.


Your copy/paste of the web page is missing some information, namely,
which radio buttons are selected.


>Should Mailman filter the content of list traffic according to the 
>settings below? 
[...]
>No Yes

I assume this is Yes


>Remove message attachments that have a matching content type. 
[...]
>text/html


Generally, you don't want entries in both filter_mime_types and
pass_mime_types, since if you have anything in pass_mime_types,
everything else will be filtered whether it's here or not.


>Remove message attachments that don't have a matching content type. 
[...]
>multipart/alternative message/rfc822 text/plain


So you are accepting only elemental text/plain messages and text/plain
parts from multipart/alternative parts. This drops everything that
isn't text/plain and also drops text/plain subparts from other
multipart types.

For example, if you have a message with structure

multipart/mixed
multipart/alternative
text/plain
text/html
application/msword

which is a common structure for a message with an attached ms-word
file, you delete everything because you don't accept multipart/mixed.


What you probably want here is something like

multipart
message/rfc822
text/plain
application/msword
application/pdf
(etc.)


>Remove message attachments that have a matching filename extension. 
[...]
>exe bat cmd com pif scr vbs cpl

OK


[...]
>Should Mailman collapse multipart/alternative to its first part 
>content? 
[...]
>No Yes


This is probably irrelevant in most cases if you don't accept
text/html, but unless you want to actuall accept and pass say both
text/plain and text/html alternatives, set this to Yes.


>Should Mailman convert text/html parts to plain text? This conversion 
>happens after MIME attachments have been stripped. 
[...]
>No Yes


This should be Yes, only if you accept text/html, and you set
collapse_alternatives to Yes, and you want remaining html parts
converted to plain text.

-- 
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] Incorrect Hostname Appearing in mailto address

2008-04-28 Thread
This may be an issue I need to post to a sendmail list... but I'll start
here.

I have configured mailman and everything is up and working
fantastically... with one issue:

Mails sent to the list appear with the wrong hostname in the TO: field
of the email.

Let's call the host's primary DNS entry "uglyhostname" and we'll call
the desired hostname alias for mailman "lists".

A user can send mail to "lists.internal.domain.com" and it gets to the
host and is processed properly by the aliases and mailman and delivered
to the list.   However, users viewing the message see:

To: [EMAIL PROTECTED]

I have sendmail configured to masquerade as follows:
DMlists.internal.domain.com

And I've even changed the hostname on the server using
/etc/sysconfig/network
HOSTNAME=lists.internal.domain.com

Here's a snip from my mm_cfg:
--8<--
DEFAULT_URL_HOST   = 'lists.internal.domain.com'
DEFAULT_EMAIL_HOST = 'lists.internal.domain.com'

# Because we've overriden the virtual hosts above add_virtualhost
# MUST be called after they have been defined.
VIRTUAL_HOSTS.clear()
-->8--

Any ideas on how I can ensure that uglyhostname is not included in my
lists mails?

Thank you in advance.

Regards,
Mike


This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.

--
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] Mailman + Exim4

2008-04-28 Thread Mark Sapiro
Hans Gubitz wrote:
>
>I started with mailman and exim4 on Debian testing.
>
>Mail to a list arrives the server, but it is not answered.
>
>In exim4/mainlog I read:
>2008-04-28 10:00:06 1JqOHO-0003gP-UE =3D=3D |/var/lib/mailman/mail/mailman
>post administration <[EMAIL PROTECTED]>
>R=3Dsystem_aliases defer (-30): pipe_transport unset in system_aliases
>router
>
>Do you have any hints to fix exim4?


This is an Exim question, not a Mailman question, but since you are
here, if you have a more or less standard Exim configuration, you are
missing

  pipe_transport = address_pipe

from the definition of the system_aliases router.

However, with Exim, you don't need to use aliases for Mailman. See
 for instructions on setting
this up.

-- 
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] Send to select subscribers

2008-04-28 Thread Brad Knowles

John Fleming wrote:


I have a user asking if there is a way to send to selected list
subscribers?  He wants to send a message to about 100 subscribers.  I
don't think Mailman can do that from the members web page.  Any other
ideas?


Set up a topic, subscribe those users to that topic, then use the topic when 
sending out the message.  That's the only way that Mailman can address a 
subgroup, without setting up an umbrella list and various child lists.


--
Brad Knowles <[EMAIL PROTECTED]>
LinkedIn Profile: 
--
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] Mailman Migration

2008-04-28 Thread Carlos Williams
Hello all!

I have built a new email server on my LAN and would like to move over
my Mailman content including archives over to my new email server and
was wondering if this is a common procedure / task? I am moving from a
RHEL4 to a RHEL5 server so not much is really too different in regards
to location and files. Is there a guide or write up the Mailman
community recommend I follow to perform this task?

I am currently running "mailman-2.1.5.1-34.rhel4.6" on my production
server and my new server I plan to migrate to is running
"mailman-2.1.9-2".

Thanks for any assistance and tips!

Carlos
--
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] Send to select subscribers

2008-04-28 Thread Mark Sapiro
John Fleming wrote:

>I have a user asking if there is a way to send to selected list subscribers?  
>He wants to send a message to about 100 subscribers.  I don't think Mailman 
>can do that from the members web page.  Any other ideas?


He could set up a separate list, or if there are only a few
'non-recipients', he could disable their delivery, post and then
re-enable their delivery. If he didn't want the post archived, he can
supress archiving by putting an "X-No-Archive:" or an "X-Archive: no"
header in the post. It has to be a real header; a pseudo header in the
body won't work.

-- 
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] Send to select subscribers

2008-04-28 Thread John Fleming
I have a user asking if there is a way to send to selected list subscribers?  
He wants to send a message to about 100 subscribers.  I don't think Mailman can 
do that from the members web page.  Any other ideas?

Thanks!

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


[Mailman-Users] Mailman + Exim4

2008-04-28 Thread Hans Gubitz
Hallo,

I started with mailman and exim4 on Debian testing.

Mail to a list arrives the server, but it is not answered.

In exim4/mainlog I read:
2008-04-28 10:00:06 1JqOHO-0003gP-UE == |/var/lib/mailman/mail/mailman
post administration <[EMAIL PROTECTED]>
R=system_aliases defer (-30): pipe_transport unset in system_aliases
router

Do you have any hints to fix exim4?

Regards
Hans

-- 
Hans Gubitz <[EMAIL PROTECTED]>



signature.asc
Description: Digital 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=show&file=faq01.027.htp