I followed the following virtual users and domains tutorial from how-to-forge:
All the features work correctly, however, when I put a script execution assignment in my /etc/aliases it attempts to send the email to a user with the command name, instead of executing the command.
For example, the following line in my /etc/aliases file:
testing: "|exec flist testing" (where flist is symbolically linked in /etc/smrsh)
Issues the following response in my /var/log/maillog:
to=<|exec flist firstname.lastname@example.org
>, orig_to=<email@example.com>, relay=virtual, delay=0.26, delays=0.24/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "|exec flist firstname.lastname@example.org
Any help is greatly appreciated.