This project is mirrored from https://github.com/camptocamp/puppet-postfix.git. Pull mirroring updated .
  1. 20 May, 2013 8 commits
  2. 18 Jan, 2013 1 commit
  3. 17 Jan, 2013 1 commit
    • Ewoud Kohl van Wijngaarden's avatar
      Allow blank destinations · a9878376
      Ewoud Kohl van Wijngaarden authored
      It's possible to have a blank destination. A typical use case is discarding
      everything except one domain[1].
      
      example.org :
      .example.org :
      * discard:
      
      One would implement this using puppet-postfix as follows:
      
      postfix::transport { ['example.org', '.example.org']:
        destination => '',
      }
      postfix::transport { '*':
        destination => 'discard',
      }
      
      However, this will result into an error:
      
      err: /Stage[main]/MyClass/Postfix::Transport[example.org]/Augeas[Postfix transport - example.org]: Could not evaluate: Save failed with return code false
      err: /Stage[main]/MyClass/Postfix::Transport[.example.org]/Augeas[Postfix transport - .example.org]: Could not evaluate: Save failed with return code false
      
      The solution is to use clear instead of set if the destination is empty. This
      patch changes the destination to follow a similar pattern as nexthop. For
      convenience it also adds a default to destination since that can now be handled
      properly. Thus the following works.
      
      postfix::transport { ['example.org', '.example.org']:
      }
      postfix::transport { '*':
        destination => 'discard',
      }
      
      [1]: http://dannyman.toldme.com/2008/09/15/howto-postfix-deliver-external-devnull/
      a9878376
  4. 16 Dec, 2012 2 commits
  5. 24 Oct, 2012 1 commit
  6. 23 Oct, 2012 1 commit
  7. 16 Oct, 2012 2 commits
  8. 01 Oct, 2012 2 commits
  9. 28 Sep, 2012 1 commit
  10. 27 Sep, 2012 1 commit
  11. 26 Sep, 2012 2 commits
  12. 23 Sep, 2012 1 commit
  13. 10 Sep, 2012 7 commits
  14. 17 Apr, 2012 1 commit
  15. 05 Apr, 2012 2 commits
  16. 04 Apr, 2012 2 commits
  17. 28 Mar, 2012 1 commit
  18. 15 Nov, 2011 2 commits
  19. 08 Nov, 2011 1 commit
  20. 20 Oct, 2011 1 commit