Koozali.org: home of the SME Server

Please HELP !!!! two SME server , one domain

pyushdipty

Please HELP !!!! two SME server , one domain
« on: June 03, 2005, 06:09:54 AM »
I m facing a problem in configuraing SME server. :roll:
I configured both SME server with mydomain.com, as i want the user at each of server to send & receivce email users@mydomain.com.
 
  I m having user1@mydomain.com & user2@mydomain.com both the users are present on the tow different SME server at different location.
    NOw when user1@mydomain.com wants to send email to user2@mydomain.com the server rejects the email saying no valid email ID or no user present. :-?

HOW can i configure SME to send any email not belonging to local server , but to same domain ( mydomain.com ) to internet.

PL. help !!! :cry:  :cry:  :cry:

Thanks in advance

Piyush Jani

Offline Brenno

  • *****
  • 208
  • +0/-0
Re: Please HELP !!!! two SME server , one domain
« Reply #1 on: June 04, 2005, 03:37:30 AM »
Why not just install the secure POP3/IMAP contrib and  have your remote users authenticate via SSL to one server?  That way all users are on the same server and you won't have these delivery problems.  I use this setup with one central server providing IMAP email to 4 offices across the country.  Works like a charm.

IMHO, that would be far simpler than the setup you're attempting to configure.

pyushdipty

Qmai l + LDAP patch
« Reply #2 on: June 07, 2005, 06:45:27 AM »
yeah , what you said can also be done, but at these locations we are having about 25 to 30 users, that means i will be having 25 to 30 SMTP/POP session between the user & server. This would choke my bandwidth (64Kbps), which i don't want to happen.

One could i install Qmail Ldap patch which will enable me to have ldap base email routing. But is it possible to do it in SME server
As i have search the forum, but didn't find any HOW to install qmail ldap patch

Thanks

Piyush Jani

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Please HELP !!!! two SME server , one domain
« Reply #3 on: June 07, 2005, 07:17:38 PM »
Hi,

Now let's look at this from the computer's side..

The computer gets two emails, user1@mydomain.com & er2@mydomain.com.

How is the computer going to figure out which server user1 and user2 is at?

Either change the addresses to be
     user1@office1.mydomain.com and
     user2@office2.mydomain.com  

or

     have all users defined on both machines and forwared emails to the other machine.  

Edward

wallyrp

Please HELP !!!! two SME server , one domain
« Reply #4 on: June 10, 2005, 05:35:07 PM »
Good Morning,

In my humble opinion, either way you go with a single domain name for the users, it will choke bandwidth. The only way to guarantee no choking of bandwidth is to go with the suggestion of office1 and office2 above. This will mean that you will have to support two user lists though. This can be mirrored using high availability (search for high availability for more information) software though for easy management but that idea may mean one domain name. I'm not sure of the details surrounding that setup to be of much help, I just know that it can be done.

There is a how-to out there that details the setting up of a backup email server. I believe it is a sme.swerts-knudsen.dk how-to.

Hope this helps.

pyushdipty

Please HELP !!!! two SME server , one domain
« Reply #5 on: June 29, 2005, 01:01:05 PM »
Quote from: "meanpenguin"
Hi,

Now let's look at this from the computer's side..

The computer gets two emails, user1@mydomain.com & er2@mydomain.com.

How is the computer going to figure out which server user1 and user2 is at?

Either change the addresses to be
     user1@office1.mydomain.com and
     user2@office2.mydomain.com  

or

     have all users defined on both machines and forwared emails to the other machine.  

Edward


Where should i define the users address mapping
like
user1@mydomain.com = users1@office1.mydomain.com
user2@mydomain.com = users2@iffice2.mydomain.com

pl. guide me
Thanks in advance
Piyush Jani

Offline raem

  • *
  • 3,972
  • +4/-0
Please HELP !!!! two SME server , one domain
« Reply #6 on: June 29, 2005, 11:16:13 PM »
pyushdipty


> I configured both SME server with mydomain.com

You can do that, but only one server will be the real mydomain.com for web traffic requests and for email. The other one will be a fake and not accessible from the Internet as such (only from the local network).

You cannot setup two mail servers with the same domain name and expect them to receive mail for that one domain.

To send mail independantly to each mail server they need to have different domain names.


> HOW can i configure SME to send any email not
> belonging to local server , but to same domain
> (mydomain.com ) to internet.

You cannot forward email to another server with the same domain name.



> Either change the addresses to be
>      user1@office1.mydomain.com and
>      user2@office2.mydomain.com  
> or
> have all users defined on both machines and
> forwared emails to the other machine.  

> Where should i define the users address mapping
> like
> user1@mydomain.com = users1@office1.mydomain.com
> user2@mydomain.com = users2@iffice2.mydomain.com


You can have the main email server that receives all messages configured as domain1.com and the other server configured as domain2.com
In the server manager User setup add a forward to address
eg mail sent to user2@domain1.com is forwarded to user2@domain2.com

You will still use bandwidth as each message will come into domain1.com server and then be forwarded out to domain2.com server.

Yoy would be far better off from a bandwidth perspective to install the secure IMAP contrib and your remote users (at domain2.com) can read mail directly from the domain1.com server (without downloading it using IMAP). When they send messages  there will be traffic from domain2.com to domain1.com and then out of domain1.com to the Internet.

It's a no win situation.
...