Hi James, as recommended in the miemdefang list(and you), I added this line in mimedefang init file: export HOME=/path/to/home in order to solve the problem
I was thinking that /sbin/runuser could unset all variables that was setup by bash in /etc/init.d/mimedefang
Thanks Oliver
James Olin Oden wrote:
such that I could suggest a solution to your problem. I will say that in the past I have made the script that is to be ran in that environment give HOME a default of some sort so if/when it was ran out of init it would still function properly (BTW, its likely you would see this in cron too).