Create E-Mail Address for Co-Domain.

Discussion in 'Installation/Configuration' started by denmaus, Dec 15, 2006.

  1. denmaus

    denmaus New Member

    Helo,

    i would to know if it is possible to create E-Mail addresses for Co-Domains.

    for eg. I have:

    Web: www.example.com
    an I created Co-Domain for this Domain: www.example123.com
    Now I want to create E-Mail Addresses:
    [email protected] (no problem)
    [email protected] (possible?)
    [email protected] (possible?)

    or should I create new Web for this Domain :confused:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The email addresses for the co-domains where created automatically, as co-domains are a alias of the primary domain.
     
  3. denmaus

    denmaus New Member

    Ok.

    thanks for fast answer.

    so:

    [email protected] = [email protected]
    and
    [email protected] = [email protected]

    great! :)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes, if example123.com is a co-domain of example.com


    Yes, when user1 is the username of the email address info or user1 is a email alias for info.
     
  5. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If example123.com is a co-domain of example.com, then they share the same info@ mailbox. If you want different mailboxes, just create a new website for example123.com.
     
  7. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    So if I set two email account in my email client is not correct, isn't it?
    If a user send an email at [email protected] the same email will go to the [email protected] account too, right?

    At the end there will be two email account with the same mailbox:
    [email protected]
    [email protected]

    and if the user configures the [email protected], he will receive also the emails of the [email protected] account, right?

    Thanks
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    I have sent an email to the first email account and it arrives correctly. Then I have sent another email to the co-domain email account but It doesn't arrive. why?!
     
  10. edge

    edge Active Member Moderator

    What you are trying to do will not work.
    If you want to have email for example.com, you will need to create a website for example.com (you did this allready)

    NOW.
    If you want email for example123.com, you will need to create an other website for example123.com.

    Just adding example123.com, in the co-domain area from example.com will work for websites, but NOT for email.
     
  11. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Ok Edge,

    so the Co-Domains cannot have the emails accounts?

    Have I to configure the account in my email client in a different way to use the alias?


    When I send an email to the real account by Gmail, it reply me with this new email:


    Code:
    This is an automatically generated Delivery Status Notification
    
    Delivery to the following recipient failed permanently:
    
        [email protected]
    
    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 13): 554 5.7.1 <[email protected]>: Relay access denied
    
    The domain that I'm using is register correctly and the main email accounts receives the emails normally. Only the email accounts of the co-domain example123.com doesn't work.

    Why?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

  13. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    The co-domain has another tld like example123.net and the hostname field is empty.

    thanks
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    This sould work as well. Have a look at /etc/postfix/virtusertable, are the email accounts for the co-domain listed there?
     
  15. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    In the /etc/postfix/virtusertable is present the alias for the co-domain but when eudora or Outlook look at the mailbox is empty. Have I configure the outlook account in a different way?

    thanks Till
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log when a mail is sent to your server?
     
  17. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi Falko,

    I have seen the Log and there is an error:

    Code:
    Sep  2 10:56:26 server1 postfix/smtpd[24128]: NOQUEUE: reject: RCPT from p5B06C6F4.dip.t-dialin.net[91.6.198.244]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<p5B06C6F4.dip.t-dialin.net>
    
    thanks
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Is the domain example123.com listed in /etc/postfix/local-host-names ?
    2) Please post the content of /etc/postfix/main.cf, comments stripped.
     
  19. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    1) yes the domain is present.
    2)
    Code:
    # Global Postfix configuration file. This file lists only a subset
    # of all parameters. For the syntax, and for a complete parameter
    # list, see the postconf(5) manual page (command: "man 5 postconf").
    
    #soft_bounce = no
    
    
    queue_directory = /var/spool/postfix
    
    
    command_directory = /usr/sbin
    
    
    daemon_directory = /usr/libexec/postfix
    
    
    mail_owner = postfix
    
    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.4.3/samples
    
    readme_directory = /usr/share/doc/postfix-2.4.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
    smtpd_sasl_authenticated_header = yes
    myhostname = server1.shineserver.com
    home_mailbox = Maildir/
    mailbox_command = 
    
    virtual_maps = hash:/etc/postfix/virtusertable
    
    mydestination = /etc/postfix/local-host-names
    
    
     
  20. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

Share This Page