mailing lists
I have attached new policy files for the mailman mailing list manager.
The policy for the CGI scripts is only 90% complete, I suspect that we'll need to review the entire way that the httpd policy works and make it work properly for bulk hosting before I can get something I'm satisfied with in this regard.
I have also setup a mailing list for general discussion that's vaguely related to SE Linux. The subscription address is [email protected] send the command "help" for information about the list and the command "subscribe" to subscribe to it. NB The web page for the list is not yet functioning.
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
type mailman_data_t, file_type, sysadmfile;
type mailman_archive_t, file_type, sysadmfile;
type mailman_log_t, file_type, sysadmfile, logfile; type mailman_lock_t, file_type, sysadmfile, lockfile;
define(mailman_domain',
type mailman_$1_t, domain, privlog;
type mailman_$1_exec_t, file_type, sysadmfile, exec_type; role system_r types mailman_$1_t; file_type_auto_trans(mailman_$1_t, var_log_t, mailman_log_t) rw_dir_create_file(mailman_$1_t, mailman_data_t) uses_shlib(mailman_$1_t)can_exec_any(mailman_$1_t)
allow mailman_$1_t { proc_t sysctl_t sysctl_kernel_t }:dir search; allow mailman_$1_t { proc_t sysctl_kernel_t }:file { read getattr }; allow mailman_$1_t var_lib_t:dir search;
allow mailman_$1_t var_lib_t:lnk_file read;
allow mailman_$1_t device_t:dir search;
allow mailman_$1_t etc_runtime_t:file { read getattr }; allow mailman_$1_t etc_t:lnk_file read; file_type_auto_trans(mailman_$1_t, var_lock_t, mailman_lock_t) allow mailman_$1_t fs_t:filesystem getattr; can_network(mailman_$1_t)
allow mailman_$1_t resolv_conf_t:file { getattr read }; allow mailman_$1_t self:unix_stream_socket create_socket_perms; ')
mailman_domain(cgi)mailman_domain(queue)mailman_domain(mail)
create_dir_file(mailman_queue_t, mailman_archive_t)
domain_auto_trans(httpd_user_script_process_t, mailman_cgi_exec_t, mailman_cgi_t)
allow mailman_cgi_t httpd_t:process sigchld;
allow mailman_cgi_t httpd_t:fd use;
allow mailman_cgi_t httpd_t:fifo_file { getattr read write ioctl }; allow mailman_cgi_t httpd_user_script_t:dir search;
allow mta_delivery_agent mailman_data_t:dir search;
allow mta_delivery_agent mailman_data_t:lnk_file read;
dontaudit mailman_mail_t mta_delivery_agent:tcp_socket { read write }; domain_auto_trans_read(mta_delivery_agent, mailman_mail_exec_t, mailman_mail_t) allow mailman_mail_t self:unix_dgram_socket create_socket_perms;
domain_auto_trans(system_crond_t, mailman_queue_exec_t, mailman_queue_t) allow mailman_queue_t crond_t:fd use;
allow mailman_queue_t crond_t:fifo_file write;
# so MTA can access /var/lib/mailman/mail/wrapper allow mta_delivery_agent var_lib_t:dir search; # mailman list server /usr/lib/cgi-bin/mailman/.* system_u:object_r:mailman_cgi_exec_t /var/log/mailman(/.*)? system_u:object_r:mailman_log_t /usr/lib/mailman/cron/qrunner system_u:object_r:mailman_queue_exec_t /var/lib/mailman(/.*)? system_u:object_r:mailman_data_t /usr/lib/mailman/mail/wrapper system_u:object_r:mailman_mail_exec_t /var/lib/mailman/archives(/.*)? system_u:object_r:mailman_archive_t