Process emails with /etc/aliases
- by Rodrigo Asensio
I'm calling shell scripts inside /etc/smrsh to process incoming emails as commands for my system. As I'm seeing all incoming emails are not making it to /var/mail/spool/USER.
Is there any way I can access to the content of the emails ? some variable $1 $2 comming with the content values ?
If not, how do I access to the content of the emails received ?
thanks guys