I have a program that gets called when an incoming email arrives on a Solaris 10 machine by using /etc/aliases. So far the only way to get sendmail to execute this program is to set the the setuid bit to root. Even with read/execute set on the other group, sendmail still can't execute my program without setuid bit set to root.
I've found that sendmail runs as the daemon user on Solaris 10.
I'd like to avoid using setuid root on my executable and have sendmail to execute my program. Is there something I'm missing in properly setting up the permissions?