Exemple #1
0
function _DefaultSettings()
{
    if ($GLOBALS["EnablePostfixMultiInstance"] == 1) {
        shell_exec(LOCATE_PHP5_BIN2() . " " . dirname(__FILE__) . "/exec.postfix-multi.php --from-main-null");
        return;
    }
    cleanMultiplesInstances();
    SetSALS();
    SetTLS();
    inet_interfaces();
    imap_sockets();
    MailBoxTransport();
    mynetworks();
    headers_check(1);
    MasterCFBuilder();
    mime_header_checks();
    smtp_sasl_auth_enable();
    smtpd_recipient_restrictions();
    smtpd_client_restrictions_clean();
    smtpd_client_restrictions();
    smtpd_sasl_exceptions_networks();
    sender_bcc_maps();
    CleanMyHostname();
    OthersValues();
    luser_relay();
    smtpd_sender_restrictions();
    smtpd_end_of_data_restrictions();
    perso_settings();
    remove_virtual_mailbox_base();
    postscreen();
    smtp_sasl_security_options();
    BodyChecks();
    postfix_templates();
    ReloadPostfix();
}
catch_all();
build_aliases_maps();
build_virtual_alias_maps();
relais_domains_search();
build_relay_domains();
relay_recipient_maps_build();
recipient_canonical_maps_build();
recipient_canonical_maps();
sender_canonical_maps_build();
sender_canonical_maps();
smtp_generic_maps();
sender_dependent_relayhost_maps();
smtp_sasl_password_maps();
recipient_bcc_maps();
recipient_bcc_maps_build();
sender_bcc_maps();
sender_bcc_maps_build();
build_local_recipient_maps();
mydestination_search();
mydestination();
transport_maps_search();
build_transport_maps();
relayhost();
postmaster();
build_cyrus_lmtp_auth();
shell_exec("{$GLOBALS["postfix"]} reload >/dev/null 2>&1");
function recipient_bcc_maps()
{
    $ldap = new clladp();
    $filter = "(&(objectClass=UserArticaClass)(RecipientToAdd=*))";
    $attrs = array("RecipientToAdd", "mail");
function _DefaultSettings()
{
    if ($GLOBALS["EnablePostfixMultiInstance"] == 1) {
        shell_exec(LOCATE_PHP5_BIN2() . " " . dirname(__FILE__) . "/exec.postfix-multi.php --from-main-null");
        return;
    }
    SetTLS();
    inet_interfaces();
    headers_check(1);
    ArticaFilterInMasterCF();
    ArticaFilterInMasterCFPipe();
    MasterCFSSL();
    mime_header_checks();
    smtp_sasl_auth_enable();
    smtpd_recipient_restrictions();
    smtpd_client_restrictions();
    smtpd_sasl_exceptions_networks();
    sender_bcc_maps();
    CleanMyHostname();
    OthersValues();
    MailBoxTransport();
    mynetworks();
    luser_relay();
    perso_settings();
    ReloadPostfix();
}