2nd Domain Email Problem

Discussion in 'Installation/Configuration' started by pendland, Apr 12, 2007.

  1. pendland

    pendland New Member

    Everything works great except email on my second domain.

    I get:

    The following recipient(s) could not be reached:

    '[email protected]' on 4/12/2007 10:46 AM
    550 sorry, no mailbox here by that name (#5.1.1)

    Now I can send from [email protected] fine.

    Main.cf
    ----------------------------------------------------------------
    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_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.3.3/samples

    readme_directory = /usr/share/doc/postfix-2.3.3/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
    mynetworks = 127.0.0.0/8
    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

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


    local-hosts-names
    ----------------------------------------------------------------
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    mailserver1.7point62.com
    localhost.mailserver1.7point62.com
    localhost.7point62.com
    localhost.localdomain
    www.7point62.com
    www.accelerationclinical.com
    7point62.com
    accelerationclinical.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

    virtusertable
    ----------------------------------------------------------------
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    # Version 1.0
    #
    ###################################
    [email protected] web1_rpendland
    [email protected] web1_rpendland
    [email protected] web1_rpendland
    [email protected] web1_rpendland
    [email protected] web2_rpendland
    [email protected] web2_rpendland
    [email protected] web2_rpendland
    [email protected] web2_rpendland
    [email protected] web2_testuser
    [email protected] web2_testuser
    [email protected] web2_testuser
    [email protected] web2_testuser
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

    I used the lamp install for ISPConfig for Fedora 6

    I can send and recieve fine from 7point62.com domain but I can only send from accelerationclinical.com from either rpendland or testuser - both get a 550 error.
     
  2. pendland

    pendland New Member

    I take that back - I needed to add this to the main.cf for 7point62.com to work:

    mydomain = 7point62.com

    other wise I got the following error:

    This is the mail system at host mailserver1.localdomain.

    I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can delete your own text from the attached returned message.

    The mail system

    <[email protected]> (expanded from
    <[email protected]>): Host or domain name not found. Name service
    error for name=mailserver1.localdomain type=A: Host not found

    Thanks in advance
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Yes, you should add a working domain there (at least one that's listed in /etc/hosts if the domain doesn't exist in DNS).
     

Share This Page