HELP: Distributed mail system

1999-08-05 Thread Jason Brown

Hello,

I have a very interesting situation here. I have two servers,
host1.mydomain.com and host2.mydomain.com. I have host1 as the primary
mail server in the DNS-MX record. Both the hosts have qmail-1.03
installed in it.

I have user mailboxes in both the server:

user1, user2, user3  in host1
user4, user5, user6 in host2.

Now i would like to make qmail in my whole system work in such a way
that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or
[EMAIL PROTECTED] be delivered to user1, user2, user3 in HOST1
whereas mail to [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] be delivered to mailboxes user4, user5, user6 in
HOST2.

Later i would like to implement these concepts to my hosts in
different cities (POP) so that every user of our network will have
same template of e-mail address ([EMAIL PROTECTED]) without any
mention of the hostname of the server in his/her city.

If anybody has any idea making this distributed system, please help.

Thanks in advance.

Jason




HELP: Distributed mail system

1999-08-06 Thread Jason Brown

Hello,

I have a very interesting situation here. I have two servers,
host1.mydomain.com and host2.mydomain.com. I have host1 as the primary
mail server in the DNS-MX record. Both the hosts have qmail-1.03
installed in it.

I have user mailboxes in both the server:

in HOST1: user1, user2, user3
in HOST2: user4, user5, user6

Now i would like to make qmail in my whole system work in such a way
that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or
[EMAIL PROTECTED] be delivered to user1, user2, user3 in HOST1
whereas mail to [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] be delivered to mailboxes user4, user5, user6 in
HOST2.

Later i would like to implement these concepts to my hosts in
different cities (POP) so that every user of our network will have
same template of e-mail address ([EMAIL PROTECTED]) without any
mention of the hostname of the server in his/her city.

If anybody has any idea making this distributed system, please help.

Thanks in advance.

Jason




Re: HELP: Distributed mail system

1999-08-06 Thread Russell Nelson

Jason Brown writes:
 > in HOST1: user1, user2, user3
 > in HOST2: user4, user5, user6
 > 
 > Now i would like to make qmail in my whole system work in such a way
 > that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or
 > [EMAIL PROTECTED] be delivered to user1, user2, user3 in HOST1
 > whereas mail to [EMAIL PROTECTED] [EMAIL PROTECTED]
 > [EMAIL PROTECTED] be delivered to mailboxes user4, user5, user6 in
 > HOST2.

echo '|forward "$LOCAL@HOST2"' >host1:~alias/.qmail-default
echo '|forward "$LOCAL@HOST1"' >host2:~alias/.qmail-default

A little more complication will let you generate a better bounce
message if someone sends mail to [EMAIL PROTECTED]

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



Re: HELP: Distributed mail system

1999-08-06 Thread richard

On Fri, 6 Aug 1999, Jason Brown wrote:

> Hello,
> 
> I have a very interesting situation here. I have two servers,
> host1.mydomain.com and host2.mydomain.com. I have host1 as the primary
> mail server in the DNS-MX record. Both the hosts have qmail-1.03
> installed in it.
> 
> I have user mailboxes in both the server:
> 
> in HOST1: user1, user2, user3
> in HOST2: user4, user5, user6
> 
> Now i would like to make qmail in my whole system work in such a way
> that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or
> [EMAIL PROTECTED] be delivered to user1, user2, user3 in HOST1
> whereas mail to [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED] be delivered to mailboxes user4, user5, user6 in
> HOST2.
> 
> Later i would like to implement these concepts to my hosts in
> different cities (POP) so that every user of our network will have
> same template of e-mail address ([EMAIL PROTECTED]) without any
> mention of the hostname of the server in his/her city.

put the maildirs on a high-performance server using RAID and a logging
filesystem (eg sun's online disksuite). cross-mount the filestores between
the servers. Users then read mail from their maildirs usinf qmail-pop3d
off any of the servers.

front-end the servers with a number of qmail systems which deliver over
NFS.

you can then play around with secondary interface addresses on the popmail
servers to publish the same IP address at each city which is assosiated
with (say) pop.mydomain.com and is then routed to the nearest pop-server

RjL