On Mon, May 01, 2000 at 09:23:44PM -0700, Mike Perks wrote:
 
> How do I tell qmail-inject to send email thru a particular virtual domain
> name?

man qmail-inject

> Currently it just gives the address [EMAIL PROTECTED] which is my
> defauldomain
> 
> The reason why I am asking is I have a cgi script that sends mail thru an
> interface and currently it just pushes everything thru my defaultdomain and
> I get the bounced messages in my postmaster box when the mail isnt
> deliverable... Would rather the virt domain get its own return addressed
> mail

use $QMAILHOST or $MAILHOST, or $QMAILSHOST, ...

> Can I also put a particular user's name in the this comand line so if a
> message doesbounce then they'll get the MAILER-Daemon message

set one of QMAILUSER, MAILUSER, USER,  or  LOGNAME.

Regards, Uwe

Reply via email to