mail error, perfect setup fedora core 5

Discussion in 'Installation/Configuration' started by robotny, Nov 9, 2006.

  1. robotny

    robotny New Member

    hi, i am setting up ispconfig fedora core5 perfect setup. almost all works fine, but when i send an email message to accounts in my ispconfig server get this thing:

    <[email protected]>: host mail.domain.tld[ip address] said: 554 <[email protected]>: Relay
    access denied (in reply to RCPT TO command)

    sending email from that domain have no problems.

    also have a trouble to access mysql dbs, al connections come from fqdn, not from localhost, ...anyone knows where can i change this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post your main.cf file, comments stripped. is the domain domain.tld listed in the file /etc/postfix/local-host-names

    Please check your /etc/hosts file, make sure that IP 127.0.0.1 is assoziated with the domain localhost
     
  3. robotny

    robotny New Member

    main.cf

    this is ta main.cf file:

    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    mydestination = $myhostname, localhost.$mydomain, localhost
    unknown_local_recipient_reject_code = 550
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases

    debug_peer_level = 2
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5

    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.8/samples
    readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unau
    th_destination
    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
    home_mailbox = Maildir/
    mailbox_command =


    and, yes, all the domains are listed in local-host-names.

    thanks a lot.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please remove the line:

    and then add these two lines:
    and restart postfix. It seems that a system update has removed the changes from the ISPConfig installer.
     
  5. robotny

    robotny New Member

    thanks!!!

    i made the mods, and all works fine now!!
    thank you very much!

    bye.
     

Share This Page