<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I use mutt all the time and here is what I do for a reply address.<br>
<br>
I place a file in /appl/MUTT for each user.<br>
Here is my sample file located in /appl/MUTT/richard.<br>
<br>
<br>
set hostname=appgrp.net<br>
<br>
my_hdr <a class="moz-txt-link-abbreviated" href="mailto:From:richard@appgrp.net">From:richard@appgrp.net</a><br>
<br>
set realname="Richard D. Williams"<br>
<br>
Then when I use mutt inside filepro I can set that mutt file in the
command line.<br>
<br>
i.e.<br>
system "echo -e \"some message\" - mutt -F /appl/MUTT/richard -s
\"Subject\" -a /tmp/attachment1 -a /tmp/attachment2
<a class="moz-txt-link-abbreviated" href="mailto:email1@somewhere.com">email1@somewhere.com</a> <a class="moz-txt-link-abbreviated" href="mailto:email2@somewhere.com">email2@somewhere.com</a> <br>
<br>
(The example is for multiple attachments and recipients)<br>
<br>
This file can be retrieved in this way:<br>
'set some default file in case a user does not have a mutt file<br>
<br>
if:<br>
then: f="/appl/MUTT/defailt"<br>
if :<br>
then: fn="/appl/MUTT/"{@ID;b(1)=EXISTS(fn)<br>
if: b eq "1"<br>
then: f=fn<br>
if:<br>
then: return<br>
<br>
<br>
You can also set for a receipt request in this mutt file:<br>
my_hdr Return-Receipt-To: <a class="moz-txt-link-abbreviated" href="mailto:richard@appgrp.net">richard@appgrp.net</a><br>
<br>
I hope this helps,<br>
<br>
Richard D. Williams<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Joe Chasan wrote:
<blockquote cite="mid20060316180821.A19020@magnatechonline.com"
type="cite">
<pre wrap="">On Thu, Mar 16, 2006 at 04:50:16PM -0600, Chris Rendall wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a> [<a class="moz-txt-link-freetext" href="mailto:joe@magnatechonline.com">mailto:joe@magnatechonline.com</a>]
Sent: Thursday, March 16, 2006 4:40 PM
To: Chris Rendall
Cc: <a class="moz-txt-link-abbreviated" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>
Subject: Re: Mutt reply address
On Thu, Mar 16, 2006 at 04:29:48PM -0600, Chris Rendall wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm using mutt to send an email from filePro. When mutt sends the
</pre>
</blockquote>
</blockquote>
<pre wrap="">email
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">it has a from: address of the person logged into UNIX. Is there a
</pre>
</blockquote>
</blockquote>
<pre wrap="">way
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">to modify the from: field that mutt uses when it sends an email?
</pre>
</blockquote>
</blockquote>
<pre wrap="">I'd
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">like to use a more generic address for the from: field.
</pre>
</blockquote>
<pre wrap="">you can set system variable <a class="moz-txt-link-abbreviated" href="mailto:REPLYTO=some_generic_name@yoursite.com">REPLYTO=some_generic_name@yoursite.com</a>
would that do it?
</pre>
</blockquote>
<pre wrap="">That changed the Reply-To: header line to what I set, but the from:
address didn't change.
</pre>
</blockquote>
<pre wrap=""><!---->
yes, that is true - i read your message subject and replied before reading
too deep. do what mark suggested and put a
my_hdr From: somename <a class="moz-txt-link-rfc2396E" href="mailto:some_generic_name@yoursite.com"><some_generic_name@yoursite.com></a>
in a .muttrc file
You can specify an alternate .muttrc file via the -F command line flag
so that you don't have to mess with peoples own $HOME/.muttrc files.
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
<a class="moz-txt-link-abbreviated" href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a> Hicksville, NY - USA
<a class="moz-txt-link-freetext" href="http://www.MagnatechOnline.com">http://www.MagnatechOnline.com</a> Tel.(516) 931-4444/Fax.(516) 931-1264
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
</body>
</html>