diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000573.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000573.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000573.html b/zarb-ml/mageia-sysadm/2010-November/000573.html new file mode 100644 index 000000000..446771626 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000573.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [268] - add a postgrey module + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B268%5D%20-%20add%20a%20postgrey%20module&In-Reply-To=%3C20101117155810.5D0D13FC09%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="000572.html"> + <LINK REL="Next" HREF="000599.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [268] - add a postgrey module</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B268%5D%20-%20add%20a%20postgrey%20module&In-Reply-To=%3C20101117155810.5D0D13FC09%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [268] - add a postgrey module">root at mageia.org + </A><BR> + <I>Wed Nov 17 16:58:10 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000572.html">[Mageia-sysadm] [267] - fix templates +</A></li> + <LI>Next message: <A HREF="000599.html">[Mageia-sysadm] [268] - add a postgrey module +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#573">[ date ]</a> + <a href="thread.html#573">[ thread ]</a> + <a href="subject.html#573">[ subject ]</a> + <a href="author.html#573">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 268 +Author: misc +Date: 2010-11-17 16:58:10 +0100 (Wed, 17 Nov 2010) +Log Message: +----------- +- add a postgrey module + +Added Paths: +----------- + puppet/modules/postgrey/ + puppet/modules/postgrey/manifests/ + puppet/modules/postgrey/manifests/init.pp + puppet/modules/postgrey/templates/ + puppet/modules/postgrey/templates/postgrey.sysconfig + puppet/modules/postgrey/templates/whitelist_clients.local + +Added: puppet/modules/postgrey/manifests/init.pp +=================================================================== +--- puppet/modules/postgrey/manifests/init.pp (rev 0) ++++ puppet/modules/postgrey/manifests/init.pp 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,31 @@ ++class postgrey { ++ package { postgrey: ++ ensure => installed ++ } ++ ++ service { postgrey: ++ ensure => running, ++ path => "/etc/init.d/postgrey", ++ subscribe => [ Package[postgrey]] ++ } ++ ++ file { "/etc/sysconfig/postgrey": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/postgrey.sysconfig"), ++ notify => [ Service[postgrey] ], ++ require => Package[postgrey], ++ } ++ ++ file { "/etc/postfix/postgrey_whitelist_clients.local": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/whitelist_clients.local"), ++ require => Package[postgrey], ++ notify => [ Service[postgrey]], ++ } ++} + +Added: puppet/modules/postgrey/templates/postgrey.sysconfig +=================================================================== +--- puppet/modules/postgrey/templates/postgrey.sysconfig (rev 0) ++++ puppet/modules/postgrey/templates/postgrey.sysconfig 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,12 @@ ++# change default configuration option here ++ ++# SOCKET=$(postconf -h queue_directory)/extern/postgrey/socket ++# OPTIONS="--unix=$SOCKET" ++# DBPATH=/var/lib/postgrey ++# OPTIONS="$OPTIONS --dbdir=$DBPATH" ++ ++# to use an inet connection instead of a socket ++#OPTIONS="--inet=127.0.0.1:10031" ++ ++# enable whitelisting ++OPTIONS="$OPTIONS --auto-whitelist-clients" + +Added: puppet/modules/postgrey/templates/whitelist_clients.local +=================================================================== +--- puppet/modules/postgrey/templates/whitelist_clients.local (rev 0) ++++ puppet/modules/postgrey/templates/whitelist_clients.local 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,5 @@ ++# zarb ++ryu.zarb.org ++cthulhu.zarb.org ++ ++ +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101117/f634009c/attachment.html> +</PRE> + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000572.html">[Mageia-sysadm] [267] - fix templates +</A></li> + <LI>Next message: <A HREF="000599.html">[Mageia-sysadm] [268] - add a postgrey module +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#573">[ date ]</a> + <a href="thread.html#573">[ thread ]</a> + <a href="subject.html#573">[ subject ]</a> + <a href="author.html#573">[ 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> |