On Fri, Mar 02, 2001 at 01:05:20PM +1000, Peter McCarthy wrote:
> My situtation is I have a my Linux RH 6.2 box as the gateway to the net which
> currently sends and receives all internet mail. (mail1)
> What I propose to do is move the majority (but not all) of the users to a new
> Mail server (mail2).
> 
> Now what I think I can do is to set a forward email address such as
> [EMAIL PROTECTED] on the mail1 box to internally forward the mail to the

        Yep that would work easily enough. There's a better solution
though. Hmm where's my sendmail book.

OK if you do in sendmail.mc
define(`LOCAL_RELAY', `internal.mail.server')dnl

or in sendmail.cf
DRinternal.mail.server

        What that does is that any user that sendmail doesn't know how
to deliver to will get sent to internal.mail.server. ie so you just
don't create the accounts on the first box and then all the mail will
get forwarded.


-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to