Perl command in /etc/aliases

Discussion in 'Installation/Configuration' started by Gnubox, Jul 12, 2013.

  1. Gnubox

    Gnubox New Member

    Hi

    I would like to insert a perl command into the /etc/aliases file :
    Code:
    alias: "| perl /opt/command/mycommand.pl"
    but it dont work, and the mail is sent to the collector.

    How should I do ?

    IspConfig 3.0.5.2 Debian 6 and Dovecot

    thank you
     
    Last edited: Jul 12, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The /etc/aliases file is not used for email domains that you created in ispconfig as the postfix setup is a virtzual setup and /etc/aliases is for linuy system users only and not virtual domains in postfix.
     
  3. Gnubox

    Gnubox New Member

    Ok, I understand.

    Is there another way to reach what I wanna do ?
     

Share This Page