Create E-Mail Address for Co-Domain.

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

  1. denmaus

    denmaus New Member

  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

  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. vaio1

    vaio1 Member

    It's not very clear for me.

    So if I create an email such as: [email protected] and then I would like to create another email such us: [email protected] where example is a codomain of example.com... How can I do?

    thanks
     
  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 Member

  8. till

    till Super Moderator Staff Member ISPConfig Developer

    There is just one email account, not two. If [email protected] is a mailbox, then [email protected] is an automatically created alias for this mailbox.

    If you dont want that, create 2 websites, one for every domain.
     
  9. vaio1

    vaio1 Member

    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 Member

    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

    Pleae check that you really created a co-domain example123.com where the hostname field is empty in the website www.example.com and that there is a email address [email protected] in this website.
     
  13. vaio1

    vaio1 Member

    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 Member

    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 Howtoforge Staff

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

    vaio1 Member

    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 Member

    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 Member

    Last edited: Sep 3, 2007

Share This Page