If you are using qmail-inject, just use do

qmail-inject -f mirza 

and that should do it. Read the man pages for qmail-inject for more info.

JES

Lavender writes:

> 
> Hi,
> 
> When I added "export QMAILSUSER=mirza" then the change is only
> noticeable in /var/log/maillog stating that the sender is mirza instead of
> the system user account vmail.
> 
> Did I miss anything ??? Or I understood U wrongly.
> 
> Could U give an example of how to set this up for a large number of
> virtual users sharing only one system user acoount ???
> 
> 
> Thanks
> 
> lavender
> 
> 
> On Wed, 12 Jul 2000, Dave Sill wrote:
> 
> > Lavender <[EMAIL PROTECTED]> wrote:
> > 
> > >When I sent mail to [EMAIL PROTECTED], then the mail will be in Maildir-mirza.
> > >My problem is that when I replied, the addr in FROM: is [EMAIL PROTECTED]
> > >instead of [EMAIL PROTECTED]  Is it possible to make [EMAIL PROTECTED] appears
> > >instead ???
> > 
> > Sure. You can use anything whatsoever in the From field. Normally,
> > this is done by configuring your mailer to use the desired
> > address. With locally-injected mail (versus port 25-injected mail) you 
> > can use various environment variables to override the mailer's
> > settings. See "man qmail-inject" or:
> > 
> >   http://Web.InfoAve.Net/~dsill/lwq.html#QMAILUSER
> >   http://Web.InfoAve.Net/~dsill/lwq.html#QMAILHOST
> > 
> > -Dave
> > 
> 



Reply via email to