Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: jadamson@partners.org (Joel J. Adamson)
To: info-gnus-english@gnu.org
Subject: Re: emacs, Gnus, sendmail ?
Date: Thu, 07 Jun 2007 09:39:55 -0400	[thread overview]
Message-ID: <871wgnano4.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: <1181187350.287690@vasbyt.isdsl.net> (news@absamail.co.za's message of "Wed\, 06 Jun 2007 22\:35\:53 -0500")

news@absamail.co.za writes:

> I'm logged in as root [since I need freedom to setup the various 
> parameters], but I've got no /root/.gnus.el file; so I created one 
> containing the recommended:
>    '(setq gnus....'(nntp " ....").
> But still I only see the 'can't contect to server' error.

You don't need to set up anything for Emacs as root.  You absolutely
have to set stuff up for Emacs as a user (all the configurations are
read from your home directory).  Besides the security issues (i.e.,
you might delete your entire filesystem), nothing will work if you set
it up as root (as you've discovered).

> Also emacs apparently uses sendmail to send mail.

It only uses sendmail if you've set up sendmail (the Unix program).
Otherwise it uses sendmail.el (`slocate sendmail.el`)

> But the 'return-path/from' fields are not configured.
> And sendmail.cf is a 57K monster !

You're talking about sendmail the system program; Emacs has its own
sendmail functions (see above).

> How is THIS problem to be fixed ?

Configure -> play around -> configure -> play around -> configure ->
testing (this used to be called playing around but now you've found a
systematic way to do it)

Or, the alternative:

configure -> play around -> throw hands up -> configure -> lose
mail -> configure -> throw hands way up -> lose more mail -> use Thunderbird.

> And what fascinates me, is that after all the labour invested, 
> the bleeding-edge-boys say  "you must keep updated".

Well, don't pay attention to the bleeding edge boys -- they have time
to play around and lose data.  Emacs 22.1 is out now and it's plenty
updated -- it's friggin' fantastic -- and it's so damn stable that
things work now that never worked before in previously "stable"
versions (like AucTeX suddenly does whatever I ask, weird ;))

> I.e install the latest version and re-do all the re-configuration ?!

Besides that you DON'T lose your configuration if you do it as a user:
it's all saved as .files (e.g., .emacs, .gnus, .vm, .your-face,
.gtkrc-2.0).  I upgraded first from XEmacs 21.4.19 to Emacs 21.4
(believe me, that WAS an upgrade) and then from Emacs 21.4 to Emacs
22.1 and in the second upgrade, I only had to fix three pieces of
.emacs.  On top of that I decided that now I like the scrollbars,
toolbars and menubar, since they're GTK.  This is not the bleeding
edge: it's pretty damn stable.

> Any advice on how to fix-it appreciated.

My advice: I know you're frustrated, but you will be better off for
your frustration if you read the manuals, get into Emacs lisp (how the
program really works) and HUMBLY ask for help, instead of trying to
piss off the people who can help you.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

  parent reply	other threads:[~2007-06-07 13:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  3:35 news
2007-06-07  9:37 ` Hadron
2007-06-07 12:56 ` Dan Espen
2007-06-07 13:39 ` Joel J. Adamson [this message]
2007-06-07 17:27   ` Reiner Steib
2007-06-08  3:13     ` Tim X
2007-06-08  9:42       ` Dick Hoogendijk
2007-06-08 14:35         ` Tim X
2007-06-08 14:04       ` Reiner Steib
2007-06-08 14:38         ` Tim X
2007-06-08 14:23     ` Joel J. Adamson

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=871wgnano4.fsf@W0053328.mgh.harvard.edu \
    --to=jadamson@partners.org \
    --cc=info-gnus-english@gnu.org \
    /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).