Skip to content
Snippets Groups Projects
Select Git revision
  • 0039e4aa72c089ac98ea60beb40254e9749a0ce6
  • master default protected
  • release_3.0.0
  • test
  • feature_pre_sql
  • develop
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
26 results

local.php.dist

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    test_postfix_canonical.aug 591 B
    (*
    Module: Test_Postfix_Canonical
      Provides unit tests and examples for the <Postfix_Canonical> lens.
    *)
    
    module Test_Postfix_Canonical =
    
    (* View: conf *)
    let conf = "# a comment
    user@domain.com @domain
    @otherdomain  @otherotherdomain
    someuser  Full.Some.User
    "
    
    (* Test: Postfix_Canonical.lns *)
    test Postfix_Canonical.lns get conf =
      { "#comment" = "a comment" }
      { "pattern" = "user@domain.com"
        { "destination" = "@domain" }
      }
      { "pattern" = "@otherdomain"
        { "destination" = "@otherotherdomain" }
      }
      { "pattern" = "someuser"
        { "destination" = "Full.Some.User" }
      }