Problem with postfix

Discussion in 'Tips/Tricks/Mods' started by kings, Sep 3, 2009.

  1. kings

    kings Member

    I administrate their own server built on the requirements of Perfect server Mandriva 2009.0 64 bit publish on howtoforge.com. Then I installed and ISPConfig 2.2.32.
    On this server I try to let the mail server and Postfix. But unfortunately, despite absolutely correct execution of the installation of web, MySQL and Postfix, mail server can not make him go.
    I would like to realize the following:
    Every domain uploaded to the server is a standalone mail server .
    All domains and mailboxes are created with the help of ISPConfig. But I can not receive mail in the boxes, gives me the missing transport.
    1.How to fix this?
    2.Are necessary to create a database for mailboxes and virtual domains and FTP users? If necessary how?
    Please help.

    My mail.log say:
    Sep 1 16:45:32 shvv freshclam[3904]: Can't get information about database.clamav.net: Temporary failure in name resolution
    Sep 3 15:01:25 shvv postfix/postmap[27227]: fatal: open /etc/postfix/relay_domains: No such file or directory
    Sep 3 15:01:26 shvv postfix/postmap[27234]: fatal: open /etc/postfix/relay_recipients: No such file or directory
     
    Last edited: Sep 3, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/main.cf and /etc/resolv.conf?
     
  3. kings

    kings Member

    About resolv.conf and main.cf

    In resolv.conf :
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.1.1


    and main.cf :


    # Please be sure to read the /usr/share/doc/postfix/README.MDK file
    # to learn about differences from stock postfix to Mandriva package.
    # This file contains only the parameters changed from a default install
    # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.

    # These are changed by postfix install script
    readme_directory = /usr/share/doc/postfix/README_FILES
    html_directory = /usr/share/doc/postfix/html
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    command_directory = /usr/sbin
    manpage_directory = /usr/share/man
    daemon_directory = /usr/lib64/postfix
    newaliases_path = /usr/bin/newaliases
    mailq_path = /usr/bin/mailq
    queue_directory = /var/spool/postfix
    mail_owner = postfix

    # User configurable parameters

    inet_interfaces = all
    mynetworks_style = host
    #delay_warning_time = 4h
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
    unknown_local_recipient_reject_code = 550
    smtp-filter_destination_concurrency_limit = 2
    lmtp-filter_destination_concurrency_limit = 2
    data_directory = /var/lib/postfix
    recipient_delimiter = +
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    mydestination = /etc/postfix/local-host-names, localhost.$mydomain
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mynetworks = 127.0.0.0/8
    mydomain = example.eu
    myhostname = shvv.$mydomain
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable
    content_filter = lmtp-filter:127.0.0.1:10025
    receive_override_options = no_address_mappings
    home_mailbox = Maildir/
    mailbox_command =
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please try this:
    Code:
    touch /etc/postfix/relay_domains
    touch /etc/postfix/relay_recipients
    Do you still get errors then?
     
  5. kings

    kings Member

    After this code.....postfix make mistakes.


    155B6881397 Mon Sep 7 04:53:56 [email protected] [email protected] 2.26 kB mail transport unavailable
    6D588881B25 Mon Sep 7 04:58:59 [email protected] [email protected] 2.53 kB mail transport unavailable
     

Share This Page