Next: Archived Messages, Previous: POP before SMTP, Up: Composing Messages [Contents][Index]

### 5.4 Mail and Post

Here’s a list of variables relevant to both mailing and posting:

`gnus-mailing-list-groups`

  If your news server offers groups that are really mailing lists gatewayed to the NNTP server, you can read those groups without problems, but you can’t post/followup to them without some difficulty. One solution is to add a `to-address` to the group parameters (see Group Parameters). An easier thing to do is set the `gnus-mailing-list-groups` to a regexp that matches the groups that really are mailing lists. Then, at least, followups to the mailing lists will work most of the time. Posting to these groups (`a`) is still a pain, though.

`gnus-user-agent`

  This variable controls which information should be exposed in the User-Agent header. It can be a list of symbols or a string. Valid symbols are `gnus` (show Gnus version) and `emacs` (show Emacs version). In addition to the Emacs version, you can add `codename` (show (S)XEmacs codename) or either `config` (show system configuration) or `type` (show system type). If you set it to a string, be sure to use a valid format, see RFC 2616.

You may want to do spell-checking on messages that you send out. Or, if you don’t want to spell-check by hand, you could add automatic spell-checking via the `ispell` package:

    (add-hook 'message-send-hook 'ispell-message)

If you want to change the `ispell` dictionary based on what group you’re in, you could say something like the following:

    (add-hook 'gnus-select-group-hook
              (lambda ()
                (cond
                 ((string-match
                   "^de\\." (gnus-group-real-name gnus-newsgroup-name))
                  (ispell-change-dictionary "deutsch"))
                 (t
                  (ispell-change-dictionary "english")))))

Modify to suit your needs.

If `gnus-message-highlight-citation` is `t`, different levels of citations are highlighted like in Gnus article buffers also in message mode buffers.

Next: Archived Messages, Previous: POP before SMTP, Up: Composing Messages [Contents][Index]