Download BBDB User Manual
Transcript
Chapter 1: BBDB 19 If you want a mail alias to be defined for a person, simply add a mail-alias field to their record. You may have multiple aliases for the same person; simply separate them with commas. For convenience there is the function bbdb-add-or-remove-mail-alias bound to a which adds an alias to one or multiple records when prefixed by a *. Called with a prefix argument C-u it will remove the given alias. If more than one person has the same mail-alias, then that alias expands to the addresses of all of those people; in this way you can maintain mailing lists within the BBDB. When you want to group aliases as in .mailrc you may just retained the group aliases in your .mailrc. To actually define the aliases which are stored in the BBDB, call the function bbdbdefine-all-aliases from your mail-setup-hook (or message-setup-hook if you use Message mode coming with Gnus). This will search the database, and call define-mailalias to define each of the resulting aliases. 1.5 Reader-specific Features There are features of the BBDB that are available only for specific mail- and news-readers. These features are described below. The headers which are parsed for email addresses and what records are displayed can be controlled by the following variables: bbdb-get-addresses-from-headers controls which headers are parsed for sender addresses when calling the show-sender function of your MUA. bbdb-get-addresses-to-headers controls which headers are parsed for recipients addresses when calling the show-all-recipients function of your MUA. When using the pop up feature it will search for the addresses in bbdb-get-addresses-headers and display them. By default it will list only the first address, but by setting bbdb-get-only-firstaddress-p to nil one will will get records for all addresses. If there is no MUA specific variable for ignoring certain addresses then those addresses matching bbdb-user-mail-names will be ignored. BBDB adds the bindings : for showing all senders and ; for editing the notes of the sender. 1.5.1 Gnus-specific Features The BBDB can be used to provide score information, or to integrate database information into the Gnus Summary buffer or the GNUS Subject List. 1.5.1.1 Scoring The BBDB can provide scoring information to Gnus in one of two ways. 1. Articles whose authors appear in the BBDB and who have gnus-score fields will have their scores adjusted by the value contained in that field. 2. Articles whose authors appear in the BBDB but who do not have gnus-score fields will have their scores adjusted by bbdb/gnus-score-default. If bbdb/gnus-scoredefault is nil, no score adjustment will be made. The BBDB by default searches the field contained in bbdb/gnus-score-field for score values. To have the BBDB use a different field, change the value of this variable.