diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2012-March/004305.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2012-March/004305.html | 308 |
1 files changed, 308 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2012-March/004305.html b/zarb-ml/mageia-sysadm/2012-March/004305.html new file mode 100644 index 000000000..0dfa23df3 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2012-March/004305.html @@ -0,0 +1,308 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [sysadmin-commits] [2674] clean postfix module, rework the layout and split it in several 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%5Bsysadmin-commits%5D%20%5B2674%5D%20clean%20postfix%20module%2C%0A%20rework%20the%20layout%20and%20split%20it%20in%20several%20file&In-Reply-To=%3CCA%2BCX%2BbhJBjDNvSctPpr%2BTFtLid5zAp_DFMo07uxOeize_oLSSw%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004302.html"> + <LINK REL="Next" HREF="004306.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [sysadmin-commits] [2674] clean postfix module, rework the layout and split it in several file</H1> + <B>Pascal Terjan</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-commits%5D%20%5B2674%5D%20clean%20postfix%20module%2C%0A%20rework%20the%20layout%20and%20split%20it%20in%20several%20file&In-Reply-To=%3CCA%2BCX%2BbhJBjDNvSctPpr%2BTFtLid5zAp_DFMo07uxOeize_oLSSw%40mail.gmail.com%3E" + TITLE="[Mageia-sysadm] [sysadmin-commits] [2674] clean postfix module, rework the layout and split it in several file">pterjan at gmail.com + </A><BR> + <I>Thu Mar 22 20:26:11 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="004302.html">[Mageia-sysadm] About the old HDDs we changed in February +</A></li> + <LI>Next message: <A HREF="004306.html">[Mageia-sysadm] [sysadmin-commits] [2674] clean postfix module, rework the layout and split it in several file +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4305">[ date ]</a> + <a href="thread.html#4305">[ thread ]</a> + <a href="subject.html#4305">[ subject ]</a> + <a href="author.html#4305">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>We seem to reject all mails to MLs on alamut: + +Mar 22 20:18:08 alamut postfix/smtpd[1384]: NOQUEUE: reject: RCPT from +valstar.mageia.org[212.85.158.147]: 450 4.1.1 < +<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">packages-commits at ml.mageia.org</A>>: Recipient address rejected: User unknown +in local recipient table; from=<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">schedbot at valstar.mageia.org</A>> to=< +<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">packages-commits at ml.mageia.org</A>> proto=ESMTP helo=<valstar.mageia.org> + +Mar 22 20:18:08 alamut postfix/smtpd[1385]: NOQUEUE: reject: RCPT from +valstar.mageia.org[212.85.158.147]: 450 4.1.1 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">changelog at ml.mageia.org</A>>: +Recipient address rejected: User unknown in local recipient table; from=< +<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">schedbot at valstar.mageia.org</A>> to=<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">changelog at ml.mageia.org</A>> proto=ESMTP helo=< +valstar.mageia.org> + +Reported by AL13N as bugzilla fails to send email and gives an error + +On Thu, Mar 22, 2012 at 15:18, <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A>> wrote: + +><i> ** +</I>><i> Revision 2674 Author misc Date 2012-03-22 16:18:24 +0100 (Thu, 22 Mar +</I>><i> 2012) Log Message +</I>><i> +</I>><i> clean postfix module, rework the layout and split it in several file +</I>><i> +</I>><i> Modified Paths +</I>><i> +</I>><i> - puppet/manifests/nodes/alamut.pp<#1363afcdfc8acd3f_puppetmanifestsnodesalamutpp> +</I>><i> - puppet/manifests/nodes/krampouezh.pp<#1363afcdfc8acd3f_puppetmanifestsnodeskrampouezhpp> +</I>><i> - puppet/modules/postfix/manifests/init.pp<#1363afcdfc8acd3f_puppetmodulespostfixmanifestsinitpp> +</I>><i> +</I>><i> Added Paths +</I>><i> +</I>><i> - puppet/modules/postfix/manifests/server/ +</I>><i> - puppet/modules/postfix/manifests/server/primary.pp<#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserverprimarypp> +</I>><i> - puppet/modules/postfix/manifests/server/secondary.pp<#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserversecondarypp> +</I>><i> - puppet/modules/postfix/manifests/server.pp<#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserverpp> +</I>><i> - puppet/modules/postfix/manifests/simple_relay.pp<#1363afcdfc8acd3f_puppetmodulespostfixmanifestssimple_relaypp> +</I>><i> +</I>><i> Modified: puppet/manifests/nodes/alamut.pp +</I>><i> =================================================================== +</I>><i> --- puppet/manifests/nodes/alamut.pp 2012-03-22 15:18:21 UTC (rev 2673) +</I>><i> +++ puppet/manifests/nodes/alamut.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -20,7 +20,7 @@ +</I>><i> include transifex +</I>><i> include bugzilla +</I>><i> include sympa::server +</I>><i> - include postfix::primary_smtp +</I>><i> + include postfix::server::primary +</I>><i> +</I>><i> # temporary, just the time the vm is running there +</I>><i> host { 'friteuse': +</I>><i> Modified: puppet/manifests/nodes/krampouezh.pp +</I>><i> =================================================================== +</I>><i> --- puppet/manifests/nodes/krampouezh.pp 2012-03-22 15:18:21 UTC (rev 2673) +</I>><i> +++ puppet/manifests/nodes/krampouezh.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -5,7 +5,7 @@ +</I>><i> # +</I>><i> #include common::default_mageia_server +</I>><i> include common::default_mageia_server_no_smtp +</I>><i> - include postfix::secondary_smtp +</I>><i> + include postfix::server::secondary +</I>><i> include blog::base +</I>><i> include blog::db_backup +</I>><i> include mysql::server +</I>><i> Modified: puppet/modules/postfix/manifests/init.pp +</I>><i> =================================================================== +</I>><i> --- puppet/modules/postfix/manifests/init.pp 2012-03-22 15:18:21 UTC (rev 2673) +</I>><i> +++ puppet/modules/postfix/manifests/init.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -1,71 +1,13 @@ +</I>><i> class postfix { +</I>><i> - class base { +</I>><i> - package { [postfix,nail]: } +</I>><i> + package { ['postfix', 'nail']: } +</I>><i> +</I>><i> - service { postfix: +</I>><i> - subscribe => Package['postfix'], +</I>><i> - } +</I>><i> - +</I>><i> - file { '/etc/postfix/main.cf': +</I>><i> - require => Package["postfix"], +</I>><i> - content => "", +</I>><i> - notify => Service['postfix'], +</I>><i> - } +</I>><i> + service { 'postfix': +</I>><i> + subscribe => Package['postfix'], +</I>><i> } +</I>><i> +</I>><i> - +</I>><i> - class simple_relay inherits base { +</I>><i> - File['/etc/postfix/main.cf'] { +</I>><i> - content => template("postfix/simple_relay_main.cf"), +</I>><i> - } +</I>><i> + file { '/etc/postfix/main.cf': +</I>><i> + require => Package['postfix'], +</I>><i> + content => '', +</I>><i> + notify => Service['postfix'], +</I>><i> } +</I>><i> - +</I>><i> - class smtp_server inherits base { +</I>><i> - include postgrey +</I>><i> - include amavis +</I>><i> - include spamassassin +</I>><i> - +</I>><i> - File['/etc/postfix/main.cf'] { +</I>><i> - content => template("postfix/main.cf"), +</I>><i> - } +</I>><i> - +</I>><i> - file { '/etc/postfix/transport_regexp': +</I>><i> - content => template("postfix/transport_regexp"), +</I>><i> - } +</I>><i> - +</I>><i> - } +</I>><i> - +</I>><i> - class primary_smtp inherits smtp_server { +</I>><i> - +</I>><i> - package { "postfix-ldap": } +</I>><i> - +</I>><i> - # council is here until we fully decide who has aliases in com team, +</I>><i> - # see <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1345">https://bugs.mageia.org/show_bug.cgi?id=1345</A> +</I>><i> - # alumini is a special group for tracking previous members of +</I>><i> - # the project, so they keep their aliases for a time +</I>><i> - $aliases_group = ['mga-founders','mga-packagers', +</I>><i> - 'mga-sysadmin','mga-council', +</I>><i> - 'mga-alumni','mga-i18n-committers', +</I>><i> - ] +</I>><i> - $ldap_password = extlookup("postfix_ldap",'x') +</I>><i> - $ldap_servers = get_ldap_servers() +</I>><i> - +</I>><i> - file { +</I>><i> - '/etc/postfix/master.cf': content => template("postfix/primary_master.cf"); +</I>><i> - '/etc/postfix/ldap_aliases.conf': content => template("postfix/ldap_aliases.conf"); +</I>><i> - # TODO merge the file with the previous one, for common part (ldap, etc) +</I>><i> - '/etc/postfix/group_aliases.conf': content => template("postfix/group_aliases.conf"); +</I>><i> - # TODO make it conditional to the presence of sympa +</I>><i> - '/etc/postfix/sympa_aliases': content => template("postfix/sympa_aliases"); +</I>><i> - '/etc/postfix/virtual_aliases': content => template("postfix/virtual_aliases"); +</I>><i> - } +</I>><i> - +</I>><i> - exec { "postmap /etc/postfix/virtual_aliases": +</I>><i> - refreshonly => true, +</I>><i> - subscribe => File['/etc/postfix/virtual_aliases'], +</I>><i> - } +</I>><i> - } +</I>><i> - +</I>><i> - class secondary_smtp inherits smtp_server { +</I>><i> - } +</I>><i> } +</I>><i> Added: puppet/modules/postfix/manifests/server/primary.pp +</I>><i> =================================================================== +</I>><i> --- puppet/modules/postfix/manifests/server/primary.pp (rev 0) +</I>><i> +++ puppet/modules/postfix/manifests/server/primary.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -0,0 +1,37 @@ +</I>><i> +class postfix::server::primary inherits postfix::server { +</I>><i> + +</I>><i> + package { 'postfix-ldap': } +</I>><i> + +</I>><i> + # council is here until we fully decide who has aliases in com team, +</I>><i> + # see <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1345">https://bugs.mageia.org/show_bug.cgi?id=1345</A> +</I>><i> + # alumini is a special group for tracking previous members of +</I>><i> + # the project, so they keep their aliases for a time +</I>><i> + $aliases_group = ['mga-founders', +</I>><i> + 'mga-packagers', +</I>><i> + 'mga-sysadmin', +</I>><i> + 'mga-council', +</I>><i> + 'mga-alumni', +</I>><i> + 'mga-i18n-committers'] +</I>><i> + $ldap_password = extlookup('postfix_ldap','x') +</I>><i> + $ldap_servers = get_ldap_servers() +</I>><i> + +</I>><i> + file { +</I>><i> + '/etc/postfix/master.cf': +</I>><i> + content => template('postfix/primary_master.cf'); +</I>><i> + '/etc/postfix/ldap_aliases.conf': +</I>><i> + content => template('postfix/ldap_aliases.conf'); +</I>><i> + # TODO merge the file with the previous one, for common part (ldap, etc) +</I>><i> + '/etc/postfix/group_aliases.conf': +</I>><i> + content => template('postfix/group_aliases.conf'); +</I>><i> + # TODO make it conditional to the presence of sympa +</I>><i> + '/etc/postfix/sympa_aliases': +</I>><i> + content => template('postfix/sympa_aliases'); +</I>><i> + '/etc/postfix/virtual_aliases': +</I>><i> + content => template('postfix/virtual_aliases'); +</I>><i> + } +</I>><i> + +</I>><i> + exec { 'postmap /etc/postfix/virtual_aliases': +</I>><i> + refreshonly => true, +</I>><i> + subscribe => File['/etc/postfix/virtual_aliases'], +</I>><i> + } +</I>><i> +} +</I>><i> Added: puppet/modules/postfix/manifests/server/secondary.pp +</I>><i> =================================================================== +</I>><i> --- puppet/modules/postfix/manifests/server/secondary.pp (rev 0) +</I>><i> +++ puppet/modules/postfix/manifests/server/secondary.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -0,0 +1 @@ +</I>><i> +class postfix::server::secondary inherits postfix::server { } +</I>><i> Added: puppet/modules/postfix/manifests/server.pp +</I>><i> =================================================================== +</I>><i> --- puppet/modules/postfix/manifests/server.pp (rev 0) +</I>><i> +++ puppet/modules/postfix/manifests/server.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -0,0 +1,13 @@ +</I>><i> +class postfix::server inherits postfix { +</I>><i> + include postgrey +</I>><i> + include amavis +</I>><i> + include spamassassin +</I>><i> + +</I>><i> + File['/etc/postfix/main.cf'] { +</I>><i> + content => template('postfix/main.cf'), +</I>><i> + } +</I>><i> + +</I>><i> + file { '/etc/postfix/transport_regexp': +</I>><i> + content => template('postfix/transport_regexp'), +</I>><i> + } +</I>><i> +} +</I>><i> Added: puppet/modules/postfix/manifests/simple_relay.pp +</I>><i> =================================================================== +</I>><i> --- puppet/modules/postfix/manifests/simple_relay.pp (rev 0) +</I>><i> +++ puppet/modules/postfix/manifests/simple_relay.pp 2012-03-22 15:18:24 UTC (rev 2674) +</I>><i> @@ -0,0 +1,5 @@ +</I>><i> +class postfix::simple_relay inherits postfix { +</I>><i> + File['/etc/postfix/main.cf'] { +</I>><i> + content => template('postfix/simple_relay_main.cf'), +</I>><i> + } +</I>><i> +} +</I>><i> +</I>><i> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20120322/9945203b/attachment-0001.html> +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004302.html">[Mageia-sysadm] About the old HDDs we changed in February +</A></li> + <LI>Next message: <A HREF="004306.html">[Mageia-sysadm] [sysadmin-commits] [2674] clean postfix module, rework the layout and split it in several file +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4305">[ date ]</a> + <a href="thread.html#4305">[ thread ]</a> + <a href="subject.html#4305">[ subject ]</a> + <a href="author.html#4305">[ 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> |