View Single Post
  #1  
Old 14th June 2010, 22:23
knobenheimer knobenheimer is offline
Junior Member
 
Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix script execution in /etc/aliases fails

I followed the following virtual users and domains tutorial from how-to-forge:

http://www.howtoforge.com/virtual-us...-5.3-x86_64-p3

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 testing@example.com>, orig_to=<testing@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 testing@example.com")

Any help is greatly appreciated.
Reply With Quote
Sponsored Links