Nov 14, 2003 #1 lent MIS Nov 1, 2001 6 US Question posed: Can a script be able to read/parse data from an email to the Aix/Unix system ??? This data would be either part of the message or attached ?? Thanks, Len T
Question posed: Can a script be able to read/parse data from an email to the Aix/Unix system ??? This data would be either part of the message or attached ?? Thanks, Len T
Nov 14, 2003 #2 aixmurderer IS-IT--Management Nov 28, 2000 603 NZ Yip, quite possible. Of course you will need to have a script which will be able to make sense of the input $1, there are a few out there. To do it you will probably create yourself an email alias in the /etc/aliases file, something like this: an_alias: |"/path/to/script.sh" If you want to write the whole email contents to a file its even easier: an_alias: /var/tmp/a_logfile.log IBM Certified Confused - MQSeries IBM Certified Flabbergasted - AIX 5 pSeries System Administration MS Certified Windblows Rebooter Upvote 0 Downvote
Yip, quite possible. Of course you will need to have a script which will be able to make sense of the input $1, there are a few out there. To do it you will probably create yourself an email alias in the /etc/aliases file, something like this: an_alias: |"/path/to/script.sh" If you want to write the whole email contents to a file its even easier: an_alias: /var/tmp/a_logfile.log IBM Certified Confused - MQSeries IBM Certified Flabbergasted - AIX 5 pSeries System Administration MS Certified Windblows Rebooter