Commit Graph

22 Commits

Author SHA1 Message Date
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
d167e4fb13 Merge pull request #38 from danoe/relay_domains
manage relay_domains file from pillar
2016-05-19 11:42: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
Campbell
32f1a4387a Update pillar.example 2016-03-14 21:43:30 +00:00
david
bcf0ec995f add config parameter smtp_tls_CApath to validate peers 2015-12-31 16:00:43 +01: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
Scott Reid
9326095571 enable creation of smtp_sasl_password_maps file from pillar 2015-09-02 11:59:57 -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
Gilles Dartiguelongue
cbd9aeebe9 Restore policyd-spf support 2015-08-22 14:01:29 +02:00
Gilles Dartiguelongue
04f97681eb Handle postgrey setup in main.cf 2015-08-22 13:36:18 +02:00
Imran Haider
d150baea1d Conditionally enable submission service 2015-07-11 05:58:29 -04:00
jeroen92
493298fff1 Add option to let the module (not) manage the master.cf 2015-03-25 12:49:57 +01:00
Ivan Vari
689f32184c reverted commit 6286442 to avoid promoting grain lookup in pillars 2015-03-18 07:03:35 +13:00
Skyler Berg
082757e97c Remove nested quotes around 'yes' and 'no' in pillar.example 2014-11-21 11:22:22 -08:00
skyler
6286442d75 Use grains in pillar.example 2014-08-19 19:14:45 -07:00
skyler
844de7cf57 Remove Ubuntu specific defaults 2014-08-19 19:12:20 -07:00
skyler
4237556a6f Add extra quotes to prevent 'yes' and 'no' from becoming 'True' and 'False' 2014-08-19 19:11:20 -07:00
skyler
46bd93f91f Update pillar.example to have settings for config file 2014-08-19 17:33:16 -07:00
Michael Grosser
1296dc3b71 Add pillar.example 2013-07-27 22:23:42 +02:00