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
The email addresses for the co-domains where created automatically, as co-domains are a alias of the primary domain.
Ok. thanks for fast answer. so: [email protected] = [email protected] and [email protected] = [email protected] great!
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.
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
If example123.com is a co-domain of example.com, then they share the same [email protected] mailbox. If you want different mailboxes, just create a new website for example123.com.
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
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.
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?!
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.
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?
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.
This sould work as well. Have a look at /etc/postfix/virtusertable, are the email accounts for the co-domain listed there?
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
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
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.
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
The problem seems solved. The codomain has the star. Before: www.example.com --- *.example123.com in this case the email was: [email protected]*.example123.com Now I have: www.example.com --- example123.com --- *.example123.com Now, in this case the email is: [email protected] Thanks