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.
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.
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
will get this
To header inserted:
The following pre-defined functions exist:
Toheader that looks like newsgroup@
Toheader that looks like
Here's an example:
(setq gnus-post-method '(nngateway "firstname.lastname@example.org" (nngateway-header-transformation nngateway-mail2news-header-transformation)))
So, to use this, simply say something like:
(setq gnus-post-method '(nngateway "GATEWAY.ADDRESS"))