On Thu, 26 Aug 1999, Dave Sill wrote:

> "x" <[EMAIL PROTECTED]> wrote:
> 
> >  Send to mail on W/S:  
> >
> >      From: header = "user-1" <[EMAIL PROTECTED]>          (on F/S)
> >
> >  How to  change From: header  into :   "user-1" <[EMAIL PROTECTED]>
> 
> The best way to do this is to inject messages with the desired From
> field. See the qmail-inject man page for various ways to accomplish
> that. Your mailer may/should also let you configure the From field.

You have two choices:
1| You send the mail locally.
   You can set environment variables such USER and HOST (or QMAILUSER,
   QMAILHOST).
2| You use SMTP service.
   MUAs have the header writing feature and you don't have to do header
   rewriting.

Basically, Dave Sill is right.  The question isn't "how to rewrite" but "how
can i solve it".
-- 
Regards: Kevin (Balazs)

Reply via email to