Subj : Re: mail not tossing
To : Rick Smith
From : Wilfred van Velzen
Date : Mon Jan 23 2023 08:43 am
Hi Rick,
On 22 Jan 23 09:11, Rick Smith wrote to Michael Dukelsky:
about: "mail not tossing":
RS> got it working by adding config path to the script.. I have an "export
RS> FIDOCONFIG=/etc/ftn/config" in .bashrc is that not sufficient?
No. From `man bash`:
"When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc then ~/.bashrc when those files exist and are readable. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of ~/.bashrc.
When bash is started non-interactively, to run a shell script, for example, ..."