Email server hosting multiple Domains
Hi
I am trying to configure my Debian server to act as an Email server. I have followed this document for the installation, and basic config: http://koivi.com/exim4-config/ I have 2 domains I want to use, and I set up the multiple domain approach layed out in the above mentined website. I can receive email to both domains, but I also want to connect from POP3 clients to both domains with their own mailservers, like pop3.1stdomain.com and pop3.2nddomain.com How do I achieve this? Now I can only connect with my main domains FQDN, but I cannot use the other. Both domains are pointed to the server, I am using Exim4 for email fetch, and courier POP3 and IMAP. Thanks, Ben |
Q1: Do you have a POP3 server setup? Receiving mail through an SMTP server and picking up your mail through a POP3 server are different processes and sometimes require different software packages. For example, my server runs Postfix as an SMPT server and Dovecot as a POP3 server. I am not familiar with Exim though, so it may have the capability to do both.
Q2: Do you have your POP3 server setup to retrieve email from the two domains? You should be able to do this using the main host name of your box or IP address of your box. (i.e. when you setup your mail client, just enter your IP address as the pop3 mail serer). Once that is accomplished, you know that your POP3 server is setup correctly. Q3: If you have a POP3 server installed and can retrieve mail successfully using the IP address of the box, the only questions that remains is: do you have DNS setup correctly for the two pop3 server FQDNs that you want to use? This is for a CentOS box, but you may find some useful information in the mail section: http://www.howtoforge.com/perfect_setup_centos_4.4 |
Hi.
Thanks for picking this up, I will answer below one by one. Quote:
Quote:
The problem is that it wouldnt work by the FQDN of my other domains. I also have the websites hosted for both domain, and they work fine. www.domainA.com and www.domainB.com. mail.domainA.com and mail.domainB.com both point to the static UP as well. But I can only pick up email through POP3 or IMAP using mail.domainA.com or the Static IP. Quote:
Thanks for any pointers, Ben |
Q1: do you get an error message from your mail client?
Q2: have you checked the courier log files for error messages? |
Quote:
The connection to the server has failed. Account: 'mail.domainB.com', Server: 'mail.domainB.com', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10060, Error Number: 0x800CCC0E Quote:
Thanks Ben |
Try using telnet to get to your mail server on port 110 from the same box that your email client is on:
Code:
telnet mail.domainB.com 110 Do you get a response? |
Hi
You were totally right, this showed me my blidness. I wasnt getting through, and I wasnt getting through to domainA either. Reason being that from where I tried, port 110 was blocked. I had IMAP set up in a client for my domainA domain, and I only tried to connect the client with POP3 to domainB as I didnt have the IMAP folders configured on the server. You know, this had me going for weeks..... What a silly overlook. Thanks a lot, and this is how it should be, working, and me thinking it isnt until I realize what I miss...... Best, Ben |
Glad I could help, thanks for letting me know that you resolved the problem.
|
All times are GMT -5. The time now is 07:00 AM. |