I've done this in the distant past, but can't remember the exact syntax of the command. So, any help would be much appreciated.
I want a particular user to parse email when it comes in, by receiving the email message, searching its content for keywords, then, if a specific keyword exists, do something.
In the past, I've done something like this: (But I can't seem to get the exact syntax again.)
.forward
\user_id, "|cat > ~user_id/tmp_file"
"|~user_id/check_tmp_file.ksh"
-OR-
\user_id, "|cat > ~user_id/tmp_file; ~user_id/check_tmp_file.ksh"
When I send a message to this user ID, the user ID gets the message, but the tmp_file is never created.
Thanks in advance, and have a very happy Thanksgiving...
Joe F.
I want a particular user to parse email when it comes in, by receiving the email message, searching its content for keywords, then, if a specific keyword exists, do something.
In the past, I've done something like this: (But I can't seem to get the exact syntax again.)
.forward
\user_id, "|cat > ~user_id/tmp_file"
"|~user_id/check_tmp_file.ksh"
-OR-
\user_id, "|cat > ~user_id/tmp_file; ~user_id/check_tmp_file.ksh"
When I send a message to this user ID, the user ID gets the message, but the tmp_file is never created.
Thanks in advance, and have a very happy Thanksgiving...
Joe F.