/etc/aliases is phased out in QMail. You cannot use it. What you would do
in that case, is create a .qmail file in the home directory of the user you
want to execute that for.
If you wanted to execute your below example and keep a local copy of the
message, your .qmail file would look something like:
|/usr/bin/filter.pl 7507203
./Maildir/
If you didn't want a local copy kept, you'd remove the ./Maildir/
If you wanted to forward a copy to another email address, you'd make a line
that says
&[EMAIL PROTECTED]
--
Tony Publiski
World Wide Net, Inc.
+1 (734) 513-7707 x 2012
-----Original Message-----
From: root [mailto:root]On Behalf Of Eduardo Rojas
Sent: Thursday, October 19, 2000 11:34 AM
To: qmail list
Subject: .forward and program execution
Hi list:
I have a question about program execution using qmail and aliases files:
Can I use /etc/aliases file to execute a program using qmail?
A tipic entry on /etc/aliases for my system is:
erojas: "|/usr/bin/filter.pl 7507203"
this line is used to send a pager notification to my pager, and it works
OK on Sendmail, but what I am trying to do is to migrate to qmail and I
do not know how to handle this issue.
In qmail docs I have found that qmail does not allow this "insecure" way
to execute programs, but I did not found any documentation on how to set
a secure way to execute this kind of programs.
I would apreciate your help
Regards,
Eduardo Rojas