I am trying to make an autoresponder work on a user in a virtual domain in
qmail.
the user has a .qmail file in /var/qmail/alias/ directory that directs the
mail to the users home directory on the default domain on the machine. I am
using a simple autoresponder script that works but it gives the return
address as the default domain on the machine and not the virtual domain. How
can I make the virtual domain appear in the return address? In addition how
can I include a field in the subject line?

Below is the script that I am using.

filename
.qmail-whobar-info

contents:
&[EMAIL PROTECTED]
| (echo From: info;echo "To: $SENDER";cat test.txt) | qmail-inject

Thanks alot to anyone who can help.

Elliot Goldstein

Reply via email to