Commit Graph

232 Commits

Author SHA1 Message Date
Niels Abspoel
7fc82e0bd2 Merge pull request #57 from M2Mobi/aliases
Use alias states for managing mail aliases.
2017-08-03 15:51:23 +02:00
Heinz Wiesinger
e290d36699 Add option to manage mail aliases using alias states. 2017-05-08 16:55:14 +02:00
Vitali Quiering
f8514b3629 Add a mysql query to virtual_mailbox_domains, virtual_alias_maps virtual_mailbox_maps if mysql is declared in main.cf within these options 2017-04-12 17:06:16 +02:00
Niels Abspoel
21fc78dcf7 Merge pull request #55 from netmanagers/master
Minor formatting change
2017-03-29 14:58:58 +02:00
Javier Bértoli
026dd44dde Minor formatting change 2017-03-29 08:19:33 -03:00
Niels Abspoel
d1dfca2398 Merge pull request #54 from netmanagers/master
Use join() for iterable values in main.cf
2017-03-28 17:08:19 +02:00
Javier Bértoli
b0aa531297 Use join() for iterable values in main.cf 2017-03-28 11:57:34 -03:00
Lukas Erlacher
3183fc4351 Merge pull request #51 from EvaSDK/gh50-postconf-respect-file-type
Make postconf/newaliases respect file type
2017-02-23 09:36:33 +01:00
Gilles Dartiguelongue
961c1e10c4 Allow alias_database file type to be respected for running newaliases
See github issue #50.
2017-02-22 23:32:04 +01:00
Javier Bértoli
bfd8c78cc3 Merge pull request #52 from davidkarlsen/postsrsd
add support for postsrsd
2017-01-27 11:59:26 -03:00
david
8929c185fc add support for postsrsd 2017-01-09 22:01:55 +01:00
Gilles Dartiguelongue
b2fc0f1c0b Add support for default_database_type configuration option
See github issue #50.
2016-12-29 12:34:11 +01:00
Gilles Dartiguelongue
7ce8798709 Run postmap on a specific set of file types
According to postfix documentation [1], only some types of file require running
postmap, others must be left alone.

See github issue #50.

[1] http://www.postfix.org/postmap.1.html
2016-12-29 11:33:44 +01:00
Forrest
d75184a7d1 Merge pull request #49 from imran1008/virtual-users
Added config files for virtual users
2016-11-20 11:09:47 -08:00
Imran Haider
65f86e621d Added config files for virtual users 2016-11-20 11:01:34 -05:00
Niels Abspoel
0ebb0d5480 Merge pull request #43 from EvaSDK/generic-map-handling
Generic map handling
2016-07-04 23:09:43 +02:00
Gilles Dartiguelongue
e10ad0e745 Make prope use of jinja templating features
join is available in jinja-2.6, released in 2011.
2016-06-20 19:02:41 +02:00
Gilles Dartiguelongue
573211150f Actually print multiple value as described in man 5 virtual 2016-06-20 18:43:18 +02:00
Gilles Dartiguelongue
80645badee Handle mappings passed as dict or OrderedDict 2016-06-20 18:41:59 +02:00
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