Check out the LG article at:
http://www.linuxgazette.com/issue43/stumpel.html
It has a section on rewriting the From address. Here's the meat:
Create this script ("outfilt") and put it in /usr/local/bin:
#!/usr/bin/perl
$address = '[EMAIL PROTECTED]';
while (<>) {
if (/^From: /) { s/<.*>/<$address>/; print; last; }
print; }
while (<>) { print; }
and add this to the end of the TRANSPORTS CONFIGURATION section of
the exim.conf file:
remote_smtp:
driver = smtp
headers_remove = "sender"
transport_filter = "/usr/local/bin/outfilt"
end
[EMAIL PROTECTED] wrote:
>
> My problem in a nutshell: My login name on this machine is "shadow". My
> e-mail account at my university is [EMAIL PROTECTED] I can use Fetchmail and
> Mutt to read mail from the tc.umn.edu server, and I can send e-mail fine as
> well. The problem is that my sent messages arrive from "[EMAIL PROTECTED]",
> which isn't the e-mail address they have to reply to! (No reply-to field is
> defined either..) How can I make messages I send thru mutt & exim come from
> [EMAIL PROTECTED]
--
Mark Wagnon
Chula Vista, CA
[EMAIL PROTECTED]