Gilles Dartiguelongue
4c780c184e
Handle smtp/lmtp password maps file mode
...
Do not hardcode the key name, even if there is only two at the moment
2016-06-20 18:41:43 +02:00
Gilles Dartiguelongue
62ab827c34
Replace postmap_macro by generic handling of map files
...
Merge existing handling of postfix lookup table/map files into a single
template. Mappings are read from pillar in `postfix:mapping`.
Configuration is written to the file pointed to by the relevant
directive in `postfix:config`. A single target file is supported at the
moment. The file is postmap'ed if needed.
The pillar accepts a dict or an OrderedDict.
2016-06-20 18:41:43 +02:00
Forrest
1442318df1
Merge pull request #42 from danoe/postfix_packages
...
added watch statement to restart postfix
2016-05-24 10:08:52 -07:00
Daniel Oetken
e6da76dac8
added watch statement to restart postfix
2016-05-24 12:40:05 +02:00
Wolodja Wentland
aa1d4ad5a9
Merge pull request #41 from danoe/postfix_packages
...
install postfix addons ( Debian Only)
2016-05-24 12:12:04 +02:00
Daniel Oetken
8e7544a5a8
install postfix addons ( Debian Only)
...
- mysql
- pcre
2016-05-24 11:52:18 +02:00
Forrest
ddf1aa6ce2
Merge pull request #40 from danoe/fix_readme
...
added missing sls to README
2016-05-23 10:32:54 -07:00
Daniel Oetken
8d09641f2e
added missing sls to README
2016-05-23 12:39:55 +02:00
Forrest
d167e4fb13
Merge pull request #38 from danoe/relay_domains
...
manage relay_domains file from pillar
2016-05-19 11:42:37 -07:00
Forrest
253f8d3698
Merge pull request #39 from danoe/service_enable
...
allow postfix/postgrey services to be enabled or disabled
2016-05-19 11:27:37 -07:00
Daniel Oetken
88fb050109
option to make postgrey service enabled or disabled
2016-05-19 13:55:15 +02:00
Daniel Oetken
ac7b5e1a8d
option to make postfix service enabled or disabled
2016-05-18 19:29:37 +02:00
Daniel Oetken
8c4c5e7a0a
manage relay_domains file from pillar
2016-05-18 18:38:46 +02:00
Forrest
99d7f9b6fd
Merge pull request #37 from campbellmc/master
...
Update pillar.example
2016-03-14 16:13:14 -07:00
Campbell
32f1a4387a
Update pillar.example
2016-03-14 21:43:30 +00:00
puneet kandhari
eda4021533
Merge pull request #35 from saltstack-formulas/fix_main.cf_jinja
...
fix missing bracket
2016-01-02 13:33:35 -06:00
Niels Abspoel
b632899833
fix missing bracket
2016-01-02 20:20:54 +01:00
puneet kandhari
f7c43ae6b0
Merge pull request #34 from davidkarlsen/sslCa
...
add config parameter smtp_tls_CApath to validate peers
2015-12-31 09:01:35 -06:00
david
bcf0ec995f
add config parameter smtp_tls_CApath to validate peers
2015-12-31 16:00:43 +01:00
Forrest
9bfa97d376
Merge pull request #33 from EvaSDK/fix-password-leak
...
Do not leak passwords
2015-12-29 11:41:17 -08:00
Gilles Dartiguelongue
81e9a4894a
Do not leak passwords
2015-12-29 11:28:35 +01:00
puneet kandhari
db34152940
Merge pull request #31 from iamseth/master
...
Fixing file mode bug in init.sls
2015-11-23 17:51:26 -06:00
Seth Miller
d702dd4e7f
Fixing file mode bug in init.sls
2015-11-23 17:49:13 -06:00
Forrest
83f997bce7
Merge pull request #30 from EvaSDK/29-postmap-macro
...
#29 postmap macro
2015-11-12 17:00:21 -08:00
Gilles Dartiguelongue
00d7bb582a
Add a macro to deal with postmap'ed files, closes : #29
2015-10-02 23:12:37 +02:00
Gilles Dartiguelongue
e20aeb5d89
Fix handling of smtpd_sasl_auth_enable
...
Defaults to yes but will not write yes unless a default is provided to
set_parameter.
2015-10-02 23:11:50 +02:00
Gilles Dartiguelongue
51d2e5936d
Fix excessive whitespace stripping
2015-10-02 23:11:27 +02:00
Fabian Chong
59eb3b711a
Update virtual
...
Remove spacing
2015-09-08 20:33:06 +08:00
puneet kandhari
31879915e2
Merge pull request #26 from EvaSDK/keys-in-pillar
...
Manage certificates from pillars
2015-09-03 06:07:17 -05:00
Gilles Dartiguelongue
159c9e81ac
Switch to SSL management method used in nginx.ng formula
...
Also change path to certificates since previous ones are distribution
specific. They look like Debian path, Gentoo uses different ones.
New path uses same logic as nginx's formula, use known to exist folder
which server most likely has permission to read too since it is its
configuration folder.
2015-09-03 11:01:51 +02:00
Imran Haider
06ae3b5315
Allow certs and keys to be specified in the pillar
2015-09-03 11:01:51 +02:00
Forrest
f488c404eb
Merge pull request #28 from jbeigh/master
...
enable smtp_sasl_password_maps: hash:/etc/postfix/sasl_password
2015-09-02 15:49:52 -07:00
Scott Reid
7c8836a8d9
Fix sasl_passwd indentation
2015-09-02 12:17:17 -07:00
Scott Reid
f890079a9f
Fix sasl_passwd indentation
2015-09-02 12:11:05 -07:00
Scott Reid
d520b6f2c5
Fix sasl_passwd handling - can't just dump json to sasl_passwd
2015-09-02 12:07:37 -07:00
Scott Reid
9326095571
enable creation of smtp_sasl_password_maps file from pillar
2015-09-02 11:59:57 -07:00
Forrest
68c9631f09
Merge pull request #27 from KerkhoffTechnologies/aliasfix
...
Fix virtual handling - Add sender_canonical handling
2015-08-31 14:07:36 -07:00
Richard Clark
83c0a448fe
- Fix virtual handling - can't just dump json to virtual
...
- Add in handling for sender_canonical
- Add examples to pillar
2015-08-31 16:34:51 -04:00
puneet kandhari
af33209442
Merge pull request #24 from EvaSDK/master
...
Finer template management
2015-08-30 12:25:13 -05:00
Gilles Dartiguelongue
6bec84cc23
Remove extra whitespaces in generated file
2015-08-30 18:52:25 +02:00
Gilles Dartiguelongue
609737b0cc
Enhance default TLS configuration
...
Increase default security settings according to upstream documentation
tough it is by no mean perfect.
2015-08-30 18:51:42 +02:00
Gilles Dartiguelongue
2e0e9cdd27
Add SASL handling
...
Still requires some manual actions like installing SASL provider and
configuring it but this is a first step.
2015-08-30 18:51:42 +02:00
Gilles Dartiguelongue
da1995119a
Rework restrictions parameter building
...
It still included SASL configuration that is nowhere to be found in
current main.cf template.
2015-08-30 18:51:42 +02:00
Gilles Dartiguelongue
542be4f5bb
Wrap TLS and relay options in conditional blocks
...
Basic setting enabling such feature enable the rest of the default statements.
2015-08-30 18:51:42 +02:00
puneet kandhari
5e7d54b1f6
Merge pull request #25 from BT-dschleich/master
...
make aliases work
2015-08-27 09:35:50 -05:00
Dominik Schleich
ae7ada3bb8
changed the default aliases variable name to match the one checked in init.sls / one overseen use
2015-08-27 16:16:54 +02:00
Dominik Schleich
04f365170d
changed the default aliases variable name to match the one checked in init.sls this times also in the template
2015-08-27 16:14:57 +02:00
Dominik Schleich
ca7cb13ae9
changed the default aliases variable name to match the one checked in init.sls
2015-08-27 16:11:22 +02:00
puneet kandhari
307e1624b2
Merge pull request #23 from EvaSDK/master
...
Misc enhancements
2015-08-22 10:10:06 -05:00
Gilles Dartiguelongue
cbd9aeebe9
Restore policyd-spf support
2015-08-22 14:01:29 +02:00