* Re: help, I've crippled my gnus
@ 1998-07-10 2:42 root
1998-07-10 5:12 ` SL Baur
0 siblings, 1 reply; 5+ messages in thread
From: root @ 1998-07-10 2:42 UTC (permalink / raw)
OK, I can send mail from root, but not from any user. I'm thinking
this is probably a permissions problem, but I can't find the culprit.
/tmp is 1777 root.root
/var/spool/mail is 775 root.mail
/var/spool/mqueue is 755 root.mail
These are probably too loose, if anything. I don't know what else to
look at.
--
Bud Rogers <budr@tanet.net>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help, I've crippled my gnus
1998-07-10 2:42 help, I've crippled my gnus root
@ 1998-07-10 5:12 ` SL Baur
1998-07-10 17:46 ` Bud Rogers
0 siblings, 1 reply; 5+ messages in thread
From: SL Baur @ 1998-07-10 5:12 UTC (permalink / raw)
Uh oh. ding@gnus.org is still bombing for me:
The original message was received at Thu, 9 Jul 1998 22:04:44 -0700
from steve@localhost
----- The following addresses had permanent fatal errors -----
ding@gnus.org
----- Transcript of session follows -----
... while talking to claymore.vcinet.com.:
>>> RCPT To:<ding@gnus.org>
<<< 551 we do not relay
550 ding@gnus.org... User unknown
root <root@twocups.tanet.net> writes:
> OK, I can send mail from root, but not from any user. I'm thinking
> this is probably a permissions problem, but I can't find the culprit.
> /tmp is 1777 root.root
> /var/spool/mail is 775 root.mail
> /var/spool/mqueue is 755 root.mail
> These are probably too loose, if anything. I don't know what else to
> look at.
Being able to do something as root but not as an oridinary user is a
permission problem 99.9999% of the time. The permissions you listed
look fine. Is your sendmail binary properly setuid/setgid?
You might also try using smtpmail and talking to the local mail server
over a network socket.
To use smtpmail you would need to set something like:
(setq message-send-mail-function 'smtpmail-send-it)
;; If this bombs, add `(autoload 'smtpmail-send-it "smtpmail")', I
;; forget which version of XEmacs we fixed this in.
(setq smtpmail-smtp-server "localhost")
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help, I've crippled my gnus
1998-07-10 5:12 ` SL Baur
@ 1998-07-10 17:46 ` Bud Rogers
1998-07-12 1:44 ` Bud Rogers
0 siblings, 1 reply; 5+ messages in thread
From: Bud Rogers @ 1998-07-10 17:46 UTC (permalink / raw)
SL Baur <steve@xemacs.org> writes:
> Being able to do something as root but not as an oridinary user is a
> permission problem 99.9999% of the time. The permissions you listed
> look fine. Is your sendmail binary properly setuid/setgid?
>
My thoughts exactly, but I think sendmail is OK.
UUbudr ~ $ ls -l /usr/lib/sendmail
lrwxrwxrwx 1 root root 18 Jul 5 13:18 /usr/lib/sendmail -> /usr/sbin/sendmail*
UUbudr ~ $ ls -l /usr/sbin/sendmail
-r-sr-sr-x 1 root bin 264008 Aug 10 1997 /usr/sbin/sendmail*
If I compose a message in gnus and try send it with C-c C-c, it fails with
this error:
Signaling: (file-error "Cannot open" "Bad file number" t)
call-process-internal("/usr/lib/sendmail" "/tmp/emacsa10377" 0 nil "-oi" "-f" "budr" "-oem" "-odb" "-t")
apply(call-process-internal "/usr/lib/sendmail" "/tmp/emacsa10377" 0 nil ("-oi" "-f" "budr" "-oem" "-odb" "-t"))
call-process("/usr/lib/sendmail" "/tmp/emacsa10377" 0 nil "-oi" "-f" "budr" "-oem" "-odb" "-t")
apply(call-process "/usr/lib/sendmail" "/tmp/emacsa10377" 0 nil ("-oi" "-f" "budr" "-oem" "-odb" "-t"))
call-process-region(1 310 "/usr/lib/sendmail" nil 0 nil "-oi" "-f" "budr" "-oem" "-odb" "-t")
apply(call-process-region (1 310 "/usr/lib/sendmail" nil 0 nil "-oi" "-f" "budr" "-oem" "-odb" "-t"))
message-send-mail-with-sendmail()
message-send-mail(nil)
message-send-via-mail(nil)
message-send(nil)
message-send-and-exit(nil)
call-interactively(message-send-and-exit)
At that point there is a valid looking mail message in /tmp/emacsxxxx. I
can send that message manually like this:
/usr/lib/sendmail -oi -oem -odb -t < /etc/emacsxxxx
as user budr and it goes out fine.
> You might also try using smtpmail and talking to the local mail server
> over a network socket.
>
> To use smtpmail you would need to set something like:
>
> (setq message-send-mail-function 'smtpmail-send-it)
> ;; If this bombs, add `(autoload 'smtpmail-send-it "smtpmail")', I
> ;; forget which version of XEmacs we fixed this in.
>
> (setq smtpmail-smtp-server "localhost")
>
I put that snippet in my .gnus verbatim and sent myself a test message
without problem. We'll see if I can send this to the list. Assuming it
works, that will solve my immediate problem (extreme gnus withdrawal) but I
sure would like to figure out what I broke.
Thanks, Steve.
--
Bud Rogers <budr@tanet.net>
I wore khaki when khaki wasn't cool.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help, I've crippled my gnus
1998-07-10 17:46 ` Bud Rogers
@ 1998-07-12 1:44 ` Bud Rogers
0 siblings, 0 replies; 5+ messages in thread
From: Bud Rogers @ 1998-07-12 1:44 UTC (permalink / raw)
Bud Rogers <budr@tanet.net> writes:
> I put that snippet in my .gnus verbatim and sent myself a test message
> without problem. We'll see if I can send this to the list. Assuming it
> works, that will solve my immediate problem (extreme gnus withdrawal) but I
> sure would like to figure out what I broke.
/dev/null 640 root.sys
Sometimes I amaze myself...
--
Bud Rogers <budr@tanet.net>
I wore khaki when khaki wasn't cool.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help I've crippled my gnus
@ 1998-07-08 20:58 Bud Rogers
0 siblings, 0 replies; 5+ messages in thread
From: Bud Rogers @ 1998-07-08 20:58 UTC (permalink / raw)
Oops, I lied. My xemacs is 20.3, not 20.4. Don't think that would
matter, but...
Bud Rogers <budr@tanet.net>
I wore khaki when khaki wasn't cool.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-07-12 1:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-10 2:42 help, I've crippled my gnus root
1998-07-10 5:12 ` SL Baur
1998-07-10 17:46 ` Bud Rogers
1998-07-12 1:44 ` Bud Rogers
-- strict thread matches above, loose matches on Subject: below --
1998-07-08 20:58 help " Bud Rogers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).