Skip to Content.
Sympa Menu

en - [sympa-users] XML Input File Format again

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Redmond Militante <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] XML Input File Format again
  • Date: Tue, 2 Jan 2007 17:29:19 -0600


We are creating lists with the command
/home/sympa/bin/sympa.pl -create_list $list_name -input_file $list_name.xml

$list_name.xml looks like

<?xml version="1.0" ?>
<list>
<listname>$list_name</listname>
<type>generic-list2</type>
<visibility>secret</visibility>
<include_list>other</include_list>
<review>owner</review>
<anonymous_sender>"Alvin the
Great"&lt;test\@donotspamme.com&gt;</anonymous_sender>
<reply_to_header>
<value>other_email</value>
<other_email>test\@gmail.com</other_email>
<apply>respect</apply>
</reply_to_header>
<web_archive>
<access>private</access>
</web_archive>
<serial>24</serial>
<subject>$list_name</subject>
<subscribe>owner</subscribe>
<add>owner</add>
<send>newsletterkeyonly</send>
<status>open</status>
<shared_doc>
<d_edit>private</d_edit>
<d_read>private</d_read>
</shared_doc>
<user_data_source>include</user_data_source>
<clean_delay_queuemod>15</clean_delay_queuemod>
<available_user_options>reception
digest,digestplain,html,mail,nomail,not_me,notice,summary,txt,urlize</available_user_options>

<rfc2369_header_fields>archive,help,owner,post,subscribe,unsubscribe</rfc2369_header_fields>
<info>private</info>
<owner multiple="1">
<reception>mail</reception>
<profile>privileged</profile>
<email>test\@uchicago.edu</email>
</owner>
<owner multiple="1">
<reception>mail</reception>
<profile>privileged</profile>
<email>test2\@uchicago.edu</email>
</owner>
<owner multiple="1">
<reception>mail</reception>
<profile>privileged</profile>
<email>$requestor_address</email>
</owner>
<archive>
<period>month</period>
<access>owner</access>
</archive>
<unsubscribe>closed</unsubscribe>
<topics>computing</topics>
<digest>5 20:56</digest>
<shared_read>editor</shared_read>
<custom_subject></custom_subject>
<language>us</language>
</list>

This works, except it looks like anonymous_sender, reply_to_header, and
include_list are not being set.

Are we doing something wrong? The config.tt2 for generic_list2 looks like
subject [% subject %]

status [% status %]

[% IF topics -%]
topics [% topics %]
[% END %]

visibility secret

send newsletterkeyonly

info private

web_archive
access private

archive
period month
access owner

clean_delay_queuemod 15

reply_to_header
value list

subscribe owner

unsubscribe open,notify

review owner

invite default

custom_subject

digest 5 20:56

[% FOREACH o = owner -%]
owner
email [% o.email %]
profile privileged
[% IF o.gecos -%]
gecos [% o.gecos %]
[% END %]

[% END %]

[% IF editor -%]
[% FOREACH e = editor -%]
editor
email [% e.email %]

[% END %]
[% END %]

shared_doc
d_edit private
d_read private

creation
date [% creation.date %]
date_epoch [% creation.date_epoch %]
[% IF creation_email -%]
email [% creation_email %]
[% END %]

serial 0


Thanks,
Redmond

--
Redmond Militante / NSIT / The University of Chicago
PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>



Archive powered by MHonArc 2.6.19+.

Top of Page