Re: [PLUG] Execute Script Via Email

2021-01-21 Thread TomasK
This seems to be such bad idea - security. Would not it make sense to use some traceable, authenticated and secure way of doing this - vpn or ssh to local network then ssh to the client? Just saying, Tomas PS: I bet there are easier way to shoot yourself in the foot than making computers

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Ken Stephens
I set up a printing queue in 1991 using a shell script that polled a directory for a file. You could set up email users for each command and have the script poll the mail queues. It would execute a given command for each user. There is always another way to do it in Linux. Ken On Thu, Jan 21,

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Ben Koenig
On 1/21/21 12:05 PM, Ali Corbin wrote: On Thu, Jan 21, 2021 at 8:11 AM Michael Barnes wrote: Is there a way to execute a script via email? I have a machine that does several monitoring tasks of equipment. When certain conditions are detected and at scheduled times, the machine sends status

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Ali Corbin
On Thu, Jan 21, 2021 at 8:11 AM Michael Barnes wrote: > Is there a way to execute a script via email? I have a machine that does > several monitoring tasks of equipment. When certain conditions are detected > and at scheduled times, the machine sends status emails to me. I would like > to send

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Galen Seitz
On 1/21/21 9:06 AM, Michael Barnes wrote: I might not have been clear. I'm not looking for something that reacts to the receipt of email. I need a given script to execute based on what is in either the Subject or Body of the email. For example, I send an email to mach...@somewhere.com with

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread wes
On Thu, Jan 21, 2021 at 9:06 AM Michael Barnes wrote: > > I need a given script to execute based on what is in > either the Subject or Body of the email. For example, I send an email to > mach...@somewhere.com with something like RESTART_FOO in the Subject or > Body and it would run the script

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Michael Barnes
On Thu, Jan 21, 2021 at 8:47 AM Rich Shepard wrote: > On Thu, 21 Jan 2021, David wrote: > > > I'm not sure about the "easy" part, but take a look at procmail and its > > recipes. > > > > I don't use it, but the utility ingests mail, analyzes it, and then > "takes an > > action" which is

Re: [PLUG] Looking for stereo input USB audio adapter

2021-01-21 Thread Tomas Kuchta
On Thu, Jan 21, 2021, 11:32 Michael Barnes wrote: > On Thu, Jan 21, 2021 at 1:28 AM Russell Senior > wrote: > > > I recently discovered that most usb-audio adapters have stereo outputs > > but single channel inputs. Does anyone know of devices with stereo > > inputs and/or how to search for

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Rich Shepard
On Thu, 21 Jan 2021, David wrote: I'm not sure about the "easy" part, but take a look at procmail and its recipes. I don't use it, but the utility ingests mail, analyzes it, and then "takes an action" which is generally just a routing of some sort. There shouldn't be any reason why you

Re: [PLUG] Execute Script Via Email

2021-01-21 Thread David
On 1/21/21 8:11 AM, Michael Barnes wrote: Is there a way to execute a script via email? I have a machine that does several monitoring tasks of equipment. When certain conditions are detected and at scheduled times, the machine sends status emails to me. I would like to send an email back to

[PLUG] Execute Script Via Email

2021-01-21 Thread Michael Barnes
Is there a way to execute a script via email? I have a machine that does several monitoring tasks of equipment. When certain conditions are detected and at scheduled times, the machine sends status emails to me. I would like to send an email back to execute a script to perform tasks. Is there an

[PLUG] Looking for stereo input USB audio adapter

2021-01-21 Thread Russell Senior
I recently discovered that most usb-audio adapters have stereo outputs but single channel inputs. Does anyone know of devices with stereo inputs and/or how to search for such things. The keyword stereo very often will match on the output and I haven't found a way of searching that excludes