Help for this page

Select Code to Download


  1. or download this
    my $datafile = '/etc/postfix/virtual';
    my $req_addr = "$username\@$domain";
    ...
      }
    }
    close FH ;
    
  2. or download this
    test.com        VIRTUALDOMAIN #defines the domain name
    @test.com       jnapier #defines the postmaster of domain
    ...
    other.com        VIRTUALDOMAIN #defines the domain name
    @other.com       jnapier #defines the postmaster of domain
    iknow@other.com  iknow #just a regular user