using Sendmail from an non-privileged user
From: bill drescher (nobody_at_Spamcop.net)
Date: 12/25/03
- Previous message: Darryl Krasman: "Re: SCO claims copyright on *header* files!"
- Next in thread: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Reply: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Dec 2003 11:36:00 -0500
I have a system that uses /usr/lib/sendmail -t to send messages
generated by a program running on a user account. Works fine.
At home I wrote a similar application to send newsletters to my
friends/family and usually it generates an error in the file redirect
the close codes to that says (paraphrase, I fixed it by a hack so I
don't have the exact code available now) that it can not create an entry
in /usr/spool/mqueue, which makes sense as it ie owned by root:mail and
the permissions are 775.
What is perplexing is that sometimes it will send the mail at home
(about 1 time out of 10) and it always sends the mail at the customer
site which has the same permissions afaik.
Openserver 5.0.5
I'd be glad to hear opinions as to how it works at all but I really
would like suggestions on how to have a non-privileged user program send
mail.
for a temporary hack I changed the permissions on /usr/spool/mqueue to
777, but am not comfortable with that.
--
Bill Drescher
william {at} TechServSys {dot} com
- Previous message: Darryl Krasman: "Re: SCO claims copyright on *header* files!"
- Next in thread: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Reply: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|