From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 05:30:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BB14F10 for ; Wed, 13 Feb 2013 05:30:42 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx1.freebsd.org (Postfix) with ESMTP id 23394B2E for ; Wed, 13 Feb 2013 05:30:41 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id s24so551212vbi.36 for ; Tue, 12 Feb 2013 21:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Qc+q/TKIJvw5WCcr4cAwZHlkhw5NwZIo/bePFE+SeZI=; b=R6Ckfy9TJWXNrm36z6Rq/HC7U+lYJ0qDq4D+6B31i70MAhDFSph8qRnGSCIZBlvakU B+Ntk/oZdXuL4moeEU/tu/aZlWxMuGjE89HDP6Qt/69XGP2e/hzc7z7ZsjBq9MZGV5zB EPml6MUeFM7Bg0UkbqNt3ivP1sEkKJDa2r+DjI8ZY549jHdBTW3G2x6vJANMkN9h8IPm oCXfkpbYFC+VxbJ/h+HQsttdZxjQhKoTYaKsiP/6imcf/WxI7E9OA4iVbTinwhXcE3Y2 jLV2QRQJCt5M82Ky7fFLpQt8RO7YxkmvqHlKvVi2QYYUR/Qd7lZUf0QdCWCvLtSnmROt 1e1g== MIME-Version: 1.0 X-Received: by 10.220.149.82 with SMTP id s18mr28169615vcv.14.1360733435554; Tue, 12 Feb 2013 21:30:35 -0800 (PST) Sender: christopher.maness@gmail.com Received: by 10.58.227.162 with HTTP; Tue, 12 Feb 2013 21:30:35 -0800 (PST) In-Reply-To: <511ACAC8.80801@fisglobal.com> References: <511ACAC8.80801@fisglobal.com> Date: Tue, 12 Feb 2013 21:30:35 -0800 X-Google-Sender-Auth: YOeWzH07AueQKBHINC1m2I3Ksxs Message-ID: Subject: Re: Sendmail relaying for Intranet? From: Chris Maness To: david.robison@fisglobal.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 05:30:42 -0000 On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave wrote: > > On 02/12/2013 12:54, Chris Maness wrote: >> I have a FreeBSD box running sendmail that can see the whole internet. >> I have another mail server that hosts mail for an intranet. It does >> not have access to the i-net. I think I remember reading that it is >> possible for the i-net attached sendmail to relay mail for a domain to >> another host. Is there an easy answer and configuration for this? If >> not, no biggy since this exercise is more academic than a necessity. >> >> Thanks, >> Chris Maness >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > > in sendmail.cf on the host to be your relay, check for "DS" and use it > like this: > > DS relayhost.domain.com > > in sendmail.cf on the hosts which will be relaying, use the DS command > but point them to your new relay host. > > hope this helps. > > Dave Dave, how would I add this to the MC file instead of the CF file? I usually rebuild these after an upgrade or a configuration change, and I would rather do it in the MC file for that reason. Thanks, Chris Maness