On Tue, May 14, 2002 at 12:02:46PM +1000, Peter McCarthy ([EMAIL PROTECTED]) wrote:
> Howdy all
> 
> How do I go about configuing Sendmail to forward all mail it is currently
> receiving to another mailserver that is behind our Linux proxy server ?
> I am running RH 7.1
> I have checked the sendmail.org website, and the closest thing I could find was
> define(`MAIL_HUB', `mailer:hostname')
> But I am unsure if this is going to do what I need.



use FEATURE(mailertable) -> http://www.sendmail.org/m4/mailertables.html

1) mailertable entry
mailertable file:
# where to send messages for the.domain
the.domain    esmtp:[aaa.bbb.ccc.ddd]

2) access file entries [ syntax for sendmail 8.10+]
access file:
# accept messages for the.domain
to:the.domain    RELAY
# relay messages from internal server ip address
aaa.bbb.ccc.ddd   RELAY



jobst





-- 
Bowman: Open the pod bay doors, HAL.

             __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      
 -(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to