Process emails with /etc/aliases

Posted by Rodrigo Asensio on Server Fault See other posts from Server Fault or by Rodrigo Asensio
Published on 2010-05-04T19:10:06Z Indexed on 2010/05/04 19:18 UTC
Read the original article Hit count: 197

Filed under:

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

© Server Fault or respective owner

Related posts about sendmail