From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 09:35:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C66901065670 for ; Tue, 15 Jul 2008 09:35:02 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 904368FC1A for ; Tue, 15 Jul 2008 09:35:02 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so6327581rvf.43 for ; Tue, 15 Jul 2008 02:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=NIkv/xx3nWAwN/2QwLqKx6m4CE6X0l9uo3t9eATsofQ=; b=Mo1i8Nyi86RWP6W1yJ6Nr1+CG6VJBtLxP4+9HzPz2FimdzLi6oDlT1fWIoaLFYGoUX We8DBSaq4qjsqTjtmq4bW6pnKH7avyByBS6Y7cz+l0wGQLPBpCoLXZDctV6oNRSS5JMX ysO6BU6o+UCibN2743hXRKegtYKJwod1j+Fhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=qSeAePU038Jb5eOzNXqR1n9bI8g1iBCp9TfkzhI3y0jW4Wc4AEIX7UYeRpK3qaklH5 VvHCkkA/Ht7pBQz8kEl6fG3tdp80Z1GeUEBQFOMhVllcZeOP+vwaBxKa/RdVa21mPBe7 P4QxQylQZTZ/JoiIenAXSBF2cWUrUuGh7R8eg= Received: by 10.141.87.13 with SMTP id p13mr7261432rvl.93.1216114502147; Tue, 15 Jul 2008 02:35:02 -0700 (PDT) Received: by 10.141.77.2 with HTTP; Tue, 15 Jul 2008 02:35:02 -0700 (PDT) Message-ID: Date: Tue, 15 Jul 2008 06:35:02 -0300 From: Agus To: freebsd@celestial.com, freebsd-questions@freebsd.org In-Reply-To: <20080715014932.GA8268@ayn.mi.celestial.com> MIME-Version: 1.0 References: <20080715014932.GA8268@ayn.mi.celestial.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Change email header ..... 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: Tue, 15 Jul 2008 09:35:02 -0000 2008/7/14 Bill Campbell : > On Mon, Jul 14, 2008, Agus wrote: > >Hi guys, > > > >All i wanna do this time is change the mail from: header to another > >address...As my system is named after an internal network name and doesnt > >resolv from outside my LAN..when i send an email, for instance when a user > >registers, they received it with the systems internal address and they > cant > >reply it cause of course it will get bounced....So i wanna change the from > >header to an address where i have a mail redirection account....I know how > >to do it from telnet for instance..its simple..but as i send emails from a > >script using the mail program.. > > > >I basically do cat welcome_msg|mail -s "Welcome..." user@mail > > > >So i was wondering if there is a way to send this automated emails > changing > >the header from: > >Perhaps theres another program or way...Im open to suggestions... > > Mutt allows one to specify any headers you like, even being able > to tailor them to the recipient. > > One could also contruct your own headers, and feed it through > sendmail: > > cat << DONE > From: foo@example.com > Subject: anything you like > Reply-To: foo1@exmple.com > > There is a blank line separating this message body from the > headers above. > > Bill > DONE || /usr/lib/sendmail recipient@example.com > > Substitute the appropriate path for sendmail if necessary. > > Bill > -- > INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 > > Government spending? I don't know what it's all about. I don't know > any more about this thing than an economist does, and, God knows, he > doesn't know much. -- Will Rogers > _______________________________________________ > 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" > Hi guys...thankss...it seems thats exactly what i need...i ll try it now... Yes..sorry..i am using Sendmail....forgot that.. Thank u very much guys.... C ya...