diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000621.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000621.html | 322 |
1 files changed, 322 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000621.html b/zarb-ml/mageia-sysadm/2010-November/000621.html new file mode 100644 index 000000000..4d234cea6 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000621.html @@ -0,0 +1,322 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [288] - finish the merge of the 2 config file + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B288%5D%20-%20finish%20the%20merge%20of%20the%202%20config%20file&In-Reply-To=%3C20101118181921.8E2B03FBCB%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000620.html"> + <LINK REL="Next" HREF="000623.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [288] - finish the merge of the 2 config file</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B288%5D%20-%20finish%20the%20merge%20of%20the%202%20config%20file&In-Reply-To=%3C20101118181921.8E2B03FBCB%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [288] - finish the merge of the 2 config file">root at mageia.org + </A><BR> + <I>Thu Nov 18 19:19:21 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000620.html">[Mageia-sysadm] [287] - merge primary config file to the secondary one +</A></li> + <LI>Next message: <A HREF="000623.html">[Mageia-sysadm] [289] Add vhost and webapps.d files for bugzilla +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#621">[ date ]</a> + <a href="thread.html#621">[ thread ]</a> + <a href="subject.html#621">[ subject ]</a> + <a href="author.html#621">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 288 +Author: misc +Date: 2010-11-18 19:19:21 +0100 (Thu, 18 Nov 2010) +Log Message: +----------- +- finish the merge of the 2 config file + +Modified Paths: +-------------- + puppet/modules/postfix/manifests/init.pp + +Added Paths: +----------- + puppet/modules/postfix/templates/main.cf + puppet/modules/postfix/templates/transport_regexp + +Removed Paths: +------------- + puppet/modules/postfix/templates/primary_main.cf + puppet/modules/postfix/templates/primary_transport_regexp + puppet/modules/postfix/templates/secondary_main.cf + +Modified: puppet/modules/postfix/manifests/init.pp +=================================================================== +--- puppet/modules/postfix/manifests/init.pp 2010-11-18 18:15:00 UTC (rev 287) ++++ puppet/modules/postfix/manifests/init.pp 2010-11-18 18:19:21 UTC (rev 288) +@@ -33,26 +33,27 @@ + + class smtp_server inherits base { + include postgrey ++ file { '/etc/postfix/main.cf': ++ content => template("postfix/main.cf"), ++ } ++ ++ file { '/etc/postfix/transport_regexp': ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postfix/transport_regexp"), ++ } ++ + } + + class primary_smtp inherits smtp_server { +- file { '/etc/postfix/main.cf': +- content => template("postfix/primary_main.cf"), +- } +- + file { '/etc/postfix/master.cf': + content => template("postfix/primary_master.cf"), + } +- +- file { '/etc/postfix/transport_regexp': +- content => template("postfix/primary_transport_regexp"), +- } + } + + class secondary_smtp inherits smtp_server { +- file { '/etc/postfix/main.cf': +- content => template("postfix/secondary_main.cf"), +- } + } + + } + +Copied: puppet/modules/postfix/templates/main.cf (from rev 287, puppet/modules/postfix/templates/secondary_main.cf) +=================================================================== +--- puppet/modules/postfix/templates/main.cf (rev 0) ++++ puppet/modules/postfix/templates/main.cf 2010-11-18 18:19:21 UTC (rev 288) +@@ -0,0 +1,51 @@ ++# Please be sure to read the /usr/share/doc/postfix/README.MDK file ++# to learn about differences from stock postfix to Mandriva package. ++# This file contains only the parameters changed from a default install ++# see /etc/postfix/main.cf.dist for a commented, fuller version of this file. ++ ++<% ++path_daemon_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/postfix/" ++%> ++ ++# These are changed by postfix install script ++readme_directory = /usr/share/doc/postfix/README_FILES ++html_directory = /usr/share/doc/postfix/html ++sendmail_path = /usr/sbin/sendmail.postfix ++setgid_group = postdrop ++command_directory = /usr/sbin ++manpage_directory = /usr/share/man ++daemon_directory = <%= path_daemon_directory %> ++data_directory = /var/lib/postfix ++newaliases_path = /usr/bin/newaliases ++mailq_path = /usr/bin/mailq ++queue_directory = /var/spool/postfix ++mail_owner = postfix ++ ++# User configurable parameters ++ ++inet_interfaces = localhost ++inet_protocols = all ++mynetworks_style = host ++myhostname = <%= fqdn %> ++mydomain = <%= domain %> ++mydestination = <%= fqdn %> ++myorigin = $mydomain ++relay_domains = $mydestination, ++ ml.<%= domain %>, ++<%- if classes.include?('primary_smtp') -%> ++ <%= domain %> ++<%- end -%> ++transport_maps = regexp:/etc/postfix/transport_regexp ++<% if classes.include?('sympa') %> ++sympa_destination_recipient_limit = 1 ++sympabounce_destination_recipient_limit = 1 ++<% end %> ++#delay_warning_time = 4h ++smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) ++unknown_local_recipient_reject_code = 450 ++smtp-filter_destination_concurrency_limit = 2 ++lmtp-filter_destination_concurrency_limit = 2 ++smtpd_use_tls = yes ++smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem ++smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem ++smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt + +Deleted: puppet/modules/postfix/templates/primary_main.cf +=================================================================== +--- puppet/modules/postfix/templates/primary_main.cf 2010-11-18 18:15:00 UTC (rev 287) ++++ puppet/modules/postfix/templates/primary_main.cf 2010-11-18 18:19:21 UTC (rev 288) +@@ -1,45 +0,0 @@ +-# Please be sure to read the /usr/share/doc/postfix/README.MDK file +-# to learn about differences from stock postfix to Mandriva package. +-# This file contains only the parameters changed from a default install +-# see /etc/postfix/main.cf.dist for a commented, fuller version of this file. +- +-<% +-path_daemon_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/postfix/" +-%> +- +-# These are changed by postfix install script +-readme_directory = /usr/share/doc/postfix/README_FILES +-html_directory = /usr/share/doc/postfix/html +-sendmail_path = /usr/sbin/sendmail.postfix +-setgid_group = postdrop +-command_directory = /usr/sbin +-manpage_directory = /usr/share/man +-daemon_directory = <%= path_daemon_directory %> +-data_directory = /var/lib/postfix +-newaliases_path = /usr/bin/newaliases +-mailq_path = /usr/bin/mailq +-queue_directory = /var/spool/postfix +-mail_owner = postfix +- +-# User configurable parameters +- +-inet_interfaces = localhost +-inet_protocols = all +-mynetworks_style = host +-myhostname = <%= fqdn %> +-mydomain = <%= domain %> +-mydestination = <%= fqdn %> +-myorigin = $mydomain +-relay_domains = $mydestination, ml.<%= domain %> +-transport_maps = regexp:/etc/postfix/transport_regexp +-sympa_destination_recipient_limit = 1 +-sympabounce_destination_recipient_limit = 1 +-#delay_warning_time = 4h +-smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) +-unknown_local_recipient_reject_code = 450 +-smtp-filter_destination_concurrency_limit = 2 +-lmtp-filter_destination_concurrency_limit = 2 +-smtpd_use_tls = yes +-smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem +-smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem +-smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt + +Deleted: puppet/modules/postfix/templates/primary_transport_regexp +=================================================================== +--- puppet/modules/postfix/templates/primary_transport_regexp 2010-11-18 18:15:00 UTC (rev 287) ++++ puppet/modules/postfix/templates/primary_transport_regexp 2010-11-18 18:19:21 UTC (rev 288) +@@ -1,8 +0,0 @@ +-<% +-ml_domain = 'ml\.' + domain.gsub('.','\.') +-%> +-<%- if classes.include?('sympa') -%> +-/^.*+owner\@<%= ml_domain %>$/ sympabounce: +-/^.*\@<%= ml_domain %>$/ sympa: +-<%- end -%> +- + +Deleted: puppet/modules/postfix/templates/secondary_main.cf +=================================================================== +--- puppet/modules/postfix/templates/secondary_main.cf 2010-11-18 18:15:00 UTC (rev 287) ++++ puppet/modules/postfix/templates/secondary_main.cf 2010-11-18 18:19:21 UTC (rev 288) +@@ -1,51 +0,0 @@ +-# Please be sure to read the /usr/share/doc/postfix/README.MDK file +-# to learn about differences from stock postfix to Mandriva package. +-# This file contains only the parameters changed from a default install +-# see /etc/postfix/main.cf.dist for a commented, fuller version of this file. +- +-<% +-path_daemon_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/postfix/" +-%> +- +-# These are changed by postfix install script +-readme_directory = /usr/share/doc/postfix/README_FILES +-html_directory = /usr/share/doc/postfix/html +-sendmail_path = /usr/sbin/sendmail.postfix +-setgid_group = postdrop +-command_directory = /usr/sbin +-manpage_directory = /usr/share/man +-daemon_directory = <%= path_daemon_directory %> +-data_directory = /var/lib/postfix +-newaliases_path = /usr/bin/newaliases +-mailq_path = /usr/bin/mailq +-queue_directory = /var/spool/postfix +-mail_owner = postfix +- +-# User configurable parameters +- +-inet_interfaces = localhost +-inet_protocols = all +-mynetworks_style = host +-myhostname = <%= fqdn %> +-mydomain = <%= domain %> +-mydestination = <%= fqdn %> +-myorigin = $mydomain +-relay_domains = $mydestination, +- ml.<%= domain %>, +-<%- if classes.include?('primary_smtp') -%> +- <%= domain %> +-<%- end -%> +-transport_maps = regexp:/etc/postfix/transport_regexp +-<% if classes.include?('sympa') %> +-sympa_destination_recipient_limit = 1 +-sympabounce_destination_recipient_limit = 1 +-<% end %> +-#delay_warning_time = 4h +-smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) +-unknown_local_recipient_reject_code = 450 +-smtp-filter_destination_concurrency_limit = 2 +-lmtp-filter_destination_concurrency_limit = 2 +-smtpd_use_tls = yes +-smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem +-smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem +-smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt + +Copied: puppet/modules/postfix/templates/transport_regexp (from rev 287, puppet/modules/postfix/templates/primary_transport_regexp) +=================================================================== +--- puppet/modules/postfix/templates/transport_regexp (rev 0) ++++ puppet/modules/postfix/templates/transport_regexp 2010-11-18 18:19:21 UTC (rev 288) +@@ -0,0 +1,8 @@ ++<% ++ml_domain = 'ml\.' + domain.gsub('.','\.') ++%> ++<%- if classes.include?('sympa') -%> ++/^.*+owner\@<%= ml_domain %>$/ sympabounce: ++/^.*\@<%= ml_domain %>$/ sympa: ++<%- end -%> ++ +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101118/848b6bcb/attachment-0001.html> +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000620.html">[Mageia-sysadm] [287] - merge primary config file to the secondary one +</A></li> + <LI>Next message: <A HREF="000623.html">[Mageia-sysadm] [289] Add vhost and webapps.d files for bugzilla +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#621">[ date ]</a> + <a href="thread.html#621">[ thread ]</a> + <a href="subject.html#621">[ subject ]</a> + <a href="author.html#621">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |