Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Glyn Millington <wistanswick@linuxmail.org>
Subject: Re: jed -> gnus newbie
Date: Thu, 04 May 2006 06:28:27 +0100	[thread overview]
Message-ID: <87vesmz7d0.fsf@nowhere.org> (raw)
In-Reply-To: <ie-dndsQbIG-y8TZnZ2dnUVZ_u-dnZ2d@comcast.com>

notbob <notbob@nothome.com> writes:

> I've got gnus running, have my nntp server variable set, but still
> can't post.  When trying to post to a test ng, I get an error msg:
>
> Denied posting -- the From looks strange: "notbob@xxxx"
>
> .....xxxx being my Slack box'es host name.  OK, I'll change it to
> whatever.com, but where do I set the "from" header variable?  Also,
> what about the other header settings like "name" (nick),
> "organization", etc.  

Well you can use 

(setq user-full-name "NOT BOB")
(setq user-mail-address "notbob@myplace.org")


BUT if you use posting styles you can do that and more and when you are
ready do it on a per-group basis.  Here are a few (munged) blocks from my
posting-styles section. (See section 5.5 of the Gnus manual)


(setq gnus-posting-styles
	'((".*"                                 ; 1st block - defaults
          (signature-file "~/.sigs/usual")
          (From   "Glyn Millington <glyn@urglewyrgle.org>")
           (Reply-to   "glyn@urglewyrgle.org")
          (body "\n\nGlyn")
;          ;;;;;	   ;; line above puts my name above sig.
            (organization "Central Church, Torquay, U.K."))

;;; for usenet cover up a little - just a little.
(message-news-p     ; ie if this is usenet
           (From   "Glyn Millington <urglewurgle@urglewurgle.org>")
           (Reply-to   "urglewurgle@urglewurgle.org")
           (organization "Utterly lacking")
          (body "\n\nGlyn"))


         ("FRIENDS"
	  ("X-Discordian-Date" (shell-command-to-string "ddate")))


         ("^alt.os.linux.slackware"
         ("X-Discordian-Date" (shell-command-to-string "ddate"))
		(signature-file "~/.sigs/slack")
         ("X-Now-Playing" (gm-now-playing)))

	 ("SLACKLIST"
          (signature-file "~/.sigs/slack"))

))


^^  notice those two beauties





> I've been run ragged looking for info in my Learning Gnu Emacs
> (O'Reilly, 2nd ed) and emacs and gnus online manuals.  But, info on
> these settings and others like my pop3 and smtp server settings are
> still unfound by me.  


http://my.gnus.org/tutorial/Mail.html#Mail

section 7.2


personally I use good old fetchmail to download the mail  and dump it in
/var/spool/mail/glyn

then gnus takes over, sorting the mail, dumping the dross  :-)


for outbound mail I have postfix running and Gnus finds the sendmail
command and does the business without further instruction from me - but
section 7.2 tells about the other way...


Good luck



Glyn

  reply	other threads:[~2006-05-04  5:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04  1:17 notbob
2006-05-04  5:28 ` Glyn Millington [this message]
2006-05-04  7:23   ` notbob
2006-05-04  7:38     ` Glyn Millington
2006-05-04  9:08       ` notbob
2006-05-04  9:11         ` notbob
2006-05-04  9:19         ` Glyn Millington
2006-05-04 12:52           ` Reiner Steib
2006-05-04 10:05         ` Tassilo Horn

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=87vesmz7d0.fsf@nowhere.org \
    --to=wistanswick@linuxmail.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).