sympa.pl is the main daemon ; it processes mail commands and is in charge of messages distribution.
sympa.pl recognizes the following command line arguments:
Sets Sympa in debug mode and keeps it attached to the terminal. Debugging information is output to STDERR, along with standard log information. Each function call is traced. Useful while reporting a bug.
Sets Sympa daemon in way it process only message distribution (process_message) or in way it process only command (process_command).
Forces Sympa to use an alternative configuration file. Default behavior is to use the configuration file as defined in the Makefile ($CONFIG).
Sympa will log calls to sendmail, including recipients. Useful for keeping track of each mail sent (log files may grow faster though).
Set this option to use a language catalog for Sympa. The corresponding catalog file must be located in ~sympa/locale directory.
This option tells Sympa to keep a copy of every incoming message, instead of deleting them. recipient_directory is the directory to store messages.
/home/sympa/bin/sympa.pl
Create the list described by the xml file, see 18.3,
page .
Close the list (changing its status to closed), remove aliases and remove
subscribers from DB (a dump is created in the list directory to allow restoring
the list). See , page
when you
are in a family context.
Dumps subscribers of a list or all lists. Subscribers are dumped in subscribers.db.dump.
Import subscribers in the listname list. Data are read from STDIN.
Lowercases e-mail addresses in database.
Print usage of sympa.pl.
Create an aliases file in /tmp/ with all list aliases (only list which status is 'open'). It uses the list_aliases.tt2 template.
Print current version of Sympa.
Instantiate the family familyname. See 19,
page .
Close the familyname family. See 19.2.4,
page .
Add the list described in the XML file to the familyname family. See 19.2.5,
page .
Modify the existing family list, with description contained in the XML file. See 19.2.7,
page .
Trigger an update of list members, usefull if the list uses external data sources.
Runs Sympa maintenance script to upgrate from version X to version Y
Recreates all configbin files. You should run this command if you edit authorization scenarios. The list parameter is optional.
The make install step should have installed a sysV init script in your /etc/rc.d/init.d/ directory (you can change this at configure time with the -with-initdir option). You should edit your runlevels to make sure Sympa starts after Apache and MySQL. Note that MySQL should also start before Apache because of wwsympa.fcgi.
This script starts these deamons : sympa.pl, task_manager.pl, archived.pl and bounced.pl.
When this signal is sent to sympa.pl (kill -TERM), the daemon is stopped ending message distribution in progress and this can be long (for big lists). If kill -TERM is used, sympa.pl will stop immediatly whatever a distribution message is in progress. In this case, when sympa.pl restart, message will distributed many times.
When this signal is sent to sympa.pl (kill -HUP), it switchs of the -mail logging option and continues current task.