![]() |
In this User Guide, the domain of example.com is used as a placeholder domain. Please substitute your actual domain name where necessary |
![]() |
On CentOS 4, you could have Mailman OR Majordomo installed, but not both. On CentOS 5 you can have both installed. |
![]() |
All of the command line examples in this User Guide must be done while logged in via SSH as the root user. See the SSH User Guide for more information if necessary. The ability to use standard Linux commands and edit files using the vi text editor is required. |
[root@example]# cd /usr/lib/mailman/bin [root@example bin]# ./newlist Enter the name of the list: listname Enter the email of the person running the list: user@example.com Initial listname password: passwd To finish creating your mailing list, you must edit your /etc/aliases (or equivalent) file by adding the following lines, and possibly running the `newaliases' program: ## listname mailing list listname: "|/usr/lib/mailman/mail/mailman post listname" listname-admin: "|/usr/lib/mailman/mail/mailman admin listname" listname-bounces: "|/usr/lib/mailman/mail/mailman bounces listname" listname-confirm: "|/usr/lib/mailman/mail/mailman confirm listname" listname-join: "|/usr/lib/mailman/mail/mailman join listname" listname-leave: "|/usr/lib/mailman/mail/mailman leave listname" listname-owner: "|/usr/lib/mailman/mail/mailman owner listname" listname-request: "|/usr/lib/mailman/mail/mailman request listname" listname-subscribe: "|/usr/lib/mailman/mail/mailman subscribe listname" listname-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe listname" Hit enter to notify listname owner... [root@example bin]# |
[root@example bin]# cd /etc/ [root@example etc]# vi aliases |
[root@example etc]# newaliases /etc/aliases: 123 aliases, longest 140 bytes, 4031 bytes total [root@example etc]# service sendmail restart Shutting down sendmail: [ OK ] Shutting down sm-client: [ OK ] Starting sendmail: [ OK ] Starting sm-client: [ OK ] (If you receive the error sendmail: unrecognized service, then do the following) [root@example etc]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] [root@example etc]# cd /usr/lib/mailman/bin [root@example bin]# ./mailmanctl restart Restarting Mailman's master qrunner [root@example bin]# |
[root@example bin]# ./withlist -l -r fix_url listname --urlhost=domain.com -v Importing fix_url... Running fix_url.fix_url()... Loading list listname (locked) Setting web_page_url to: http://domain.com/mailman/ Setting host_name to: domain.com Saving list Finalizing [root@example bin]# |