On Thursday, July 24, 2003, at 03:56 AM, Peter Mikeska wrote:
|-----d1.company.com (smith, neo)
---internet----company.com(main)-------<
|-----d2.company.com (trinity)



Main Server has primary mailboxes for neo, trinity, smith. and it has setup
to forward these adreses to [EMAIL PROTECTED], [EMAIL PROTECTED] ....
but how setup server d1.company.com to send mail between
[EMAIL PROTECTED] and [EMAIL PROTECTED] without message traveling
to main server and back. i need save traffic ;((
I try vaddaliasdomain to setup alias for d1.company.com but it works
only on local users, if i send mail from d1.company.com to regular
user on main server, it wont work.

It isn't going to be fun, but it would probably go like this.


Set up virtual domain company.com on main, d1 and d2. Set up aliases to company.com called d1.company.com (on d1) and d2.company.com (on d2).

On main, have the following files:

.qmail-smith forward to [EMAIL PROTECTED]
.qmail-neo forward to [EMAIL PROTECTED]
.qmail-trinity forward to [EMAIL PROTECTED]

On d1, have mailboxes for smith and neo, and .qmail-trinity as a forward to [EMAIL PROTECTED]
On d2, have a mailbox for trinity and have .qmail-smith and .qmail-neo as forwards to [EMAIL PROTECTED] and [EMAIL PROTECTED]


When you add a new account, you'll have to create the POP/IMAP mailbox on d1 or d2, and then add an alias on the other dx machine plus the main machine to forward mail to the appropriate dx.

Nothing automated about it unless you code up some shell scripts and use ssh to run programs remotely on d1 and d2.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester




Reply via email to