1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
patched version by: Kenshi Muto, Debian Project.
LaTeX2HTML 2002 (1.62),
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>13. Mailing list definition</TITLE>
<META NAME="description" CONTENT="13. Mailing list definition">
<META NAME="keywords" CONTENT="sympa">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="sympa.css">
<LINK REL="next" HREF="node15.html">
<LINK REL="previous" HREF="node13.html">
<LINK REL="up" HREF="sympa.html">
<LINK REL="next" HREF="node15.html">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1008"
HREF="node15.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1002"
HREF="sympa.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html996"
HREF="node13.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1004"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<A NAME="tex2html1006"
HREF="node23.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1009"
HREF="node15.html">14. Creating and editing mailing using</A>
<B> Up:</B> <A NAME="tex2html1003"
HREF="sympa.html">Sympa Mailing Lists Management Software version</A>
<B> Previous:</B> <A NAME="tex2html997"
HREF="node13.html">12. Customizing Sympa/WWSympa</A>
  <B> <A NAME="tex2html1005"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1007"
HREF="node23.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL>
<LI><A NAME="tex2html1010"
HREF="node14.html#SECTION001410000000000000000">13.1 Mail aliases</A>
<LI><A NAME="tex2html1011"
HREF="node14.html#SECTION001420000000000000000">13.2 List configuration file</A>
<LI><A NAME="tex2html1012"
HREF="node14.html#SECTION001430000000000000000">13.3 Examples of configuration files</A>
<LI><A NAME="tex2html1013"
HREF="node14.html#SECTION001440000000000000000">13.4 Subscribers file</A>
<LI><A NAME="tex2html1014"
HREF="node14.html#SECTION001450000000000000000">13.5 Info file</A>
<LI><A NAME="tex2html1015"
HREF="node14.html#SECTION001460000000000000000">13.6 Homepage file</A>
<LI><A NAME="tex2html1016"
HREF="node14.html#SECTION001470000000000000000">13.7 List template files</A>
<UL>
<LI><A NAME="tex2html1017"
HREF="node14.html#SECTION001471000000000000000">13.7.1 welcome.tpl</A>
<LI><A NAME="tex2html1018"
HREF="node14.html#SECTION001472000000000000000">13.7.2 bye.tpl</A>
<LI><A NAME="tex2html1019"
HREF="node14.html#SECTION001473000000000000000">13.7.3 removed.tpl</A>
<LI><A NAME="tex2html1020"
HREF="node14.html#SECTION001474000000000000000">13.7.4 reject.tpl</A>
<LI><A NAME="tex2html1021"
HREF="node14.html#SECTION001475000000000000000">13.7.5 invite.tpl</A>
<LI><A NAME="tex2html1022"
HREF="node14.html#SECTION001476000000000000000">13.7.6 remind.tpl</A>
<LI><A NAME="tex2html1023"
HREF="node14.html#SECTION001477000000000000000">13.7.7 summary.tpl</A>
<LI><A NAME="tex2html1024"
HREF="node14.html#SECTION001478000000000000000">13.7.8 list_aliases.tpl</A>
</UL>
<BR>
<LI><A NAME="tex2html1025"
HREF="node14.html#SECTION001480000000000000000">13.8 Stats file</A>
<LI><A NAME="tex2html1026"
HREF="node14.html#SECTION001490000000000000000">13.9 List model files</A>
<UL>
<LI><A NAME="tex2html1027"
HREF="node14.html#SECTION001491000000000000000">13.9.1 remind.annual.task</A>
<LI><A NAME="tex2html1028"
HREF="node14.html#SECTION001492000000000000000">13.9.2 expire.annual.task</A>
</UL>
<BR>
<LI><A NAME="tex2html1029"
HREF="node14.html#SECTION0014100000000000000000">13.10 Message header and footer</A>
<UL>
<LI><A NAME="tex2html1030"
HREF="node14.html#SECTION0014101000000000000000">13.10.1 Archive directory</A>
</UL></UL>
<!--End of Table of Child-Links-->
<HR>
<H1><A NAME="SECTION001400000000000000000"></A>
<A NAME="ml-creation"></A>
<BR>
13. Mailing list definition
</H1>
<P>
This chapter describes what a mailing list is made of within Sympa environment.
<P>
<H1><A NAME="SECTION001410000000000000000"></A>
<A NAME="list-aliases"></A> <A NAME="2045"></A>
<A NAME="2046"></A>
<BR>
13.1 Mail aliases
</H1>
<P>
See list aliases section, <A HREF="node14.html#list-aliases">13.1</A>,
page <A HREF="node14.html#list-aliases"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>)
<P>
<H1><A NAME="SECTION001420000000000000000"></A>
<A NAME="exp-config"></A>
<BR>
13.2 List configuration file
</H1>
<P>
The configuration file for the <TT>mylist</TT> list is named
<A NAME="6883"></A><TT>/home/sympa/expl/my.domain.org/mylist/config</TT>
(or <A NAME="6886"></A><TT>/home/sympa/expl/mylist/config</TT> if no virtual robot is defined).
<I>Sympa</I> reads it into memory the first time the list is refered to. This file is not rewritten by
<I>Sympa</I>, so you may put comment lines in it.
It is possible to change this file when the program is running.
Changes are taken into account the next time the list is
accessed. Be careful to provide read access for <I>Sympa</I> user to this file !
<P>
You will find a few configuration files in the <A NAME="6892"></A><TT>sample</TT> directory.
<P>
List configuration parameters are described in the list creation section, <A HREF="node16.html#list-configuration-param">15</A>, page <A HREF="node16.html#list-configuration-param"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>.
<P>
<H1><A NAME="SECTION001430000000000000000">
13.3 Examples of configuration files</A>
</H1>
<P>
This first example is for a list open to everyone:
<P><PRE>
subject First example (an open list)
visibility noconceal
owner
email Pierre.David@prism.uvsq.fr
send public
review public
</PRE>
<P>
The second example is for a moderated list with authenticated subscription:
<A NAME="2062"></A>
<A NAME="2063"></A>
<P><PRE>
subject Second example (a moderated list)
visibility noconceal
owner
email moi@ici.fr
editor
email big.prof@ailleurs.edu
send editor
subscribe auth
review owner
reply_to_header
value list
cookie 142cleliste
</PRE>
<P>
The third example is for a moderated list, with subscription
controlled by the owner, and running in digest mode. Subscribers
who are in <A NAME="6895"></A>digest mode receive messages on Mondays and
Thursdays.
<P><PRE>
owner
email moi@ici.fr
editor
email prof@ailleurs.edu
send editor
subscribe owner
review owner
reply_to_header
value list
digest 1,4 12:00
</PRE>
<P>
<H1><A NAME="SECTION001440000000000000000"></A>
<A NAME="file-subscribers"></A> <A NAME="2075"></A>
<BR>
13.4 Subscribers file
</H1>
<P>
<B>Be carefull</B>: Since version 3.3.6 of <I>Sympa</I>, a RDBMS is required for internal data storage. Flat file should
not be use anymore except for testing purpose. <I>Sympa</I> require , will not use this file if the list is configured
with <TT>include</TT> or <TT>database</TT> <A NAME="6898"></A><TT>user_data_source</TT>.
<P>
The <A NAME="6901"></A><TT>/home/sympa/expl/mylist/subscribers</TT> file is automatically created and
populated. It contains information about list
subscribers. It is not advisable to edit this file. Main parameters
are:
<P>
<UL>
<LI><A NAME="6904"></A><TT>email</TT> <I>address</I>
<P>
E-mail address of subscriber.
<P>
</LI>
<LI><A NAME="6907"></A><TT>gecos</TT> <I>data</I>
<P>
Information about subscriber (last name, first name,
etc.) This parameter is optional at subscription time.
<P>
</LI>
<LI><A NAME="6910"></A><TT>reception</TT>
<TT>nomail</TT> <TT>|</TT>
<TT>digest</TT> <TT>|</TT>
<TT>summary</TT> <TT>|</TT>
<TT>notice</TT> <TT>|</TT>
<TT>txt</TT> <TT>|</TT>
<TT>html</TT> <TT>|</TT>
<TT>urlize</TT> <TT>|</TT>
<TT>not_me</TT> <TT>|</TT>
<A NAME="par-reception"></A>
<P>
Special receive modes which the subscriber may select.
Special modes can be either <I>nomail</I>, <I>digest</I>, <I>summary</I>, <I>notice</I>, <I>txt</I>,
<I>html</I>, <I>urlize</I>, <I>not_me</I> .
In normal receive mode, the receive attribute
for a subscriber is not displayed. See the <A NAME="6913"></A><TT>SET LISTNAME SUMMARY</TT> (<A HREF="node22.html#cmd-setsummary">21.1</A>,
page <A HREF="node22.html#cmd-setsummary"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>),
the <A NAME="6916"></A><TT>SET LISTNAME NOMAIL</TT> command (<A HREF="node22.html#cmd-setnomail">21.1</A>,
page <A HREF="node22.html#cmd-setnomail"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>), and the <A NAME="6919"></A><TT>digest</TT>
parameter (<A HREF="node16.html#par-digest">15.4.7</A>, page <A HREF="node16.html#par-digest"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>).
<P>
</LI>
<LI><A NAME="6922"></A><TT>visibility</TT> <TT>conceal</TT>
<A NAME="par-visibility-conceal"></A>
<P>
Special mode which allows the subscriber to remain invisible when
a <A NAME="6925"></A><TT>REVIEW</TT> command is issued for the list. If this
parameter is not declared, the subscriber will be visible
for <A NAME="6928"></A><TT>REVIEW</TT>. Note: this option does not affect
the results of a <A NAME="6931"></A><TT>REVIEW</TT> command issued by an
owner. See the <A NAME="6934"></A><TT>SET LISTNAME MAIL</TT> command (<A HREF="node22.html#cmd-setconceal">21.1</A>, page <A HREF="node22.html#cmd-setconceal"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>) for
details.
<P>
</LI>
</UL>
<P>
<H1><A NAME="SECTION001450000000000000000">
13.5 Info file</A>
</H1>
<P>
<A NAME="6937"></A><TT>/home/sympa/expl/mylist/info</TT> should contain a detailed text
description of the list, to be displayed by the <A NAME="6940"></A><TT>INFO</TT> command.
It can also be referenced from template files for service messages.
<P>
<H1><A NAME="SECTION001460000000000000000">
13.6 Homepage file</A>
</H1>
<P>
<A NAME="6943"></A><TT>/home/sympa/expl/mylist/homepage</TT> is the HTML text
on the <A NAME="6946"></A><I>WWSympa</I> info page for the list.
<P>
<H1><A NAME="SECTION001470000000000000000"></A>
<A NAME="list-tpl"></A><A NAME="2138"></A>
<BR>
13.7 List template files
</H1>
<P>
These files are used by Sympa as service messages for commands such as
<A NAME="6949"></A><TT>SUB</TT>, <A NAME="6952"></A><TT>ADD</TT>, <A NAME="6955"></A><TT>SIG</TT>, <A NAME="6958"></A><TT>DEL</TT>, <A NAME="6961"></A><TT>REJECT</TT>.
These files are interpreted (parsed) by <I>Sympa</I> and respect the template
format ; every file has the .tpl extension. See <A HREF="node13.html#tpl-format">12.1</A>,
page <A HREF="node13.html#tpl-format"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>.
<P>
Sympa looks for these files in the following order :
<OL>
<LI><A NAME="6977"></A><TT>/home/sympa/expl/mylist/<TT><</TT>file<TT>></TT>.tpl</TT>
</LI>
<LI><A NAME="6998"></A><TT>/home/sympa/etc/templates/<TT><</TT>file<TT>></TT>.tpl</TT>.
</LI>
<LI><A NAME="7019"></A><TT>/home/sympa/bin/etc/templates/<TT><</TT>file<TT>></TT>.tpl</TT>.
</LI>
</OL>
<P>
If the file starts with a From: line, it is taken to be
a full message and will be sent (after parsing) without the addition of SMTP
headers. Otherwise the file is treated as a text/plain message body.
<P>
The following variables may be used in list template files :
<P>
<DL COMPACT>
<DT>-</DT>
<DD>[conf-<TT>></TT>email] : sympa e-mail address local part
<P>
</DD>
<DT>-</DT>
<DD>[conf-<TT>></TT>domain] : sympa robot domain name
<P>
</DD>
<DT>-</DT>
<DD>[conf-<TT>></TT>sympa] : sympa's complete e-mail address
<P>
</DD>
<DT>-</DT>
<DD>[conf-<TT>></TT>wwsympa_url] : <A NAME="7028"></A><I>WWSympa</I> root URL
<P>
</DD>
<DT>-</DT>
<DD>[conf-<TT>></TT>listmaster] : listmaster e-mail addresses
<P>
</DD>
<DT>-</DT>
<DD>[list-<TT>></TT>name] : list name
<P>
</DD>
<DT>-</DT>
<DD>[list-<TT>></TT>host] : list hostname (default is sympa robot domain name)
<P>
</DD>
<DT>-</DT>
<DD>[list-<TT>></TT>lang] : list language
<P>
</DD>
<DT>-</DT>
<DD>[list-<TT>></TT>subject] : list subject
<P>
</DD>
<DT>-</DT>
<DD>[list-<TT>></TT>owner] : list owners table hash
<P>
</DD>
<DT>-</DT>
<DD>[user-<TT>></TT>email] : user e-mail address
<P>
</DD>
<DT>-</DT>
<DD>[user-<TT>></TT>gecos] : user gecos field (usually his/her name)
<P>
</DD>
<DT>-</DT>
<DD>[user-<TT>></TT>password] : user password
<P>
</DD>
<DT>-</DT>
<DD>[user-<TT>></TT>lang] : user language
<P>
</DD>
<DT>-</DT>
<DD>[execution_date] : the date when the scenario is executed
</DD>
</DL>
<P>
You may also dynamically include a file from a template using the
[INCLUDE] directive.
<P>
<I>Example:</I>
<P><PRE>
Dear [user->email],
Welcome to list [list->name]@[list->host].
Presentation of the list :
[INCLUDE 'info']
The owners of [list->name] are :
[FOREACH ow IN list->owner]
[ow->gecos] <[ow->email]>
[END]
</PRE>
<P>
<H2><A NAME="SECTION001471000000000000000">
13.7.1 welcome.tpl</A>
</H2>
<P>
<I>Sympa</I> will send a welcome message for every subscription. The welcome
message can be customized for each list.
<P>
<H2><A NAME="SECTION001472000000000000000">
13.7.2 bye.tpl</A>
</H2>
<P>
Sympa will send a farewell message for each SIGNOFF
mail command received.
<P>
<H2><A NAME="SECTION001473000000000000000">
13.7.3 removed.tpl</A>
</H2>
<P>
This message is sent to users who have been deleted (using the <A NAME="7032"></A><TT>DELETE</TT>
command) from the list by the list owner.
<P>
<H2><A NAME="SECTION001474000000000000000">
13.7.4 reject.tpl</A>
</H2>
<P>
<I>Sympa</I> will send a reject message to the senders of messages rejected
by the list editor. If the editor prefixes her <A NAME="7036"></A><TT>REJECT</TT> with the
keyword QUIET, the reject message will not be sent.
<P>
<H2><A NAME="SECTION001475000000000000000">
13.7.5 invite.tpl</A>
</H2>
<P>
This message is sent to users who have been invited (using the <A NAME="7039"></A><TT>INVITE</TT>
command) to subscribe to a list.
<P>
You may use additional variables
<DL COMPACT>
<DT>-</DT>
<DD>[requested_by] : e-mail of the person who sent the
<A NAME="7042"></A><TT>INVITE</TT> command
<P>
</DD>
<DT>-</DT>
<DD>[url] : the mailto: URL to subscribe to the list
<P>
</DD>
</DL>
<P>
<H2><A NAME="SECTION001476000000000000000">
13.7.6 remind.tpl</A>
</H2>
<P>
This file contains a message sent to each subscriber
when one of the list owners sends the <A NAME="7045"></A><TT>REMIND</TT> command
(see <A HREF="node22.html#cmd-remind">21.2</A>, page <A HREF="node22.html#cmd-remind"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>).
<P>
<H2><A NAME="SECTION001477000000000000000">
13.7.7 summary.tpl</A>
</H2>
<P>
Template for summaries (reception mode close to digest),
see <A HREF="node22.html#cmd-setsummary">21.1</A>, page <A HREF="node22.html#cmd-setsummary"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>.
<P>
<H2><A NAME="SECTION001478000000000000000"></A>
<A NAME="list-aliases-tpl"></A>
<BR>
13.7.8 list_aliases.tpl
</H2>
<P>
Template that defines list mail alises. It is used by the alias_manager script.
<P>
<H1><A NAME="SECTION001480000000000000000"></A>
<A NAME="stats-file"></A> <A NAME="2197"></A>
<BR>
13.8 Stats file
</H1>
<P>
<A NAME="7048"></A><TT>/home/sympa/expl/mylist/stats</TT> is a text file containing
statistics about the list. Data are numerics separated
by white space within a single line :
<P>
<UL>
<LI>Number of messages sent, used to generate X-sequence headers
<P>
</LI>
<LI>Number of messages X number of recipients
<P>
</LI>
<LI>Number of bytes X number of messages
<P>
</LI>
<LI>Number of bytes X number of messages X number of recipients
<P>
</LI>
<LI>Number of subscribers
<P>
</LI>
</UL>
<P>
<H1><A NAME="SECTION001490000000000000000"></A>
<A NAME="Listmodelfiles"></A>
<BR>
13.9 List model files
</H1>
<P>
These files are used by <I>Sympa</I> to create task files. They are interpreted (parsed)
by the task manager and respect the task format. See <A HREF="node13.html#tasks">12.10</A>, page <A HREF="node13.html#tasks"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>.
<P>
<H2><A NAME="SECTION001491000000000000000">
13.9.1 remind.annual.task</A>
</H2>
<P>
Every year <I>Sympa</I> will send a message (the template <A NAME="7053"></A><TT>remind.tpl</TT>)
to all subscribers of the list to remind them of their subscription.
<P>
<H2><A NAME="SECTION001492000000000000000">
13.9.2 expire.annual.task</A>
</H2>
<P>
Every month <I>Sympa</I> will delete subscribers older than one year who haven't answered two warning messages.
<P>
<H1><A NAME="SECTION0014100000000000000000"></A>
<A NAME="messagefooter"></A>
<BR>
13.10 Message header and footer
</H1>
<P>
You may create <A NAME="7057"></A><TT>/home/sympa/expl/mylist/message.header</TT> and
<A NAME="7060"></A><TT>/home/sympa/expl/mylist/message.footer</TT> files. Their content
is added, respectively at the beginning and at the end of each message
before the distribution process. You may also include the content-type
of the appended part (when <A NAME="7063"></A><TT>footer_type</TT> list parameter s set
to <B>mime</B>) by renaming the files to <A NAME="7066"></A><TT>message.header.mime</TT>
and <A NAME="7069"></A><TT>message.footer.mime</TT>.
<P>
The <A NAME="7072"></A><TT>footer_type</TT> list parameter defines whether to attach the
header/footer content as a MIME part (except for multipart/alternative
messages), or to append them to the message body (for text/plain messages).
<P>
Under certain circumstances, Sympa will NOT add headers/footers, here is its
algorythm :<PRE>
if message is not multipart/signed
if footer_type==append
if message is text/plain
append header/footer to it
else if message is multipart AND first part is text/plain
append header/footer to first part
if footer_type==mime
if message is not multipart/alternative
add header/footer as a new MIME part
</PRE>
<P>
<H2><A NAME="SECTION0014101000000000000000">
13.10.1 Archive directory</A>
</H2>
<P>
The <A NAME="7075"></A><TT>/home/sympa/expl/mylist/archives/</TT> directory contains the
archived messages for lists which are archived; see <A HREF="node16.html#par-archive">15.6.1</A>,
page <A HREF="node16.html#par-archive"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]" SRC="crossref.png"></A>. The files are named in accordance with the
archiving frequency defined by the <A NAME="7078"></A><TT>archive</TT> parameter.
<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1008"
HREF="node15.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html1002"
HREF="sympa.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html996"
HREF="node13.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html1004"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<A NAME="tex2html1006"
HREF="node23.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1009"
HREF="node15.html">14. Creating and editing mailing using</A>
<B> Up:</B> <A NAME="tex2html1003"
HREF="sympa.html">Sympa Mailing Lists Management Software version</A>
<B> Previous:</B> <A NAME="tex2html997"
HREF="node13.html">12. Customizing Sympa/WWSympa</A>
  <B> <A NAME="tex2html1005"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1007"
HREF="node23.html">Index</A></B>
<!--End of Navigation Panel-->
<ADDRESS>
root
2004-09-10
</ADDRESS>
</BODY>
</HTML>
|