I need to issue the "postfix reload" command through php4 with the exec() command. What is the best and most importantly safest way to do this? Is it possible to assign only that command to apache with sudo? If so how do I best go about this?
If sudo is not a good idea is there anything else?
Many thanks in advance.