Shell scripts in sendmail aliases
- by Rodrigo Asensio
I'm trying to execute a sendmail alias script using this
# aliases for my system
addressx: |sh /usr/share/scripts/myscript.sh WON'T WORK
addressx: '/usr/share/scripts/myscript.sh' WON'T WORK
addressx: '|/usr/share/scripts/myscripts.sh' WON'T WORK
Can I execute scripts or it must be a binary file ?