From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 22:48:54 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 62A4716A41F for ; Thu, 28 Jul 2005 22:48:54 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2753043D45 for ; Thu, 28 Jul 2005 22:48:54 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j6SMmqP5006608 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Thu, 28 Jul 2005 15:48:53 -0700 Message-Id: <6.1.0.6.2.20050728153729.156ff2d0@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Thu, 28 Jul 2005 15:45:08 -0700 To: Alexandre Vieira , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <755cb9fc05072815171ac8003@mail.gmail.com> References: <755cb9fc05072815171ac8003@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Sendmail help needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 22:48:54 -0000 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. 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 address you specify. You can get more details from /usr/share/sendmail/cf/README -Glenn >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"