[EMAIL PROTECTED] wrote:
>>   
>Hmm..  It would be easy to write a little script to edit the tables 
>mailman makes to be right but I don`t know how I would get mailman to 
>call my script instead of (is it postmap?)...?  I was looking through 
>the mailman source for a call to postmap but could not find one, I guess 
>I would have to search a little deeper.  Or is it something else?  I 
>will have a look at Mailman/MTA/Postfix.py and see whats there.  Thanks!


Mailman (actually, Mailman/MTA/Postfix.py) calls the commands (with
defaults)

POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'

after updating aliases and virtual-mailman. You can override thes in
mm_cfg.py to, e.g., invoke a script which does some edits and then
calls the command. This would avoid maintaining patches to
Mailman/MTA/Postfix.py.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        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&amp;file=faq01.027.htp

Reply via email to