Hi Martin, I have not had a chance to work on the problem yet, I was busy with our stuff. I will test again with your suggestion later this week.
Thank you so very much for your help! On Wed, Oct 11, 2017 at 5:27 AM, Martin Gregorie <mar...@gregorie.org> wrote: > On Mon, 2017-10-09 at 17:24 -0700, Imam Toufique wrote: > > > > So, I followed the example and created my command below: > > > > su fetchmail -s /bin/sh -c "/usr/bin/spamc | > > /usr/local/bin/spamkiller > > -c=/usr/bin/fetchmail -a -v -f /opt/RT/4.4.2/etc/fetchmailrc" > > > > when I run the above, nothing seems to happen. I am sure I am > > missing > > something here, not sure what it is. > > > I've finally realised why your command (shown above) didn't work. The > short answer is "because there's no argument substitution in a literal" > and you'd used a literal string as the -c optional value where I'd > used a script, defined via the getmail configuration file and because > you claimed you were using getmail but you actually used fetchmail. > > > Martin > > > -- Regards, *Imam Toufique* *213-700-5485 <(213)%20700-5485>*