From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15567 Path: main.gmane.org!not-for-mail From: Bud Rogers Newsgroups: gmane.emacs.gnus.general Subject: Re: help, I've crippled my gnus Date: Fri, 10 Jul 1998 12:46:36 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154576 22815 80.91.224.250 (20 Oct 2002 22:56:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:56:16 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id NAA11784 for ; Sat, 11 Jul 1998 13:33:54 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id QAA19845 for ; Sat, 11 Jul 1998 16:30:56 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id PAT12970; Sat, 11 Jul 1998 15:04:36 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 11 Jul 1998 15:29:38 -0500 (CDT) Original-Received: from Post-Office.UH.EDU (pmdf@Post-Office.UH.EDU [129.7.1.20]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id PAA09348 for ; Sat, 11 Jul 1998 15:29:28 -0500 (CDT) Original-Received: from twocups.tanet.net by Post-Office.UH.EDU (PMDF V5.1-10 #U2811) with ESMTP id <0EVW00HIB41SQP@Post-Office.UH.EDU> for ding@hpc.uh.edu; Fri, 10 Jul 1998 12:46:43 -0500 (CDT) Original-Received: from twocups.tanet.net (budr@localhost [127.0.0.1]) by twocups.tanet.net (8.8.7/8.8.7) with SMTP id MAA16576 for ; Fri, 10 Jul 1998 12:46:37 -0500 In-reply-to: SL Baur's message of "09 Jul 1998 22:12:26 -0700" Original-To: ding@hpc.uh.edu X-Mailer: Gnus v5.6.10/XEmacs 20.3 - "Vatican City" Original-Lines: 64 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15567 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15567 SL Baur 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 I wore khaki when khaki wasn't cool.