Hope you like the picture... (took a while)

        Users on the machines i.e:
             aj                 aj2             aj3
            ___________       ___________      ___________
           | SERVER 1  |     |  SERVER 2 |    | SERVER 3  |
           |A.blah.com |     |B.blah.com |    |C.blah.com |
           |___________|     |___________|    |___________|
                |                  |                |
                |                  |                |
                |              ____|______          |
                --------------| MAIL-GW   |----------
                              |gw.blah.com| 
                              |___________|

I have 3 users, all on 3 different servers. I am trying to setup qmail so
when mail is sent to [EMAIL PROTECTED] it will automatically be delivered to
A.blah.com by gw.blah.com (A.blah.com will do local deliver
to user aj). Same if I send email to [EMAIL PROTECTED] it will be delieverd by
gw.blah.com to B.blah.com. 

This is how I have my configuration is setup as:
blah.com.       MX 0 gw.blah.com.

A.blah.com (no and ho are similar so not going to list):
  locals:
    A.blah.com
    blah.com
  smtproutes:
    :gw.blah.com

gw.blah.com:
  locals:
    gw.blah.com
    blah.com
  smtproutes:
    blah.com:A.blah.com


.qmail-default  ON A.blah.com
| forward "$LOCAL"@no.blah.com

.qmail-default  ON B.blah.com
| forward "$LOCAL"@C.blah.com

-------------------------------------------------------------------------
I tried this setup a week ago and I finally decided to ask for some help,
when I try to send email to [EMAIL PROTECTED] it will return it saying, domain
isnt in rcpthosts or something like that. I do have rulesets for relaying
and I DID add .blah.com (and ip) to it. I know it can't be the rulesets
problem its some other qmail configuration problem dealing with routes...

So why is it doing this? Did I setup everything correctly? 


Thanks.

Reply via email to