Re: mail routing question

2001-06-06 Thread arjen-qmail



- You get all reference to the domain and users @ the domain out of
  the qmail control files.
- The line above does _not_ apply to rcpthosts, there the domain remains
- you put in smtproutes:

 domainname.ext:new.smtp.server

and you gove qmail-send a -HUP

Should do it...


Grtz, 

Arjen.


On Thu, 7 Jun 2001, Chris wrote:

 
 We use Qmail+Vpopmail. we are planning to move a virtual domain to another
 server. but i'm afraid the new incoming email will still store in the old
 server after we change the MX dns record to the new server.
 
 anyone know how to configure the old server's qmail route the email to new
 server? many many thanks
 
 
 
   Chris Chan
 
 
 




mail routing question

2001-06-06 Thread Chris


We use Qmail+Vpopmail. we are planning to move a virtual domain to another
server. but i'm afraid the new incoming email will still store in the old
server after we change the MX dns record to the new server.

anyone know how to configure the old server's qmail route the email to new
server? many many thanks



  Chris Chan





RE: mail routing question

2001-06-06 Thread Chris Bolt

Add a line like this to /var/qmail/control/smtproutes:

virtualdomain.tld:newserver.tld

See also http://www.qmail.org/man/man8/qmail-remote.html

 We use Qmail+Vpopmail. we are planning to move a virtual domain to another
 server. but i'm afraid the new incoming email will still store in the old
 server after we change the MX dns record to the new server.

 anyone know how to configure the old server's qmail route the email to new
 server? many many thanks




Mail Routing question

2000-05-29 Thread david . heydari

Hi Everybody,

We use qmail as a mail gateway on two different boxes, one for incoming mail
(incomingmail.foo.com),
and one for outgonig mail "outgoingmail.foo.com". All incoming mail at
"incomingmail.foo.com" sends 
to the internal networks, and there is no users account on the
"incomingmail.foo.com", 
the file "smtproutes"  looks like this:
SubDomain1.foo.com:SomeMailserver.foo.com
SubDomain2.foo.com:AnotherMailserver.foo.com
foo.com:internal_mailserver.foo.com
and so on... 

The question is: How kan i route incoming mail per user basis, i.e. mail for
"[EMAIL PROTECTED]" should go
to say "[EMAIL PROTECTED]"

Best regards
David Heydari







mail routing question

2000-05-23 Thread Sebastian Kaps

Hi!

I use two machines at home (lets call them A and B). I'm using B as an
internet gateway for A. Both machines run qmail-1.03.

I want A now to send all mail that's not addressed to a user on A to B.
And I want B to put all mail that's neither for A nor B into a uucp queue
(I have the qmail-bsmtp package installed).
If I put ':alias-uucp' into B's virtualdomains file then _all_ mail ist put
into the uucp queue, even mails that are addressed to users on A or B
although these could be delivered locally or via SMTP.

Does anyone know how I can exclude mails from beeing stuffed into the uucp
queue?

-- 
Ciao, Sebastian

* Email: [EMAIL PROTECTED]
* HP:http://www.sauerland.de/~toyland/  PGP-Key available



Mail routing question

1999-03-31 Thread Stephen Anderson

I have a mail routing question and I'm hoping someone can help me.  I have
searched through the mailing list archive (approx 580 msgs) and I couldn't
decipher the answer from any post(s) as being definative.

I have several domains to recieve mail for (names have been changed to
protect the ignorant grin)

company.com
alpha.company.com
beta.company.com

Correspondingly I have three machines, mail.company.com,
mail.alpha.company.com, and mail.beta.company.com.  In my DNS I have:

company.com.IN  MX  0   mail.company.com.
IN  MX 10   mail.alpha.company.com.
IN  MX 10   mail.beta.company.com.

alpha.company.com.  IN  MX  0   mail.alpha.company.com.
IN  MX 10   mail.company.com.
IN  MX 20   mail.beta.company.com.

beta.company.com.   IN  MX  0   mail.beta.company.com.
IN  MX 10   mail.company.com.
IN  MX 20   mail.alpha.company.com.

Now, all of these mail machines will be running Qmail.  I need to figure
out how to configure each system so that *company.com mail is delivered
from mail.company.com (where it will all arrive) to the appropriate
mailhost via DNS MX records.  All mail coming from the subdomains should
use DNS MX records for internal mail delivery.  And finally, all company
external outgoing mail should override DNS MX records and forward through
our mail gateway (mail.company.com).

I'm very confused as to how to get his all setup to intermingle both MX
and (i guess) smtproute processing.  Please, any help would be greatly
appreciated!

   Stephen Anderson
 [EMAIL PROTECTED]