Philip M. White wrote:
>
>I think there is confusion here.  Originally, my virtuals file looks
>like:
>[EMAIL PROTECTED]              cs1234


Yes, I didn't look carefully enough at the code the first time. I see
it now.

The only way to fix this so the entries look like

[EMAIL PROTECTED]              [EMAIL PROTECTED]

is to patch Mailman/MTA/Postfix.py similarly to:

--- Postfix.py  2003-03-31 13:49:43.000000000 -0800
+++ localPostfix.py     2005-10-14 11:09:02.468750000 -0700
@@ -146,8 +146,9 @@
     # Now add all the standard alias entries
     for k, v in makealiases(listname):
         fqdnaddr = '[EMAIL PROTECTED]' % (k, hostname)
+        localaddr = '[EMAIL PROTECTED]' % k
         # Format the text file nicely
-        print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), k
+        print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr
     # Finish the text file stanza
     print >> fp, '# STANZA END:', listname
     print >> fp

As I said in my previous post:

> You can do this 'cleanly' by storing the modified version as (e.g.)
> Mailman/MTA/localPostfix.py and then putting MTA = 'localPostfix' in
> mm_cfg.py. In this way, your modified version will not be overwritten
> when Mailman is upgraded.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
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&amp;file=faq01.027.htp

Reply via email to