On Mon, 2012-06-04 at 15:47 -0500, /dev/rob0 wrote: > > I've come across instances when mail is still delivered to a > > command using the user "nobody" (such as when a mail is generated > > from the local server rather than delivered from an external > > source). > > You forgot to include logs and evidence (file ownership and modes) > regarding these instances, so it is not possible to comment other > than a WAG. My WAG here is that multiple instances are involved: > local processes are invoking sendmail(1) in another instance.
Thanks for the reply. You were correct: another Postfix instance was indeed being used that didn't have default_privs set (because I thought it was only being used to deliver mail externally). In certain circumstances, it was delivering mail locally on behalf of the main Postfix instance, and was thus defaulting to the "nobody" user. > > Is there any way to change the user that is used to deliver *all* > > mail to external commands? > > No, that would not make sense for the local(8) delivery agent, > wherein the recipient is the one running any command. Perhaps you > would be interested in pipe(8)? Actually, that looks like a better solution. Thank you. > You have not said what the problem > and ultimate goal is. > > html_directory = /usr/share/doc/postfix-2.3.3/html > > Hmmm, 2.3.3 is very old, and did not have support for this: Well spotted. I should have said: this is Postfix 2.7.1. That's a hangover from the original installation. Thanks again for the reply. Andy