From owner-freebsd-questions@FreeBSD.ORG Fri Jul 29 07:30:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC8CC16A41F for ; Fri, 29 Jul 2005 07:30:31 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4D343D46 for ; Fri, 29 Jul 2005 07:30:31 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so580738wra for ; Fri, 29 Jul 2005 00:30:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=g/Luevcbrn86vHmeqzsnplhQjq3RLI3cCy6mial5jwnPN/j8xeF9rbUiSgqX7pouogayyzHCm798byE62lznBkc/APKKw0vJGqrhkmU+/qZiOp/2P0Wgb/rmWqZrKa6cCQwF2fTmDimhOAdo6vksi6C67Vl5seHPxgGykV2vQ8c= Received: by 10.54.42.62 with SMTP id p62mr1165475wrp; Fri, 29 Jul 2005 00:30:30 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Fri, 29 Jul 2005 00:30:30 -0700 (PDT) Message-ID: <755cb9fc050729003050edf7ef@mail.gmail.com> Date: Fri, 29 Jul 2005 08:30:30 +0100 From: Alexandre Vieira To: freebsd-questions@freebsd.org In-Reply-To: <6.1.0.6.2.20050728153729.156ff2d0@cobalt.antimatter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <755cb9fc05072815171ac8003@mail.gmail.com> <6.1.0.6.2.20050728153729.156ff2d0@cobalt.antimatter.net> Subject: Re: Sendmail help needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexandre Vieira List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 07:30:31 -0000 Hello, Thanks for the help. The thing is that our main mailserver is not able to work with reports from only one address. It has a db with some "names" that match name@ourinternaldomain.tld and then send the reports to the respective persons/mailing lists. So the basics of the question is: Is it possible to get every mail (including local mail) redirected to one domain with MX lookup? I've been reading about LUSER_RELAY, LOCAL_RELAY, stickyhost, but I don't know if this will solve the problem. On 7/28/05, Glenn Dawson wrote: > At 03:17 PM 7/28/2005, Alexandre Vieira wrote: > >Hello folks, > > > >I'm trying to get past a standard in sendmail which is very simple. > > > >I have several machines reporting mails trough local MTA's (sendmail) > >in each one of the boxes to our main mailserver. The thing is, I did > >not developed the scripts and they are using "mailx -s user" > >which normally would try to deliver it to a local account in the > >machine. So the question is: Can I, in any way, define that every > >"user" passed on the mailx in every script gets resolved to > >user@somedomain.tld and not to a local system account? We have > >hundreds of "names" in the scripts, so aliasing doesn't work for me. >=20 > If you don't _ever_ want things to be delivered locally, you can create > what sendmail calls a null client. That will send all mail to the addres= s > you specify. You can get more details from /usr/share/sendmail/cf/README >=20 > -Glenn >=20 >=20 > >My current hack is defining DR and DS in the sendmail.cf to a static > >hostname but that takes redundancy to our mail system since if the > >main mailserver is down the backup mail server (higher MX) won't take > >any effect. > > > >Any help apreciated > >Cheers > >_______________________________________________ > >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" >=20 >=20 Thanks