Geoff,
I doubt the problem is with the user/group if your just trying to use the
sendmail wrapper. I've used it as non-priveledged users with no problems
with the permissions at 0755.
Log in as nobody and try:
echo to:postmaster | /var/qmail/bin/qmail-inject -A postmaster
If it works, you should get the message. Hope this helps.
Regards,
Charles Werbick
The Wirehouse
-----Original Message-----
From: Geoff Everist [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 24, 2000 20:42
To: [EMAIL PROTECTED]
Subject: How do I enable user nobody to use qmail-inject?
I have looked through the FAQ and checked the archives and can see an
obvious answer to this question. I am running a Redhat 6.1 system with
qmail 1.0.3 installed from the packages. I am using IMP as a web front
end for clients to send and receive email. The problem is that IMP
invokes qmail-inject (via the /var/qmail/bin/sendmail wrapper) as user
nobody (which is configured as a system account - uid 99). When sending
mail through IMP I get the following error message:
qmail-inject: fatal: read error
To verify the cause of the problem, I su'ed as nobody and tried a quick
test echo to: postmaster | /var/qmail/bin/qmail-inject with the same
result. The question is, how do I enable the nobody account to use
qmail-inject in a secure manner?
TIA for any assistance,
Cheers
Geoff Everist