call qmail-inject with the -f option or specify the return path in the
headers:
Return-Path: <user@host>
-K
> From: "Jon" <[EMAIL PROTECTED]>
> Date: Sat, 3 Mar 2001 10:57:50 -0000
> To: <[EMAIL PROTECTED]>
> Subject: Return-Path
>
> Hi,
>
> I have been running qmail for about 2 months now and everything has been
> great :-) I have a very simple setup. I host web sites on the server using
> Apache, and when someone uses a perl script though there web site, email
> sent by perl script has a return-path of
>
> [EMAIL PROTECTED]
>
> I thought qmail might use the username of the Apache web server as the
> return-path but it doesn't. Anyway to control what the return-path is? I
> have qmail setup to use the "alias" username to store mail and the Maildir
> format. So my /var/qmail/control/virtualdomains file looks like -
>
> websiteurl.com:alias-websiteurl
>
> Any ideas? All the best,
>
> Jon
>
>