[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to setup Gnus for the first time? (was: How to add two sequences
Re: How to setup Gnus for the first time? (was: How to add two sequences of different lengths?)
Mon, 20 Jul 2020 01:33:59 +0300
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Hashish Singh <email@example.com> wrote:
>> There was really no reason to write me privately in the first place.
> The thing is that this discussion is not relevant to the forum
Perhaps. But there are _other_ public forums / newsgroups / mailing lists.
And, of course, there is a Gnus user list — <firstname.lastname@example.org> aka
Iʼll take a liberty to reply you there.
> I think the Gnus is the best way for me to post to the nntp server. What do I
> need to do the settings?
There is gazillion of different things that you may want to configure to use
Gnus the best way (and actually many of them better be defaults). But the
minimal setup before typing M-x gnus for the first time might look like that,
(setq user-full-name "Hashish Singh"
(setq send-mail-function 'smtpmail-send-it
smtpmail-stream-type 'ssl ; TLS really, was nil means STARTTLS or
smtpmail-smtp-service "smtps") ; SMTP/TLS, was 25 == "smtp"
(setq gnus-select-method '(nnnil "")
(nnimap-stream ssl)) ; TLS really
(setq gnus-agent-auto-agentize-methods '(nnimap nntp)
gnus-agent-enable-expiration 'DISABLE) ; yep, non-standard boolean
(add-hook 'gnus-select-article-hook #'gnus-agent-fetch-selected-article)
((string-prefix-p "nnimap+" group) group) ; to itself
(t "nnimap+0:INBOX")))) ; or whatever you normally use
(setq gnus-gcc-mark-as-read t)
;; News hierarchies, which are really gatewayed mailing lists.
(rx bol (opt "nntp" (1+ nonl) ":") (or "gmane."
;; Name may be misleading, it does not set `fill-column' (which is
;; by M-q) in `message-mode', but enables auto-filling on a given
(setq message-fill-column nil) ; was 72
Credentials are traditionally stored in ~/.authinfo.gpg like that:
machine smtp.gmail.com login hashish0singh password YOUR-PASSPHRASE
machine 0 login hashish0singh password YOUR-PASSPHRASE
If you use pass(1), thatʼs supported as well, though, cf. (info "(auth) The
Unix password store").
One of the first things to do after M-x gnus might be:
^ C-s :g RET RET C-s gnus.user RET u
You might also be interested in gmane.emacs.help there.
Description: PGP signature
- Re: How to setup Gnus for the first time? (was: How to add two sequences of different lengths?),
Dmitry Alexandrov <=