[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
If your local nntp
server doesn't allow posting, for some reason
or other, you can post using one of the numerous mail-to-news gateways.
The nngateway
back end provides the interface.
Note that you can't read anything from this back end--it can only be used to post with.
Server variables:
nngateway-address
nngateway-header-transformation
nngateway-simple-header-transformation
. The function is called
narrowed to the headers to be transformed and with one parameter--the
gateway address.
This default function just inserts a new To
header based on the
Newsgroups
header and the gateway address.
For instance, an article with this Newsgroups
header:
Newsgroups: alt.religion.emacs |
will get this To
header inserted:
To: alt-religion-emacs@GATEWAY |
The following pre-defined functions exist:
nngateway-simple-header-transformation
To
header that looks like
newsgroup@nngateway-address
.
nngateway-mail2news-header-transformation
To
header that looks like
nngateway-address
.
Here's an example:
(setq gnus-post-method '(nngateway "mail2news@replay.com" (nngateway-header-transformation nngateway-mail2news-header-transformation))) |
So, to use this, simply say something like:
(setq gnus-post-method '(nngateway "GATEWAY.ADDRESS")) |