[Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS

2008-01-19 Thread Andrew Oakley
I'm trying to set up a list [EMAIL PROTECTED], but I want the web
interface to appear at http://sub.domain.com/mailman/ I have set
POSTFIX_STYLE_VIRTUAL_DOMAINS = [domain.com] in my mm_cfg.py, but I
can't spot a way to set the web interface location.

With the current setup http://sub.domain.com/mailman/... does show the
interface, but all the links in it point to http://domain.com/mailman/

Any ideas would be appreciated.

As a side note, the mailman guide doesn't seem to say that the
virtual-mailman file isn't created until you have a list set up, which
was somewhat confusing.

Cheers,
Andrew Oakley
--
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] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS

2008-01-19 Thread Andrew Oakley
Never mind, I've fixed it.  It seems you need to run:
newlist --urlhost=sub.domain.com --emailhost=domain.com list-name
when you create the list and it works.

Seems this option isn't available in the web interface though.

Andrew Oakley wrote:
 I'm trying to set up a list [EMAIL PROTECTED], but I want the web
 interface to appear at http://sub.domain.com/mailman/ I have set
 POSTFIX_STYLE_VIRTUAL_DOMAINS = [domain.com] in my mm_cfg.py, but I
 can't spot a way to set the web interface location.
 
 With the current setup http://sub.domain.com/mailman/... does show the
 interface, but all the links in it point to http://domain.com/mailman/
 
 Any ideas would be appreciated.
 
 As a side note, the mailman guide doesn't seem to say that the
 virtual-mailman file isn't created until you have a list set up, which
 was somewhat confusing.
 
 Cheers,
   Andrew Oakley
 --
 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/andrew%40ado.is-a-geek.net
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
--
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] translate strings, not whole templates

2008-01-19 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jan 19, 2008, at 1:51 AM, [EMAIL PROTECTED] wrote:

 What you currently have now is each translator not only responsible
 for translating message strings -- but also faithfully reproducing the
 whole HTML structure of the English version -- intact.

 E.g., we run a random template through a HTML validator and see
 end tag for TABLE omitted, but its declaration does not permit this
 start tag was here
 end tag for CENTER omitted, but its declaration does not permit this
 start tag was here
 end tag for element CENTER which is not open
 end tag for element TD which is not open
 end tag for element TR which is not open
 end tag for element TABLE which is not open

 Which means it is just lucky if the page displays as you intend it.

 Also we see there even is the bin/transcheck command, to measure
 aspects of the seriousness of the problem.

 So I would advise before calling for help translating, first relieve
 each translator from the task of keeping the HTML house of cards
 intact. Don't require them also to be a HTML expert. Just use one
 English template, and substitute strings into that.
 Site customization of any page of course would still be possible.

This thread should move to mailman-developers, but here's my take on  
things.  First, we completely agree with you. :)

The plan is to adopt a new templating system for Mailman 2.2 and 3.0.   
We'll use the same one for both, the main difference between that  
Mailman 2.2 intends to /only/ update the web u/i while Mailman 3 is a  
fairly significant redesign intended to back Mailman with an object- 
relational mapper tied to a relational database.

There are many Python-based templating systems out there.  The primary  
requirement for Mailman 3 is good i18n support so that we can do  
exactly what you describe.  I want to be able to write the templates  
once for all languages, do source string extraction and merge that  
into the standard catalogs, then use the normal translation services  
to render language-specific web pages.  We have not made a decision on  
which templating system to use yet.

If you're interesting in helping out with this effort, please join  
mailman-developers.

- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHkhj32YZpQepbvXERAi8tAJ9xwO3BSvuh1aTSY/zibkD9rbSThQCfcAS+
PQifEmXz25TEQd6x0RHa8+g=
=WmJV
-END PGP 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] mass subscribe

2008-01-19 Thread Khalil Abbas

 
hi, 
 
I have a dedicated server with cent-OS .. I access my mailman using:
 
http://www.mydoman.com/mailman/admin/listname
 
based on the message below, a nice fellow answered my questions by: 
path-to-mailman/bin/
 
now I browsed my server using SSH but couldn't find the path to mailman 
anywhere, I automatically installed it using the control panel of my server.. 
but I don't know where I can find the path to mailman and the bin directory in 
it to run the commands! could anyone please help me?
 
here's my previous message and the answer of the nice guy:
 
 dear mailman guys,  2 things ..  1- is there a way to mass-subscribe 
 users through sending a command by email to the list without the 
 administritive interface? because I keep getting an 'Internal server error' 
 message
  2- I've been trying to get a list of users to my email using the 'who 
  password' command.. but it keeps giving me only 2500 addresses instead of 
  the 75000+ emails in my list .. what to do about it?  your help is highly 
  appreciated ..  /path-to-mailman/bin/sync_members [options] -f filename 
  listname /path-to-mailman/bin/list_members listname
 
 
 
_
Need to know the score, the latest news, or you need your HotmailĀ®-get your 
fix.
http://www.msnmobilefix.com/Default.aspx
--
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] mass subscribe

2008-01-19 Thread Todd Zullinger
Khalil Abbas wrote:
 I have a dedicated server with cent-OS .. I access my mailman using:
 
 http://www.mydoman.com/mailman/admin/listname
 
 based on the message below, a nice fellow answered my questions by:
 path-to-mailman/bin/
 
 now I browsed my server using SSH but couldn't find the path to
 mailman anywhere, I automatically installed it using the control
 panel of my server.. but I don't know where I can find the path to
 mailman and the bin directory in it to run the commands! could
 anyone please help me?

You could find where mailman is installed in various ways, depending
on how your control panel installed it.  Some options you have
include:

- use the locate or find commands to search for sync-members
- use rpm to query for the list of files in the mailman package (if
  your control panel installed mailman via an rpm
- try ~mailman/bin, as the bin dir is typically in the mailman users
  home directory

There are surely other ways to find this.  In the end, you really need
to be more familiar with your OS and how the software on it is
installed.

-- 
ToddOpenPGP - KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~
The race for quality has no finish line- so technically, it's more
like a death march. 
-- Demotivators (www.despair.com)



pgpqbiCN1eotq.pgp
Description: PGP 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=showamp;file=faq01.027.htp

[Mailman-Users] run mailman commands..

2008-01-19 Thread Khalil Abbas

hello all..
 
I have a dedicated server with CentOS installed.. I need to perform some 
mailman commands without going thru the administrative interface that doesn't 
work due to an 'internal server error' message..
 
now mailman commands are installed here:
 
/usr/lib/mailman/bin
 
for example I need to run the ' list_members listname' command but it keeps 
telling me that this is not a command.. although I logged in as 'root' not as 
the regular user name ..
 
can you please write the exact syntax that allows me to put the members of a 
list called dailymail (without the quotes)in a text file using the 
list_members command?
 
I also would really appreciate the exact syntax of the command that allows me 
to mass-subscribe the emails in a text file and adding them to same list called 
dailymail? .. and also the syntax that removes a bunch of emails in a text 
file from the list ..
 
I'm no linux programmer or something, do I need to put a certian thingy before 
each command to run? like run list_members or should I use some kind of code, 
in other words, what is the exact syntax or way that allows me to do the tasks 
above?
 
thanks a million..
 
 
_
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/
--
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] run mailman commands..

2008-01-19 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/19/2008 01:11 PM, Khalil Abbas wrote:
| hello all..
|
| I have a dedicated server with CentOS installed.. I need to perform
some mailman commands without going thru the administrative interface
that doesn't work due to an 'internal server error' message..
|
| now mailman commands are installed here:
|
| /usr/lib/mailman/bin
|
| for example I need to run the ' list_members listname' command but it
keeps telling me that this is not a command.. although I logged in as
'root' not as the regular user name ..
|
| can you please write the exact syntax that allows me to put the
members of a list called dailymail (without the quotes)in a text file
using the list_members command?
|
| I also would really appreciate the exact syntax of the command that
allows me to mass-subscribe the emails in a text file and adding them to
same list called dailymail? .. and also the syntax that removes a
bunch of emails in a text file from the list ..
|

I prefer to use sync_members rather than remove_members and add_members.
~ With sync_members you need only keep the list of who should be on the
list.  When you run it, mailman will remove those currently on the list
who are not in your file and add those from the file who are not on the
list.  This works well when using a separate system to keep track of
subscriptions or generating your subscription list from some other database.

In this example, you'd create a file called dailylist-members.txt that
contains the list of email addresses that should be on the list.

I'd recommend the following command:

~   /usr/lib/mailman/bin/sync_members -g=no -w=no -a=no -f
dailymail-members.txt dailymail



For full usage info, use /usr/lib/mailman/bin/sync_members -h


- --

~  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHklJUeERILVgMyvARArS2AJ9O0ubev5PGuWqK7sKURvw4AFQVzACfei+t
sgXGYzJgPn39tgf9zmurVes=
=8ma+
-END PGP 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS

2008-01-19 Thread Mark Sapiro
Andrew Oakley wrote:
 Never mind, I've fixed it.  It seems you need to run:
 newlist --urlhost=sub.domain.com --emailhost=domain.com list-name
 when you create the list and it works.


What you really want is

DEFAULT_URL_HOST = 'sub.domain.com'
DEFAULT_EMAIL_HOST = 'domain.com'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

in mm_cfg.py. This will remove whatever was added by the
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in Defaults.py and
set the correct defaults for list creation.

-- 
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] translate strings, not whole templates

2008-01-19 Thread jidanni
BW If you're interesting in helping out with this effort, please join
BW mailman-developers.
Unfortunately all the development I can do (on Dreamhost) is pasting
into the edithtml.cgi window, and no matter how much I do I still
can't remove imbalanced tags from parts of mailman I have no access
to. So all I can say is is it is not good to have 13 buttons on one
language's template, and 24 on another, and it is not good to send
forth electric blender output style HTML tags options which don't
match Wilbur or other known versions. I mean maybe a script kiddie
will take advantage of the highly invalid HTML you fellows are pumping
into the world. So my contribution for 2008 is: remember to validate.
--
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