help with postfix with errors

Filter
2013-02-28
2013-02-28
  • Filter

    Filter - 2013-02-28

    I tried for 3 days and come up with this error and dont know what to do next ;( please help
    p.s. I'm trying first time to setup mail server. tryed diferent manuals but no luck maybe you can help with problem

    postconf -n

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mailbox_size_limit = 0
    message_size_limit = 30720000
    mydestination = localhost, localhost.localdomain
    myhostname = mail.domain.com
    mynetworks = 192.168.0.0/16
    myorigin = /etc/mailname
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    virtual_alias_domains =
    virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
    virtual_gid_maps = 5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domain_maps.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    virtual_uid_maps = 5000

     
    Last edit: Filter 2013-02-28
  • Simon Hobson

    Simon Hobson - 2013-02-28

    Firstly, this is not a general Postfix help forum, this forum is for the Postfix Admin package which manages virtual alias tables for use by Postfix. The Postfix package has it's own help forums.
    The main site for Postfix is over at postfix.org.

    Secondly, what is the error ? There is no error shown, only a partial config.
    However, from that I can see that you have not correctly configured the Postfix Admin bits - you need to follow the install document that is included with the software. Do not follow some random guide from the internet - they are often out of date and do not include all current features/setup (for example, many guides will show only a subset of the SQL files as more were added in the current version).

    Lastly, you would be strongly advised to get a basic Postfix installation working - at least so you can process and forward locally generated traffic. Once you have Postfix working, then add the Postfix Admin config.
    Doing it this way will make it much easier to diagnose issues - just going for everything in one big bang means you have multiple areas to diagnose/debug at once, which for a beginner is making things harder than they need to be.

     

Log in to post a comment.