postfix stop logging after reinstall ISPconfig

Discussion in 'Installation/Configuration' started by k0d1, Feb 18, 2008.

  1. k0d1

    k0d1 New Member

    In process of migration from Appache1 -> Apache2, I reinstall ISPConfig.
    After that I see Postfix has no logging in /avr/log/mail. Even the restart of Postfix make no log.
    What could be the reason?
    In postconf -n:
    Code:
    alias_maps = hash:/etc/aliases
    biff = no
    broken_sasl_auth_clients = yes
    canonical_maps = hash:/etc/postfix/canonical
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    defer_transports =
    disable_dns_lookups = no
    disable_mime_output_conversion = no
    html_directory = /usr/share/doc/packages/postfix/html
    inet_interfaces = all
    inet_protocols = all
    mail_owner = postfix
    mail_spool_directory = /var/mail
    mailbox_command =
    mailbox_size_limit = 0
    mailbox_transport =
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    masquerade_classes = envelope_sender, header_sender, header_recipient
    masquerade_domains =
    masquerade_exceptions = root
    message_size_limit = 10240000
    mydestination = /etc/postfix/local-host-names
    mydomain = istool.ru
    myhostname = server1.$mydomain
    mynetworks = 127.0.0.0/8
    mynetworks_style = subnet
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    relayhost =
    relocated_maps = hash:/etc/postfix/relocated
    sample_directory = /usr/share/doc/packages/postfix/samples
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    sendmail_path = /usr/sbin/sendmail
    setgid_group = maildrop
    smtp_sasl_auth_enable = no
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_client_restrictions =
    smtpd_helo_required = no
    smtpd_helo_restrictions =
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_sender_restrictions = hash:/etc/postfix/access
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_use_tls = yes
    strict_8bitmime = no
    strict_rfc821_envelopes = no
    tls_random_source = dev:/dev/urandom
    transport_maps = hash:/etc/postfix/transport
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains = hash:/etc/postfix/virtual
    
     
  2. k0d1

    k0d1 New Member

    cause and consequence

    In debuuging process I found problem in ISPConfig directives ##ISPConfig INSTALL## in php5.conf
    4's line in code work except others
    Code:
    <IfModule mod_php5.c>
            AddHandler ##ISPConfig INSTALL## application/x-httpd-php .php4
            AddHandler ##ISPConfig INSTALL## application/x-httpd-php .php5
            AddHandler  application/x-httpd-php .php
            AddHandler ##ISPConfig INSTALL## application/x-httpd-php-source .php4s
            AddHandler ##ISPConfig INSTALL## application/x-httpd-php-source .php5s
            AddHandler ##ISPConfig INSTALL## application/x-httpd-php-source .phps
    .......
    </IfModule>
     
  3. falko

    falko Super Moderator ISPConfig Developer

    The mail log is /var/log/mail.
     
  4. k0d1

    k0d1 New Member

    I was so stupid?

    :) misprint was in post but not in mc.
    I delete the file /var/log/mail and it was not apear even after restart postfix.
     

Share This Page