NIS Warning

Discussion in 'Installation/Configuration' started by Torsson, Mar 11, 2008.

  1. Torsson

    Torsson New Member

    Hi. I get this message when i revice mail

    "Mar 11 09:17:53 de-0083 postfix/smtpd[27615]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled"

    What do i need to do to fix this?

    I have Debian and did the Postfix + mysql + virtual host guide like 7 months ago
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/main.cf?
     
  3. Torsson

    Torsson New Member

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    myhostname = mail.indexdesigns.net
    mydestination = mail.indexdesigns.net, localhost, localhost.localdomain
    mynetworks = 127.0.0.0/8
    relayhost =
    myorigin = /etc/mailname
    inet_interfaces = all
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    #smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

    #smtpd_recipient_restrictions = permit_sasl_authenticated,
    # permit_mynetworks,
    # reject_unauth_destination,
    # check_policy_service inet:127.0.0.1:60000

    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_reci$
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
     
  4. ebal

    ebal New Member

    just remove the comment from this line

    alias_maps = hash:/etc/aliases

    you (as i) dont use NIS at your smtp
     

Share This Page