Re: mail routing with qmail

1999-01-12 Thread Russell Nelson

Russell Steffen writes:
  Is there any way to set set qmail up so that it will accept all mail for
  somedomain.com, deliver mail for local accounts and then forward all the
  rest of the mail to another server?

Oh, sorry, one other thing you'll have to do:

Insert an entry into control/smtproutes for somedomain.com which
points to the Exchange server.  Either that or run split DNS, with the 
inside DNS pointing to the Exchange server for somedomain.com, and the 
outside DNS pointing to the Unix server for somedomain.com.  Seems
easier to me to use an smtproutes entry.

-- 
-russ nelson [EMAIL PROTECTED]  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.



Re: mail routing with qmail

1999-01-12 Thread Mate Wierdl

What if he does 

1) MX for somedomain.com pointing at his machine
2) Put 
somedomain.com:joe-local
in virtualdomains
3)For each local user bob, create

cat ~joe/.qmail-local-bob
bob

4) create ~joe/.qmail-local-default
|forward $DEFAULT@ME

(and disregard my previous silly suggestion)

Mate



Re: mail routing with qmail

1999-01-12 Thread Russell Steffen


Thanks for the suggestions. I now have at least 3 ways to get qmail to do
what I want (and one was in the FAQ, should have read more carefully). 

Russ
[EMAIL PROTECTED]




Re: mail routing with qmail

1999-01-11 Thread Mirko Zeibig

On Mon, 11 Jan 1999, Russell Steffen wrote:
 Is there any way to set set qmail up so that it will accept all mail for
 somedomain.com, deliver mail for local accounts and then forward all the
 rest of the mail to another server?
Maybe you could start by having a /var/qmail/alias/.qmail-default-file which
will forward all unknown users to your Exchange-Server. Don't have the
syntax, but fiddle around condredirect. 
 The basic problem is that I don't want to move everybody (~300 accounts)
 at once, because I am the only admin  tech support person, and I value my
 sanity. 
So, why don't you just create a text-file and make this a batch-job. If you
setup a .qmail and Mailbox-file in your /etc/skel I guess this would be a
job of half an hour, assuming you have the text-file.
 What I wanted to do was set up a qmail box to act as a relay and
 just queue all incoming mail and forward it to the Exchange server. 
Maybe by putting
somedomain.com into rcpthosts,
somedomain.com:exchange-server.somedomain.com into smtproutes and
having the Exchange-Server as main-MX-entry in your DNS.
 Then
 as I start transitioning users and creating Unix accounts for them, their
 mail would then start to be delivered locally (and the rest would continue
 to be relayed). Then, when the last of the accounts are moved over, I can
 than stop the relay and decommision the Exchange server.
My advice would be not to mix. Just smtproute your mails to exchange until
you have set up all accounts on the unix-box.
Regards
Mirko
--
mailto:[EMAIL PROTECTED]
http://sites.inka.de/picard