[Mailman-Users] control delivery processes

DongInn Kim dikim at cs.indiana.edu
Tue Mar 4 01:46:13 CET 2014


Can anyone please help me to debug the syntax error in mm_cfg.py?

ompi_list = [ 'test-crest', 'osl-test' ]
if listname in ompi_list:
    archive_url = ("http://www.open-mpi.org/community/lists/devel/%s/date.php" % (time.strftime("%Y/%m")))
    DEFAULT_MSG_FOOTER = """_______________________________________________
%(real_name)s mailing list
%(real_name)s@%(host_name)s
subscribe: %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
searchable archives: %(archive_url)s
"""  % { 'archive_url' : archive_url }


What I wanted here is to apply the new DEFAULT_MSG_FOOTER only for the specific mailing lists.
Is there something wrong here? 

Regards,

--
- DongInn



On Mar 3, 2014, at 4:59 PM, DongInn Kim <dikim at cs.indiana.edu> wrote:

> Hi Barry,
> 
> Yes, that is the normal case. We have used it that way so far.
> Lately we found that it could be useful if a new mail has a link of the new archive at the bottom of message and it seems to be tricky to implement it because the process order is the opposite.
> 
> Don’t you see any benefits of doing this?
> 
> Regards,
> 
> --
> - DongInn
> 
> 
> 
> On Mar 3, 2014, at 4:51 PM, Barry S. Finkel <bsfinkel at att.net> wrote:
> 
>> On 3/3/2014 3:25 PM, DongInn Kim wrote:
>>> Hi,
>>> 
>>> Is there a way to send a mail after it is archived and then add the archive link to the new mail?
>>> 
>>> Currently it seems to be pretty difficult to implement this because all the new mails are delivered first and then mail archives are generated.
>>> 
>>> As long as I know how mailman sends a mail, I think I can play a little bit further.
>>> 
>>> Can anyone please help me out?
>>> 
>>> Regards,
>>> 
>>> --
>>> - DongInn
>> 
>> 
>> It is unclear to me exactly what you want to do.  If the list has
>> an archive, then after the posting is processed, that posting
>> appears in the archives, where people can search and view the
>> posting (assuming that they present the correct credentials,
>> if required).
>> 
>> Once a mail message has been sent and it is in the archives, then
>> any subsequent mail message can include the URL to the archived
>> message as a reference.
>> 
>> --Barry Finkel
>> ------------------------------------------------------
>> Mailman-Users mailing list Mailman-Users at python.org
>> https://mail.python.org/mailman/listinfo/mailman-users
>> Mailman FAQ: http://wiki.list.org/x/AgA3
>> Security Policy: http://wiki.list.org/x/QIA9
>> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>> Unsubscribe: https://mail.python.org/mailman/options/mailman-users/dikim%40cs.indiana.edu
> 



More information about the Mailman-Users mailing list