From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 22:17:05 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 A4C7316A41F for ; Thu, 28 Jul 2005 22:17:05 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0A243D45 for ; Thu, 28 Jul 2005 22:17:04 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so504982wra for ; Thu, 28 Jul 2005 15:17:04 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=jSMNDHsP7uZbDM8Vaxf2cWyihzxHrJCtdOA8vc3Xdlg/GXYWuVZHG1UJAgWP/JsMFJX0/RnuyyQXc420inhLLxZADtc8bAV/KXYr5AM+8mlgDWRJw+pW42yN2+pnTrxXDjl1D1Fh2Xn9xEpCSYA3uOMKG9btwhvjlzTqWpDQYJI= Received: by 10.54.28.73 with SMTP id b73mr1004328wrb; Thu, 28 Jul 2005 15:17:03 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Thu, 28 Jul 2005 15:17:03 -0700 (PDT) Message-ID: <755cb9fc05072815171ac8003@mail.gmail.com> Date: Thu, 28 Jul 2005 23:17:03 +0100 From: Alexandre Vieira To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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: Thu, 28 Jul 2005 22:17:05 -0000 Hello folks, I'm trying to get past a standard in sendmail which is very simple.=20 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. 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