Commit graph

60 commits

Author SHA1 Message Date
mh
39f1218960 debian's service provider has some issues if the script is absent, we can workaround this problem using the trick of this patch 2013-05-20 18:54:13 +02:00
mh
04e63d3abc setting package correctly to absent 2013-04-23 15:25:11 -04:00
mh
ccb7492f8b add disable class 2013-04-23 15:25:04 -04:00
Silvio Rhatto
5f55183299 Syntax fix 2013-04-13 13:11:50 -03:00
Silvio Rhatto
5bae026d34 Switching to site_postfix convention 2013-01-27 15:40:56 -02:00
Silvio Rhatto
4498548534 Fixing missing delimiter 2013-01-25 14:05:35 -02:00
Silvio Rhatto
8b78b15e57 Switching to parametrized classes 2013-01-25 14:03:24 -02:00
Silvio Rhatto
5e806b99e2 Removing path from postfix::config 2013-01-21 19:19:05 -02:00
Silvio Rhatto
56bac37c33 Updating header_checks_snippet to use concat 2013-01-21 19:08:06 -02:00
Silvio Rhatto
7cc8c05c57 Merge branch 'master' of ssh://labs.riseup.net/shared-postfix
Conflicts:
	manifests/definitions/header_checks_snippet.pp
	manifests/header_checks.pp
	manifests/header_checks_snippet.pp
	manifests/init.pp
	manifests/tlspolicy.pp
	manifests/virtual_regexp_snippet.pp
2013-01-21 18:25:46 -02:00
intrigeri
881a59ac62 Move external class inclusion after sanity checks. 2012-12-30 16:06:30 +01:00
intrigeri
da8b03fcb0 Remove useless copy/pasted check.
This define has no $value parameter,
so this check does not make any sense.
2012-12-30 16:06:30 +01:00
intrigeri
fa6c3e659d Fix wrong define and directory name in documentation. 2012-12-30 16:06:30 +01:00
intrigeri
985ec1fe0a Use the concat module instead of the concatenated_file defined (Closes: #4074) 2012-12-30 16:06:30 +01:00
Silvio Rhatto
bc0d56603e Add path to postfix::config exec command to avoid failure (#3807) 2012-04-12 22:42:28 -03:00
Silvio Rhatto
531d802bad Adding transport_regexp and virtual_regexp management 2012-04-07 15:40:42 -03:00
mh
59010a1c30 put classes and defines in the proper place
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
2012-04-07 13:56:47 -03:00
mh
2c86670a92 Use proper variable scope
Facts should be addressed with $::fqdn and so on.
2012-02-16 16:58:09 +01:00
mh
77578b93bd put classes and defines in the proper place
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
2012-02-16 16:51:56 +01:00
Gabriel Filion
6a94b97ee2 Make 'myorigin' customizable
Not all sites use their fqdn as the 'myorigin' value. The new
$postfix_myorigin variable makes it possible to specify a custom value
for this option.

When no values are specified, keep the default behaviour of using $fqdn
as the value for myorigin.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-09-11 04:25:10 -04:00
Gabriel Filion
3e56ee36c3 Parametrize value of inet_interfaces
We don't always want to have postfix listen to all interfaces.

Since the config generally defaults to listening on all interfaces, make
that the default value.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-09-11 04:23:26 -04:00
Silvio Rhatto
e70609a148 Merge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix 2011-07-13 22:30:12 -03:00
Silvio Rhatto
c904fc86c5 Removing fileserver source for tls policy snippets 2011-07-13 21:22:34 -03:00
intrigeri
1f99fcdfdb Support hiding the originating IP in email relayed for an authenticated SASL client.
Untested as I've no Puppet-managed relaying email server yet.

Reference: https://we.riseup.net/debian/anonymizing-postfix
2011-03-05 04:58:57 +01:00
intrigeri
0583cf4988 Add support for managing header_checks.
This support is modeled after the existing TLS policy management:  the
header_cheks file is produced by merging snippets shipped by the Puppet
fileserver, a site-module and/or postfix::header_checks_snippet defines.
2011-03-05 04:45:37 +01:00
intrigeri
cc8c37d5da Enhance tls_policy documentation. 2011-02-26 11:19:02 +01:00
Silvio Rhatto
ecedde918e Fixing tls policy snippets source order 2011-02-23 14:21:04 -03:00
Silvio Rhatto
91897e2ad7 Additional source for tls policy snippets 2011-02-23 11:18:51 -03:00
Silvio Rhatto
e4a453aaa7 Remove inclusion of non-existent class amavisd-new 2011-02-20 11:05:57 -03:00
intrigeri
d374575bfb Rather use bsd-mailx on Debian.
It is smaller than the feature-bloated heirloom-mailx.
2010-12-15 14:43:40 +01:00
intrigeri
2f37d6cc9d Remove bashism.
In POSIX, string equality is tested using '='.
2010-12-14 21:44:04 +01:00
intrigeri
8ce9ae8259 Add support for managing Postfix TLS policy. 2010-11-10 23:10:13 +01:00
intrigeri
78c5fbe9f2 mailx is a virtual package in Squeeze. Better install heirloom-mailx.
This one is a real package, available in Lenny and Squeeze.
2010-11-10 21:55:43 +01:00
intrigeri
221fc18c8c Make indentation of postfix-amavis consistent with the rest of the module. 2010-11-10 18:33:21 +01:00
intrigeri
07c02213db Merge remote branch 'nadir/master'
Conflicts:
	manifests/classes/postfix.pp
2010-11-10 18:32:12 +01:00
varac
96b41a3e47 postfix socket synced with master.pp template 2010-11-02 20:35:09 +01:00
varac
000ec536a0 -> as in template 2010-11-02 20:34:01 +01:00
varac
e775f510cd define mailalias -> define postfix::mailalias 2010-11-02 20:33:01 +01:00
varac
070c247e96 merge with git://labs.riseup.net/shared-postfix 2010-11-02 18:26:55 +01:00
intrigeri
b8fc529f06 Documentation fix. 2010-10-18 20:44:36 +02:00
intrigeri
fc9e549f46 Bugfix: set defaults for all variables used in templates.
At least puppet 2.6.0 demands this.
2010-10-18 20:37:54 +02:00
Jerome Charaoui
04d4503a18 Correct mailalias wrapper definition 2010-09-23 14:01:21 -04:00
Jerome Charaoui
5cdb7a80b3 Add debian lenny master.cf template 2010-09-23 13:57:34 -04:00
Jerome Charaoui
6193e0e0e9 Add mailalias resource wrapper 2010-09-23 13:05:57 -04:00
Silvio Rhatto
328c20af92 Fixing deprecation issue 2010-09-14 18:27:45 -03:00
Silvio Rhatto
4250af19b6 Group and ownership for hash files 2010-08-17 22:31:07 -03:00
Silvio Rhatto
1156b6f823 Adding source parameter at postfix::hash 2010-08-15 13:58:29 -03:00
Silvio Rhatto
2703cae730 Group for main.cf and master.cf 2010-08-08 00:42:55 -03:00
Marc Fournier
3b8ef235fa postfix: added support for CentOS and Ubuntu
Based on a suggestion and patch from Nick Anderson. Thanks !
2010-02-09 21:50:59 +01:00
Francois Deppierraz
18661db4da Breaks backward compat: A few $postfix_ng_ variables were changed into $postfix_ variables 2009-12-22 20:30:26 +01:00