From: Bud Rogers <budr@tanet.net>
Subject: Re: help, I've crippled my gnus
Date: Fri, 10 Jul 1998 12:46:36 -0500 [thread overview]
Message-ID: <m2k95l61kz.fsf@twocups.tanet.net> (raw)
In-Reply-To: SL Baur's message of "09 Jul 1998 22:12:26 -0700"
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.
next prev parent reply other threads:[~1998-07-10 17:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-10 2:42 root
1998-07-10 5:12 ` SL Baur
1998-07-10 17:46 ` Bud Rogers [this message]
1998-07-12 1:44 ` Bud Rogers
-- strict thread matches above, loose matches on Subject: below --
1998-07-08 20:58 help " Bud Rogers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2k95l61kz.fsf@twocups.tanet.net \
--to=budr@tanet.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).