Hi all:

I have exim set up to call a filter that changes my address in the
From: header from my local address to the one assigned to me by my
ISP. Apparently this changes only the From: content, however, the
>From (no colon) heading still shows my local email address.

This has caused some confusion with some people at school. They see
the From address, but not the From: address.

Is there a way to change the From address also? Here is the script I
use (stolen from LG#43):

  #!/usr/bin/perl
  $address = '[EMAIL PROTECTED]';
  while (<>) {
      if (/^From /) { s/<.*>/<$address>/; print; last; }
      # I added the above to see if it would change the address, but
      # it doesn't
      if (/^From: /) { s/<.*>/<$address>/; print; last; }
  print; }
  while (<>) { print; }

Is changing the From possible/allowed?

Thanks for any insight...
-- 
                                      __   _ 
Mark Wagnon       (  Debian GNU/ -o) / /  (_)__  __ ____  __    
Chula Vista, CA    )             /\\/ /__/ / _ \/ // /\ \/ /   
[EMAIL PROTECTED] (             _\_v____/_/_//_/\_,_/ /_/\_\

Reply via email to