sending mail problem - ubuntu 8.04 - ispconfig 2.x.x - postfix

Discussion in 'HOWTO-Related Questions' started by nakalskit, May 30, 2008.

  1. nakalskit

    nakalskit New Member

    Hi all,

    i follow step by step guid in this howtoForge on installing ubuntu 8.04 server succesfully with no errors occurs during installation. i also managed to get ISPconfig install n running.

    so, i've create a site called smsdssb and a users [email protected], [email protected]. i configure my outlook express to send and received mail thru the new server at i can send/received email from and to both account.

    my problem is when i tried to send email to the internet. i can not send email to gmail / hotmail / yahoo mail or any other mailserver. outlook express gave me this following error msg

    "The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[email protected]'. Subject 'test internal to external mail', Account: '', Server: '', Protocol: SMTP, Server Response: '554 5.7.1 <[email protected]>: Relay access denied', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79"

    here is my postfix/ file looks like

    # See /usr/share/postfix/ for a commented, more complete version

    # Debian specific: Specifying a file name will cause the first
    # line of that file to be used as the name. The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname

    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    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

    readme_directory = no

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_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 =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination =,, localhost.localdomain, localhost
    relayhost =
    mynetworks =
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_client = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    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

    mydestination = /etc/postfix/local-host-names

    ---- end of -----

    so please someone help me with this.

    as additional info, my windows mail server running the same smtp-relay with the same tcp port number works. i want to switch to linux.

    thank you in advance.

    I AM SORRY EVERYBODY, i forgot to mark on 'my server requires authentication' and also 'log on using Secure Pasword Authentication'. now everything works fine!
    Last edited: May 30, 2008

Share This Page