Re: using Sendmail from an non-privileged user
From: bill drescher (nobody_at_Spamcop.net)
Date: 12/26/03
- Previous message: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- In reply to: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Next in thread: Tony Lawrence: "Re: using Sendmail from an non-privileged user"
- Reply: Tony Lawrence: "Re: using Sendmail from an non-privileged user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Dec 2003 06:13:23 -0500
Larry Rosenman wrote:
> In article <vum4jb4gqojm5b@corp.supernews.com>,
> bill drescher <nobody@Spamcop.net> wrote:
>
>>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.
>
> sendmail needs to be setuid root in it's normal config.
>
> LER
>
Thanks, but...
More fun, it is. I was wrong about the permissions (sloppy) the
permissions were/are -rws--x--x
I realize that the problem I am having can not be happening, but it was
probably infected by a winblows computer that shares the same desk.
Any other ideas ?
--
Bill Drescher
william {at} TechServSys {dot} com
- Previous message: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- In reply to: Larry Rosenman: "Re: using Sendmail from an non-privileged user"
- Next in thread: Tony Lawrence: "Re: using Sendmail from an non-privileged user"
- Reply: Tony Lawrence: "Re: using Sendmail from an non-privileged user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|