Re: [pulseaudio-discuss] Error running from procmail

2022-02-20 Thread Adrian van Bloois
Hi Sean, This seems a bit complicated, I tried something else. I set the sticky bit on the morse binary so it was rwsr-xr-x but that didn't work either. Now I tried to run the same thing fron the crontab, on my laptops that works very well, but on the PC I get: pa_simple_Write failed Somehow I f

Re: [pulseaudio-discuss] Error running from procmail

2022-02-18 Thread Adrian van Bloois
On Tue, Feb 15, 2022 at 12:25:40AM -0800, Sean Greenslade wrote: > > A few other things that jump to mind: > > CentOS has selinux enabled by default. Perhaps check for any selinux > denials, since the context will likely be different between a user shell > and the procmail process. I run the mach

Re: [pulseaudio-discuss] Error running from procmail

2022-02-11 Thread Adrian van Bloois
Hi Sean, On Thu, Feb 10, 2022 at 11:39:13PM -0800, Sean Greenslade wrote: > > OK, so presumably this means that your machine has pulseaudio set up > correctly. Perhaps your issue is that the morse program is not running > as your logged-in user, so it cannot connect to your session's pulse > socke

Re: [pulseaudio-discuss] Error running from procmail

2022-02-11 Thread Adrian van Bloois
On Thu, Feb 10, 2022 at 11:39:13PM -0800, Sean Greenslade wrote: > On Tue, Feb 08, 2022 at 12:55:53PM +0100, Adrian van Bloois wrote: > > On Mon, Feb 07, 2022 at 10:10:47PM -0800, Sean Greenslade wrote: > > > On Mon, Feb 07, 2022 at 07:06:38PM +0100, Adrian van Bloois wr

Re: [pulseaudio-discuss] Error running from procmail

2022-02-08 Thread Adrian van Bloois
On Mon, Feb 07, 2022 at 10:10:47PM -0800, Sean Greenslade wrote: > On Mon, Feb 07, 2022 at 07:06:38PM +0100, Adrian van Bloois wrote: > > Hallo, > > I try to run a morse code program from procmail to produce an audible > > signal when mail arrives. My postfix(MTA) calls p

[pulseaudio-discuss] Error running from procmail

2022-02-07 Thread Adrian van Bloois
Hallo, I try to run a morse code program from procmail to produce an audible signal when mail arrives. My postfix(MTA) calls procmail(mail delivery agent) to deliver the mail. This obviously runs in the background. :rpocmail calls morse to give the signal that mail has arrived. However morse produc