403Webshell
Server IP : 104.21.14.103  /  Your IP : 3.135.197.33
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_postfix_virtual.aug
(*
Module: Test_Postfix_Virtual
  Provides unit tests and examples for the <Postfix_Virtual> lens.
*)

module Test_Postfix_Virtual =

(* View: conf *)
let conf = "# a comment
virtual-alias.domain     anything
[email protected]  postmaster
[email protected]       address1
[email protected]   
    address2,
    address3
root    [email protected]
@example.net  root,postmaster
postmaster  mtaadmin+root=mta1
some_user  localuser
"

(* Test: Postfix_Virtual.lns *)
test Postfix_Virtual.lns get conf =
  { "#comment" = "a comment" }
  { "pattern" = "virtual-alias.domain"
    { "destination" = "anything" }
  }
  { "pattern" = "[email protected]"
    { "destination" = "postmaster" }
  }
  { "pattern" = "[email protected]"
    { "destination" = "address1" }
  }
  { "pattern" = "[email protected]"
    { "destination" = "address2" }
    { "destination" = "address3" }
  }
  { "pattern" = "root"
    { "destination" = "[email protected]" }
  }
  { "pattern" = "@example.net"
    { "destination" = "root" }
    { "destination" = "postmaster" }
  }
  { "pattern" = "postmaster"
    { "destination" = "mtaadmin+root=mta1" }
  }
  { "pattern" = "some_user"
    { "destination" = "localuser" }
  }

Youez - 2016 - github.com/yon3zu
LinuXploit