SYMPA(1)
π
SYMPA(1) β the sympa manual, bestie edition
sympa 6.2.80 Β· manual page SYMPA(1) β¨
β¨ NAME β¨
sympa, sympa.pl β the command line utility that runs the whole Sympa show. Your bestie for managing Sympa from the terminal, no cap. π
π«Ά SYNOPSIS π«Ά
"sympa" command [ general options... ] ...
πΈ DESCRIPTION πΈ
Heads up bestie: for a big-picture overview of the Sympa docs, go look at sympa_toc(1). π
So sympa is what you invoke from the command line, and then it goes and does a bunch of administration tasks for you. Various ones. Different flavors. It's giving "swiss army knife but make it mailing lists". π¦
π GENERAL OPTIONS π
sympa may run with these options in general. Not command-specific, these are the universal ones, the ones that go with everything. β¨
-d,--debugβ turns on debug mode. Maximum yapping, maximum detail. π- *
-f,--config=file β forces Sympa to use an alternative configuration file instead of/etc/sympa/sympa.conf. Like, it's not gonna touch the usual one, it's using *yours. π - **
-l,--lang=lang β set this one to pick the language Sympa speaks. Just so you know, the matching gettext catalog file has to live in the$LOCALEDIRdirectory. π --log_level=level β sets Sympa's log level. Turn the volume knob on the logs. π-m,--mailβ enables SMTP logging. π§--nooutβ skips output to the console, except for fatal error messages. So like, quiet mode, but it will still scream if something is truly cooked. π
π COMMANDS π
Currently these are the commands available. To see the detail of any one of them, run "sympa help" command. Yes bestie, there's a help for the help. π«Ά
sympa addβ add users to the listsympa bouncersβ manipulate list bounced userssympa checkβ check environmentsympa closeβ close a list, or the lists belonging to a familysympa configβ manipulate configuration of Sympasympa copyβ copy the listsympa createβ create a listsympa delβ delete users from the listsympa dumpβ dump users of the listssympa export_listβ TBDsympa helpβ display help information about Sympa CLIsympa includeβ update inclusionsympa instantiateβ instantiate the lists in a familysympa lowercaseβ lowercase email addresses in databasesympa make_alias_fileβ create aliases filesympa md5_digestβ output a MD5 digestsympa moveβ move or copy the listsympa openβ open the listsympa rebuildarcβ rebuild the archives of the listsympa reload_list_configβ recreate config cache of the listssympa restoreβ restore users of the listssympa reviewβ show subscribers of the listsympa send_digestβ send digestsympa setβ set properties of the users of the listsympa show_pending_listsβ show pending listssympa sync_list_dbβ synchronize database cache of the listssympa testβ test the functions of Sympasympa updateβ modify the existing list in the familysympa upgradeβ upgrade Sympasympa upgrade_config_locationβ TBDsympa userβ manipulate list userssympa versionβ print the version number of Sympa
ok that's part one bestie, don't go anywhere, there's more π
π DESCRIPTION FOR EARLIER VERSION π
Okay bestie, real talk: this whole section is a throwback π. It's kept around so older versions don't freak out. If you want the current tea, run sympa help or peek at sympa(1). No cap.
β¨ Synopsis β¨
Here's the ancient summoning circle, verbatim:
"sympa.pl" [ "-d, --debug" ] [ "-f, --file"=another.sympa.conf ]
[ "-l, --lang"=lang ] [ "-m, --mail" ] [ "-h, --help" ]
[ "-v, --version" ]
[ "--add"=list@domain [--role=role] [--quiet] [--notify] [--force] ]
[ "--del"=list@domain [--role=role] [--quiet] [--notify] [--force] ]
[ "--open_list"=list[@robot] [--notify] ]
[ "--close_list"=list[@robot] ] [ "--purge_list"=list[@robot] ]
[ "--lowercase" ] [ "--make_alias_file" ]
[ "--dump_users" "--list"=list@domain|ALL [ "--role"=roles ] ]
[ "--restore_users" "--list"=list@domain|ALL [ "--role"=roles ] ]
[ "--show_pending_lists"=robot ] [ "--rebuildarc"=list[@robot] ]
π Options π
sympa.pl may run with following options in general. (And yes, we're going to go through every single one, no skips. π
)
-d,--debugβ Enable debug mode. Like turning on the flashlight so you can see what's going on. π¦-f,--config=file β Force Sympa to use an alternative configuration file instead of/etc/sympa/sympa.conf. It's giving "I brought my own snacks." π-l,--lang=lang β Set this option to use a language for Sympa. The corresponding gettext catalog file must be located in$LOCALEDIRdirectory. So multilingual, so slay. π--log_level=level β Sets Sympa log level. Basically turns the volume up or down on the log tea. π
With the following options sympa.pl will run in batch mode:
--add=list@domain [--role=role ] [--quiet] [--notify] [--force] β Add email(s) from the list. Data are read from standard input. The data should contain one email address per line.
Sample:
## emails to be added
john.steward@some.company.com John Steward
mary.blacksmith@another.company.com Mary Blacksmith
Note: This option was added on Sympa 6.2.67b.2.
New command line format:
"sympa add" [ "--role"=role ] [ "--quiet" ] [ "--notify" ] [ "--force" ] list"@"domain
--add_list=family_name--robot=robot_name--input_file=/path/to/file.xml β Add the list described by thefile.xmlunderrobot_name, to the familyfamily_name.
New command line format:
"sympa create" "--input_file="/path/to/file.xml family_name"@@"robot_name
--change_user_email--current_email=current--new_email=new β Changes a user email address in all Sympa databases (subscriber_table, list config, etc) for all virtual robots. Glow-up for your email address. β¨
New command line format:
"sympa user move" current new
--close_family=family_name--robot=robot_name β Close lists offamily_namefamily underrobot_name. It's giving "we're closed, bestie." πͺ
New command line format:
"sympa close" family_name"@@"robot_name
--close_list=list[@robot] β 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). So you can always come back, no cap. πΎ
New command line format:
"sympa close" list["@"robot]
--conf_2_dbβ Deprecated. Loadsympa.confand eachrobot.confinto database. It's old, it's tired, it's deprecated. π
New command line format:
None.
--copy_list=listname"@"robot--new_listname=newlistname--new_listrobot=newrobot β Copy a list. Dupe it, but make it fashion. π―
New command line format:
"sympa move --mode=copy" listname"@"robot newlistname"@"newrobot
"sympa copy" listname"@"robot newlistname"@"newrobot
--create_list--robot=robot_name--input_file=/path/to/file.xml β Create a list with the XML file under robotrobot_name.
New command line format:
"sympa create" "--input_file="/path/to/file.xml robot_name
--del=list"@"domain [--role=role ] [--quiet] [--notify] [--force] β Delete email(s) from the list. Data are read from standard input. The data should contain one email address per line.
Sample:
## emails to be deleted
john.steward@some.company.com
mary.blacksmith@another.company.com
Note: This options was added on Sympa 6.2.67b.2. (Yes, "options" β we keep the typo, it's part of history. π)
New command line format:
"sympa del" [ "--role"=role ] [ "--quiet" ] [ "--notify" ] [ "--force" ] list"@"domain
--dump=list@domain|"ALL"β Obsoleted option. Use--dump_users. It's retired, bestie. Say bye. π--dump_users--list=list@domain|"ALL"[--role=roles ] β Dumps users of a list or all lists.
--role may specify "member", "owner", "editor" or any of them separated by comma (,). Only "member" is chosen by default.
Users are dumped in files role".dump" in each list directory.
Note: On Sympa prior to 6.2.31b.1, subscribers were dumped in subscribers.db.dump file, and owners and moderators could not be dumped.
See also --restore_users.
Note: This option replaced --dump on Sympa 6.2.34.
New command line format:
"sympa dump" [ "--roles="roles ] list"@"domain
"sympa dump" [ "--roles="roles ] "*"
--health_checkβ Check ifsympa.conf,robot.confof virtual robots and database structure are correct. If any errors occur, exits with non-zero status. Like a vibe check for your config. π©Ί
New command line format:
"sympa check"
--import=list@dom β Deprecated. Use--addinstead. Old news, babe. ποΈ--instantiate_family=family_name--robot=robot_name--input_file=/path/to/file.xml [--close_unknown] [--quiet] β Instantiatefamily_namelists described in thefile.xmlunderrobot_name. The family directory must exist; automatically close undefined lists in a new instantiation if--close_unknownis specified; do not print report if--quietis specified.
New command line format:
"sympa instantiate" "--input_file="/path/to/file.xml [ "--close_unknown" ] [ "--quiet" ] family_name"@@"robot_name
--lowercaseβ Lowercases email addresses in database. Turning down the CAPS LOCK energy. π‘
New command line format:
TBD.
--make_alias_file[--robotrobot ] β Create an aliases file in/tmp/with all list aliases. It uses thelist_aliases.tt2template (useful whenlist_aliases.tt2was changed). Fresh aliases, hot off the press. π₯
New command line format:
TBD.
--md5_encode_passwordβ Rewrite password in"user_table"of database using MD5 fingerprint. YOU CAN'T UNDO unless you save this table first.
π YOU CAN'T UNDO unless you save this table first. So back it up, bestie! No take-backs.
Note that this option was obsoleted. Use sympa upgrade password.
--modify_list=family_name--robot=robot_name--input_file=/path/to/file.xml β Modify the existing list installed under the robotrobot_nameand that belongs to the familyfamily_name. The new description is in the"file.xml".
New command line format:
"sympa update" "--input_file="/path/to/file.xml family_name"@@"robot_name
--open_list=list[@robot] [--notify] β Restore the closed list (changing its status to open), add aliases and restore users to DB (dump files in the list directory are imported).
The --notify is optional. If present, the owner(s) of the list will be notified.
New command line format:
"sympa open" [ "--notify" ] list["@"robot]
--purge_list=list[@robot] β Remove the list (remove archive, configuration files, users and owners in admin table. Restore is not possible after this operation. So this is the "delete forever" button. β οΈ No undo, periodt.
β οΈ Restore is not possible after this operation.
New command line format:
"sympa close" "--mode=purge" list["@"robot]
--show_pending_lists=robot β Print all pending lists for the robot, with information. Peek at the waitlist. π
New command line format:
TBD.
--rebuildarc=list[@robot] β Rebuild the archives of the list. Glow-up for your archives. π
New command line format:
TBD.
--reload_list_config[--list=mylist@mydom ] [--robot=mydom ] β Recreates allconfig.binfiles or cache in"list_table". You should run this command if you edit authorization scenarios. The list and robot parameters are optional.
New command line format:
TBD.
--rename_list=listname"@"robot--new_listname=newlistname--new_listrobot=newrobot β Renames a list or move it to another virtual robot. It's giving "new name, new me." π«
New command line format:
"sympa move" listname"@"robot newlistname"@"newrobot
--send_digest[--keep_digest] β Send digest right now. If--keep_digestis specified, stocked digest will not be removed. Digest? Sent. Immediately. No waiting. π¬
New command line format:
TBD.
--restore_users--list=list@domain|"ALL"[--role=roles ] β Restore users from files dumped by--dump_users.
Note: This option was added on Sympa 6.2.34.
New command line format:
"sympa restore" [ "--roles="roles ] list"@"domain
"sympa restore" [ "--roles="roles ] "*"
--sync_include=listname"@"robot [--role=role ] β Trigger update of the list users included from data sources. Sync it, bestie. π
New command line format:
"sympa include" [ "--role="role ] listname"@"robot
--sync_list_db[--list=listname@robot ] β Syncs filesystem list configs to the database cache of list configs, optionally syncs an individual list if specified.
New command line format:
TBD.
--test_database_message_bufferβ Note: This option was deprecated.
Test the database message buffer size. Ancient. πΊ
--upgrade[--from=X ] [--to=Y ] β Runs Sympa maintenance script to upgrade from version X to version Y. Level up! π
New command line format:
"sympa upgrade" [ <--from=>X ] [ "--to="Y ]
--upgrade_shared[--list=X ] [--robot=Y ] β Note: This option was deprecated. Seesympa upgrade sharedcommand line.
Rename files in shared.
New command line format:
"sympa upgrade shared" [ "--fix_qencode" ] listname@robot | "*"
With following options sympa.pl will print some information and exit.
-h,--helpβ Print this help message. The classic "help me pls." π--md5_digest=password β Output a MD5 digest of a password (useful for SOAP client trusted application). Hash it out. π-v,--versionβ Print the version number. Just the numbers, ma'am. π’
End of description for earlier version.
π FILES π
/etc/sympa/sympa.confβ main configuration file. The one, the only. π
π SEE ALSO π
π HISTORY π
sympa.pl was originally written by:
- Serge Aumont ComitΓ© RΓ©seau des UniversitΓ©s
- Olivier SalaΓΌn ComitΓ© RΓ©seau des UniversitΓ©s
As of Sympa 6.2b.4, it was split into three programs: sympa.pl command line utility, sympa_automatic.pl daemon and sympa_msg.pl daemon.
As of Sympa 6.2.68, sympa.pl was renamed to sympa and the new form of command line arguments was introduced.
The --noout option was introduced on Sympa 6.2.71b.
And that's the whole throwback tour, bestie! π«Ά This iconic manual page is from Sympa 6.2.80, dated 2026-10-19, and it's filed under SYMPA(1). Stay slay, stay informed, and don't forget to back up before you purge. π β¨
π¦ where this page comes from
- fedora 43: sympa 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms