Using a subdomain as mail server

Discussion in 'Installation/Configuration' started by roberto8080, Aug 26, 2005.

  1. roberto8080

    roberto8080 New Member

    I'm just wondering how can I set up a subdomain mail.mysite.com to catch all the mail coming to mysite.com. The domain and its subdomain are in different boxes (ISPConfig is handling the subdomain).

    My idea was to create in ISPConfig the domain mail.mysite.com, but then the mail addresses are user@mail.mysite.com, and I want them user@mysite.com, any idea where to find more information about this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add a co-domain "mysite.com" to the website "mail.mysite.com", then all email for user@mysite.com and user@mail.mysite.com come into the users mailbox.
     
  3. roberto8080

    roberto8080 New Member

    OK, what about the webmail?, users can log in with user@domain.com?

    And what about DNS? Should I create an A record pointint to the IP address of domain.com box, another A record pointing to the IP address of mail.domain.com and an MX record pointing to mail.domain.com?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

    A Records for domain.com and mail.domain.com
    MX Record (with an empty host field) pointing to mail.domain.com
     
  5. taylan

    taylan New Member

    how to use mail.damdakikedi.com subdomain for mail login screen

    Hello
    I want to use mail.damdakikedi.com subdomain for mail login screen squirell or webmail how can i do .i can create a redirection on html file to :81/webmail
    do you have a any solution for this one thanks for helping

    Taylan
     
  6. falko

    falko Super Moderator ISPConfig Developer

    You want to use https://mail.damdakikedi.com:81/webmail? Just put
    Code:
    ServerName mail.damdakikedi.com
    into /root/ispconfig/httpd/conf/httpd.conf and restart ISPconfig:
    Code:
    /etc/init.d/ispconfig_server restart
     
  7. taylan

    taylan New Member

    when i want to use mail.damdakikedi web mail login screen

    When i put down http://mail.damdakikedi.com i want to see login screen
    for example squirrel mail i used meta tag into mail.damdakikedi.com index page it is working i want to know something more efficient this is the url address i want to reach after type mail.damdakikedi.com to url address another question i installed squirel mail it works fine after read messages i cant see in my inbox how can i put sent folder trash and draft folders into squirrel mail . Thank you very much falko

    http://mail.damdakikedi.com:81/squirrelmail/src/login.php
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Have a look here: http://www.howtoforge.com/forums/showthread.php?t=2275&highlight=squirrelmail mail ispconfig

    You must create these folders first. Have a look here: http://www.howtoforge.com/forums/showthread.php?t=1147&highlight=maildirmake ispconfig
     

Share This Page