loops back to myself

Discussion in 'Installation/Configuration' started by asabi, Sep 22, 2006.

  1. asabi

    asabi New Member

    Hi,

    I followed the Fedora Core 5 installation guide, and installed ISPconfig.

    Everything seems to be fine (Everyone recieves and sends email), but

    For each email recieved, there is also an email with:

    undelivered mail returned to sender:

    localhost.localdomain.sabi.ws loops back to myself

    I had to change the soft_bounce to "yes" in the main.cf file for postfix, otherwise, It kept looping back filling up the mail boxes.

    Below is the configuration information, please let me know if anything else is needed ... :-(

    This is my main.cf file (after removing all of the comments):

    soft_bounce = yes
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    unknown_local_recipient_reject_code = 550
    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_unauth_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 =

    virtual_maps = hash:/etc/postfix/virtusertable

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

    The /etc/postdix/local-host-names are:

    (The server identifies itself as server.sabi.ws)

    localhost
    server.sabi.ws
    localhost.server.sabi.ws
    localhost.sabi.ws
    localhost.localdomain
    www.mysmallhome.com
    www.ezwebsite.ca
    www.gladysarts.com
    www.orca-art.com
    mysmallhome.com
    ezwebsite.ca
    gladysarts.com
    orca-art.com
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add:


    localhost.localdomain.sabi.ws

    at the end of the file /etc/postfix/local-host-names and restart postfix.
     
  3. asabi

    asabi New Member

    It looks like it did it :)

    Thank you very much

    Alon Sabi
     

Share This Page