summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-March/004305.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2012-March/004305.html')
-rw-r--r--zarb-ml/mageia-sysadm/2012-March/004305.html308
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 &lt;
+<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">packages-commits at ml.mageia.org</A>&gt;: Recipient address rejected: User unknown
+in local recipient table; from=&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">schedbot at valstar.mageia.org</A>&gt; to=&lt;
+<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">packages-commits at ml.mageia.org</A>&gt; proto=ESMTP helo=&lt;valstar.mageia.org&gt;
+
+Mar 22 20:18:08 alamut postfix/smtpd[1385]: NOQUEUE: reject: RCPT from
+valstar.mageia.org[212.85.158.147]: 450 4.1.1 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">changelog at ml.mageia.org</A>&gt;:
+Recipient address rejected: User unknown in local recipient table; from=&lt;
+<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">schedbot at valstar.mageia.org</A>&gt; to=&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">changelog at ml.mageia.org</A>&gt; proto=ESMTP helo=&lt;
+valstar.mageia.org&gt;
+
+Reported by AL13N as bugzilla fails to send email and gives an error
+
+On Thu, Mar 22, 2012 at 15:18, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A>&gt; wrote:
+
+&gt;<i> **
+</I>&gt;<i> Revision 2674 Author misc Date 2012-03-22 16:18:24 +0100 (Thu, 22 Mar
+</I>&gt;<i> 2012) Log Message
+</I>&gt;<i>
+</I>&gt;<i> clean postfix module, rework the layout and split it in several file
+</I>&gt;<i>
+</I>&gt;<i> Modified Paths
+</I>&gt;<i>
+</I>&gt;<i> - puppet/manifests/nodes/alamut.pp&lt;#1363afcdfc8acd3f_puppetmanifestsnodesalamutpp&gt;
+</I>&gt;<i> - puppet/manifests/nodes/krampouezh.pp&lt;#1363afcdfc8acd3f_puppetmanifestsnodeskrampouezhpp&gt;
+</I>&gt;<i> - puppet/modules/postfix/manifests/init.pp&lt;#1363afcdfc8acd3f_puppetmodulespostfixmanifestsinitpp&gt;
+</I>&gt;<i>
+</I>&gt;<i> Added Paths
+</I>&gt;<i>
+</I>&gt;<i> - puppet/modules/postfix/manifests/server/
+</I>&gt;<i> - puppet/modules/postfix/manifests/server/primary.pp&lt;#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserverprimarypp&gt;
+</I>&gt;<i> - puppet/modules/postfix/manifests/server/secondary.pp&lt;#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserversecondarypp&gt;
+</I>&gt;<i> - puppet/modules/postfix/manifests/server.pp&lt;#1363afcdfc8acd3f_puppetmodulespostfixmanifestsserverpp&gt;
+</I>&gt;<i> - puppet/modules/postfix/manifests/simple_relay.pp&lt;#1363afcdfc8acd3f_puppetmodulespostfixmanifestssimple_relaypp&gt;
+</I>&gt;<i>
+</I>&gt;<i> Modified: puppet/manifests/nodes/alamut.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/manifests/nodes/alamut.pp 2012-03-22 15:18:21 UTC (rev 2673)
+</I>&gt;<i> +++ puppet/manifests/nodes/alamut.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -20,7 +20,7 @@
+</I>&gt;<i> include transifex
+</I>&gt;<i> include bugzilla
+</I>&gt;<i> include sympa::server
+</I>&gt;<i> - include postfix::primary_smtp
+</I>&gt;<i> + include postfix::server::primary
+</I>&gt;<i>
+</I>&gt;<i> # temporary, just the time the vm is running there
+</I>&gt;<i> host { 'friteuse':
+</I>&gt;<i> Modified: puppet/manifests/nodes/krampouezh.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/manifests/nodes/krampouezh.pp 2012-03-22 15:18:21 UTC (rev 2673)
+</I>&gt;<i> +++ puppet/manifests/nodes/krampouezh.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -5,7 +5,7 @@
+</I>&gt;<i> #
+</I>&gt;<i> #include common::default_mageia_server
+</I>&gt;<i> include common::default_mageia_server_no_smtp
+</I>&gt;<i> - include postfix::secondary_smtp
+</I>&gt;<i> + include postfix::server::secondary
+</I>&gt;<i> include blog::base
+</I>&gt;<i> include blog::db_backup
+</I>&gt;<i> include mysql::server
+</I>&gt;<i> Modified: puppet/modules/postfix/manifests/init.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/postfix/manifests/init.pp 2012-03-22 15:18:21 UTC (rev 2673)
+</I>&gt;<i> +++ puppet/modules/postfix/manifests/init.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -1,71 +1,13 @@
+</I>&gt;<i> class postfix {
+</I>&gt;<i> - class base {
+</I>&gt;<i> - package { [postfix,nail]: }
+</I>&gt;<i> + package { ['postfix', 'nail']: }
+</I>&gt;<i>
+</I>&gt;<i> - service { postfix:
+</I>&gt;<i> - subscribe =&gt; Package['postfix'],
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - file { '/etc/postfix/main.cf':
+</I>&gt;<i> - require =&gt; Package[&quot;postfix&quot;],
+</I>&gt;<i> - content =&gt; &quot;&quot;,
+</I>&gt;<i> - notify =&gt; Service['postfix'],
+</I>&gt;<i> - }
+</I>&gt;<i> + service { 'postfix':
+</I>&gt;<i> + subscribe =&gt; Package['postfix'],
+</I>&gt;<i> }
+</I>&gt;<i>
+</I>&gt;<i> -
+</I>&gt;<i> - class simple_relay inherits base {
+</I>&gt;<i> - File['/etc/postfix/main.cf'] {
+</I>&gt;<i> - content =&gt; template(&quot;postfix/simple_relay_main.cf&quot;),
+</I>&gt;<i> - }
+</I>&gt;<i> + file { '/etc/postfix/main.cf':
+</I>&gt;<i> + require =&gt; Package['postfix'],
+</I>&gt;<i> + content =&gt; '',
+</I>&gt;<i> + notify =&gt; Service['postfix'],
+</I>&gt;<i> }
+</I>&gt;<i> -
+</I>&gt;<i> - class smtp_server inherits base {
+</I>&gt;<i> - include postgrey
+</I>&gt;<i> - include amavis
+</I>&gt;<i> - include spamassassin
+</I>&gt;<i> -
+</I>&gt;<i> - File['/etc/postfix/main.cf'] {
+</I>&gt;<i> - content =&gt; template(&quot;postfix/main.cf&quot;),
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - file { '/etc/postfix/transport_regexp':
+</I>&gt;<i> - content =&gt; template(&quot;postfix/transport_regexp&quot;),
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - class primary_smtp inherits smtp_server {
+</I>&gt;<i> -
+</I>&gt;<i> - package { &quot;postfix-ldap&quot;: }
+</I>&gt;<i> -
+</I>&gt;<i> - # council is here until we fully decide who has aliases in com team,
+</I>&gt;<i> - # see <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1345">https://bugs.mageia.org/show_bug.cgi?id=1345</A>
+</I>&gt;<i> - # alumini is a special group for tracking previous members of
+</I>&gt;<i> - # the project, so they keep their aliases for a time
+</I>&gt;<i> - $aliases_group = ['mga-founders','mga-packagers',
+</I>&gt;<i> - 'mga-sysadmin','mga-council',
+</I>&gt;<i> - 'mga-alumni','mga-i18n-committers',
+</I>&gt;<i> - ]
+</I>&gt;<i> - $ldap_password = extlookup(&quot;postfix_ldap&quot;,'x')
+</I>&gt;<i> - $ldap_servers = get_ldap_servers()
+</I>&gt;<i> -
+</I>&gt;<i> - file {
+</I>&gt;<i> - '/etc/postfix/master.cf': content =&gt; template(&quot;postfix/primary_master.cf&quot;);
+</I>&gt;<i> - '/etc/postfix/ldap_aliases.conf': content =&gt; template(&quot;postfix/ldap_aliases.conf&quot;);
+</I>&gt;<i> - # TODO merge the file with the previous one, for common part (ldap, etc)
+</I>&gt;<i> - '/etc/postfix/group_aliases.conf': content =&gt; template(&quot;postfix/group_aliases.conf&quot;);
+</I>&gt;<i> - # TODO make it conditional to the presence of sympa
+</I>&gt;<i> - '/etc/postfix/sympa_aliases': content =&gt; template(&quot;postfix/sympa_aliases&quot;);
+</I>&gt;<i> - '/etc/postfix/virtual_aliases': content =&gt; template(&quot;postfix/virtual_aliases&quot;);
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - exec { &quot;postmap /etc/postfix/virtual_aliases&quot;:
+</I>&gt;<i> - refreshonly =&gt; true,
+</I>&gt;<i> - subscribe =&gt; File['/etc/postfix/virtual_aliases'],
+</I>&gt;<i> - }
+</I>&gt;<i> - }
+</I>&gt;<i> -
+</I>&gt;<i> - class secondary_smtp inherits smtp_server {
+</I>&gt;<i> - }
+</I>&gt;<i> }
+</I>&gt;<i> Added: puppet/modules/postfix/manifests/server/primary.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/postfix/manifests/server/primary.pp (rev 0)
+</I>&gt;<i> +++ puppet/modules/postfix/manifests/server/primary.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -0,0 +1,37 @@
+</I>&gt;<i> +class postfix::server::primary inherits postfix::server {
+</I>&gt;<i> +
+</I>&gt;<i> + package { 'postfix-ldap': }
+</I>&gt;<i> +
+</I>&gt;<i> + # council is here until we fully decide who has aliases in com team,
+</I>&gt;<i> + # see <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1345">https://bugs.mageia.org/show_bug.cgi?id=1345</A>
+</I>&gt;<i> + # alumini is a special group for tracking previous members of
+</I>&gt;<i> + # the project, so they keep their aliases for a time
+</I>&gt;<i> + $aliases_group = ['mga-founders',
+</I>&gt;<i> + 'mga-packagers',
+</I>&gt;<i> + 'mga-sysadmin',
+</I>&gt;<i> + 'mga-council',
+</I>&gt;<i> + 'mga-alumni',
+</I>&gt;<i> + 'mga-i18n-committers']
+</I>&gt;<i> + $ldap_password = extlookup('postfix_ldap','x')
+</I>&gt;<i> + $ldap_servers = get_ldap_servers()
+</I>&gt;<i> +
+</I>&gt;<i> + file {
+</I>&gt;<i> + '/etc/postfix/master.cf':
+</I>&gt;<i> + content =&gt; template('postfix/primary_master.cf');
+</I>&gt;<i> + '/etc/postfix/ldap_aliases.conf':
+</I>&gt;<i> + content =&gt; template('postfix/ldap_aliases.conf');
+</I>&gt;<i> + # TODO merge the file with the previous one, for common part (ldap, etc)
+</I>&gt;<i> + '/etc/postfix/group_aliases.conf':
+</I>&gt;<i> + content =&gt; template('postfix/group_aliases.conf');
+</I>&gt;<i> + # TODO make it conditional to the presence of sympa
+</I>&gt;<i> + '/etc/postfix/sympa_aliases':
+</I>&gt;<i> + content =&gt; template('postfix/sympa_aliases');
+</I>&gt;<i> + '/etc/postfix/virtual_aliases':
+</I>&gt;<i> + content =&gt; template('postfix/virtual_aliases');
+</I>&gt;<i> + }
+</I>&gt;<i> +
+</I>&gt;<i> + exec { 'postmap /etc/postfix/virtual_aliases':
+</I>&gt;<i> + refreshonly =&gt; true,
+</I>&gt;<i> + subscribe =&gt; File['/etc/postfix/virtual_aliases'],
+</I>&gt;<i> + }
+</I>&gt;<i> +}
+</I>&gt;<i> Added: puppet/modules/postfix/manifests/server/secondary.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/postfix/manifests/server/secondary.pp (rev 0)
+</I>&gt;<i> +++ puppet/modules/postfix/manifests/server/secondary.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -0,0 +1 @@
+</I>&gt;<i> +class postfix::server::secondary inherits postfix::server { }
+</I>&gt;<i> Added: puppet/modules/postfix/manifests/server.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/postfix/manifests/server.pp (rev 0)
+</I>&gt;<i> +++ puppet/modules/postfix/manifests/server.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -0,0 +1,13 @@
+</I>&gt;<i> +class postfix::server inherits postfix {
+</I>&gt;<i> + include postgrey
+</I>&gt;<i> + include amavis
+</I>&gt;<i> + include spamassassin
+</I>&gt;<i> +
+</I>&gt;<i> + File['/etc/postfix/main.cf'] {
+</I>&gt;<i> + content =&gt; template('postfix/main.cf'),
+</I>&gt;<i> + }
+</I>&gt;<i> +
+</I>&gt;<i> + file { '/etc/postfix/transport_regexp':
+</I>&gt;<i> + content =&gt; template('postfix/transport_regexp'),
+</I>&gt;<i> + }
+</I>&gt;<i> +}
+</I>&gt;<i> Added: puppet/modules/postfix/manifests/simple_relay.pp
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/postfix/manifests/simple_relay.pp (rev 0)
+</I>&gt;<i> +++ puppet/modules/postfix/manifests/simple_relay.pp 2012-03-22 15:18:24 UTC (rev 2674)
+</I>&gt;<i> @@ -0,0 +1,5 @@
+</I>&gt;<i> +class postfix::simple_relay inherits postfix {
+</I>&gt;<i> + File['/etc/postfix/main.cf'] {
+</I>&gt;<i> + content =&gt; template('postfix/simple_relay_main.cf'),
+</I>&gt;<i> + }
+</I>&gt;<i> +}
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20120322/9945203b/attachment-0001.html&gt;
+</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>