[Mailman-Users] Mailman-Users Digest, Vol 53, Issue 48

t292f-misc2 at yahoo.com t292f-misc2 at yahoo.com
Sat Jul 19 18:58:43 CEST 2008


I am still asked to moderate requests even though moderation was turned off in Privacy > Sender.  

Any suggestion?

mailman-users-request at python.org wrote: Send Mailman-Users mailing list submissions to
 mailman-users at python.org

To subscribe or unsubscribe via the World Wide Web, visit
 http://mail.python.org/mailman/listinfo/mailman-users
or, via email, send a message with subject or body 'help' to
 mailman-users-request at python.org

You can reach the person managing the list at
 mailman-users-owner at python.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mailman-Users digest..."
Today's Topics:

   1. Re: still virtual domain (Mark Sapiro)
   2. Re: Renaming lists - how to change the list "real_name"
      afterwards (Mark Sapiro)
   3. including text in msg_header from external files (Maciej Homziuk)
   4. Re: including text in msg_header from external files (Mark Sapiro)
   5. Re: Renaming lists - how to change the list "real_name"
      afterwards (Terri Oda)
   6. Re: list archives (Michael Welch)
   7. Re: Mailman and virtual mailhosting (postfix) (Jens Meyer)
From: Mark Sapiro <mark at msapiro.net>
CC: Mailman-Users at python.org
To: Dony Tata <dony1985.0729 at yahoo.co.id>
Date: Fri, 18 Jul 2008 10:48:56 -0700
Subject: Re: [Mailman-Users] still virtual domain

 Dony Tata wrote:
> how to configure virtual domain with tutorial in http://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html, 
> 
> Here's an example.  Say that Postfix is configured to handle the virtual
> domains dom1.ain, dom2.ain, and dom3.ain, and further
> that in your main.cf file you've got the following settings: 
>     myhostname = mail.dom1.ain
>     mydomain = dom1.ain
>     mydestination = $myhostname, localhost.$mydomain
>     virtual_alias_maps =
>         hash:/some/path/to/virtual-dom1,
>         hash:/some/path/to/virtual-dom2,
>         hash:/some/path/to/virtual-dom3
> 
> If in your virtual-dom1 file, you've got the following lines: 
>     dom1.ain  IGNORE
>     @dom1.ain @mail.dom1.ain
> How to make file virtual-dom2 and virtual-dom3 ?


Except for the subject this is exactly the same thing you posted less 
than 11 hours previously. My answer at 
 
still applies.

As far as the virtual-dom2 and virtual-dom3 files in this example are 
concerned, like the virtual-dom1 file, they would be pre-existing files 
in your Postfix installation before integration with Mailman.

If you won't tell us what your configuration is and what you want to do, 
we can't help you.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From: Mark Sapiro <mark at msapiro.net>
CC: mailman-users at python.org
To: aidan at wemail.info
Date: Fri, 18 Jul 2008 10:56:39 -0700
Subject: Re: [Mailman-Users] Renaming lists - how to change the
 list "real_name" afterwards

 Aidan C A Hopkins wrote:
> 
> Thanks very much - this did the trick, with one exception - the archives 
> are still bearing the old name. Presumably this just needs a rebuild as 
> mentioned somewhere in the FAQ which I used yesterday. 


Some of the archive pages like the TOC and the current month's index 
will be regenerated with the new name, but most of the pages are static 
at this point, so yes, a rebuild of the archive is required to fix them.


> Perhaps your instructions need adding to the FAQ?!


Except I have no idea why you weren't able to change the name via the 
General Options page. I did it myself in my 2.1.11 installation to be 
sure it worked, and it did.

Is your Mailman a package? What version?

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From: Maciej Homziuk <maciej.homziuk at deutsche-versicherungsboerse.de>
To: mailman-users at python.org
Date: Fri, 18 Jul 2008 20:35:51 +0200
Subject: [Mailman-Users] including text in msg_header from external files

 Hi,

I have got the following problem: I would like use my own application to 
manage the headers in the e-mails that are being postet over my mailing 
list. My application saves txt file on my server and I would like 
mailman to load the content of that file and put it into the header.

Is there any way to do this?

best regards

M. Homziuk


From: Mark Sapiro <mark at msapiro.net>
CC: mailman-users at python.org
To: Maciej Homziuk <maciej.homziuk at deutsche-versicherungsboerse.de>
Date: Fri, 18 Jul 2008 12:14:44 -0700
Subject: Re: [Mailman-Users] including text in msg_header from external files

 Maciej Homziuk wrote:
> 
> I have got the following problem: I would like use my own application to 
> manage the headers in the e-mails that are being postet over my mailing 
> list. My application saves txt file on my server and I would like 
> mailman to load the content of that file and put it into the header.
> 
> Is there any way to do this?

How dynamic is this content. If it doesn't change often, you could 
consider wrapping it between

msg_header = """

and

"""

So the whole file looks like

msg_header = """Line 1
Line 2
etc.
"""

and then run

bin/config_list -i /path/to/file listname

to update the list.

You could also modify Mailman/Handlers/Decorate.py to read the header 
from a file. To make it somewhat general, you could modify the 
decorate() function to look at the template argument and if it begins 
with a '/' consider it to be a path to a file containing the text. This 
would then work for messages and digests and headers and footers.

-- 
Mark Sapiro         The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From: Terri Oda <terri at zone12.com>
CC: mailman-users at python.org
To: aidan at wemail.info
Date: Fri, 18 Jul 2008 21:43:59 -0400
Subject: Re: [Mailman-Users] Renaming lists - how to change the list
 "real_name" afterwards

 On 18-Jul-08, at 12:52 PM, Aidan C A Hopkins wrote:
> Thanks very much - this did the trick, with one exception - the  
> archives
> are still bearing the old name. Presumably this just needs a  
> rebuild as
> mentioned somewhere in the FAQ which I used yesterday.
>
> Perhaps your instructions need adding to the FAQ?!

The wiki can be edited by anyone, so please go ahead and do that Aidan!

  Terri


From: Michael Welch <mwelch at redwoodalliance.org>
To: mailman-users at python.org
Date: Fri, 18 Jul 2008 20:56:37 -0700
Subject: Re: [Mailman-Users] list archives

 

Mark Sapiro wrote at 10:14 AM 7/17/2008:
 
>>More importantly, how does one search the mailman archives looking
>>for all posts that contain particular text?
>
>
>See .

I was pleased to see that the DreamHost implementation of the Mailman archives includes htdig, which seems to be a nice little search facility. 

- - - - - - - - - - - -
Michael Welch, volunteer
Redwood Alliance
PO Box 293
Arcata, CA 95518
707-822-7884
mwelch at redwoodalliance.org
www.redwoodalliance.org


From: Jens Meyer <jm2 at jensmeyer.de>
CC: mailman-users at python.org
To: Mark Sapiro <mark at msapiro.net>
Date: Sat, 19 Jul 2008 09:29:54 +0200
Subject: Re: [Mailman-Users] Mailman and virtual mailhosting (postfix)

 Dear Mark, hello all!

Thank you very much for your detailed reply to my request from June. 
Your help is greatly appreciated - but unfortunately I had no time to 
check this out until now due to work-overload and holidays.

My system accepts mails for listname at lists.myserver.de without problems. 
The only problem is that I can not use the internal redirection from 
mailman to listname at myserver.de without (internal) postfix-warnings 
because the domain myserver.de is used by the virtual mailhosting also 
(see my last post).

So one solution would be to "ask" mailman to redirect all emails not to 
listname at myserver.de but to listname at MAIL.myserver.de.

Do you think this is possible or is there another solution for my problem?

Kind regards,

       Jens

Mark Sapiro schrieb:
> Jens Meyer wrote:
>> Our postfix-mailserver hosts several domains (virtual mailhosting, 
>> postfix/mysql) and "mailman".
>>
>> The "primary domain" myserver.de is a virtualized domain also. So this 
>> domain is not listed in mydestination:
>> -->
>> myhostname = mail.myserver.de
>> mydomain   = myserver.de
>> myorigin   = $mydomain
>>
>> mydestination = $myhostname, localhost
>> <--
>>
>> As far as I understand mailman forwards all emails to the "primary 
>> domain" (mydomain) and mailman is only working if I add $mydomain to 
>> mydestination.
> 
> 
> This is the assumption of Mailman/Postfix integration.
> 
> 
>> But when doing this there are warnings from postfix that it is not 
>> allowed to list the domain in the virtual aliases (mysql-database) and 
>> in relay_domains.
>>
>> Is there any possiblity to configure mailman to forward the emails in 
>> ./data/virtual-mailman not to "testliste2 at myserver.de" but to 
>> "testliste2 at mail.myserver.de"?
>>
>> My actual config is:
>> -->
>> DEFAULT_EMAIL_HOST = 'mail.myserver.de'
>> DEFAULT_URL_HOST = 'lists.myserver.de'
>> DEFAULT_URL_PATTERN = 'http://%s/mailman/'
>>
>> MTA = 'Postfix'
>> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.myserver.de']
>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>> <--
> 
> 
> I don't understand your configuration. The above Mailman config items
> say that lists.myserver.de is a postfix virtual domain and that
> Mailman lists whose host_name is lists.myserver.de will get
> virtual_mailman entries of the form
> 
> testliste2 at lists.myserver.de   testliste2
> 
> (i.e. map the virtual domain address 'testliste2 at lists.myserver.de' to
> local name 'testliste2' where it will be handled by the 'testliste2:'
> entry in aliases).  However, your setting of DEFAULT_EMAIL_HOST =
> 'mail.myserver.de' says lists will be created with a host_name of
> 'mail.myserver.de', so no virtual_mailman entries will be created at
> all.
> 
> Something is clearly wrong. From your description, I think if you change
> 
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.myserver.de']
> 
> to
> 
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.myserver.de']
> 
> And run Mailman's bin/genaliases, you will get what you want. I.e., you
> will get virtual_mailman with entries like
> 
> testliste2 at mail.myserver.de   testliste2
> 
> which will map the virtual domain list address
> 'testliste2 at mail.myserver.de[' to the local name 'testliste2' which
> will be delivered to Mailman according to the 'testliste2' alias in
> Mailman's data/aliases.
> 


------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at 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/


More information about the Mailman-Users mailing list