This file contains mappings between submitter IDs and corresponding e-mail addresses.
When a PR comes in without a submitter ID (if someone sends unformatted e-mail to the PR submission email address), gnats will try to derive the submitter ID from the address in the "From:" header. The entries in this file consist of two fields, separated by a colon:
Here is an example of an
# Addresses for Yoyodine Inc yoyodine:yoyodine.com yoyodine:yoyodine.co.uk # Addresses for Foobar Inc. foobar1:sales.foobar.com foobar2:admin.foobar.com foobar3:firstname.lastname@example.org
gnats checks each line in the
addresses file, comparing
address-fragment to the end of the "From:" header, until it finds
a match. If no match is found, gnats uses the default submitter ID.
You can only have one address fragment per line, but you can have more than one line for a given submitter ID. An address fragment can be a domain (i.e. yoyodine.com), a machine location (admin.foobar.com), or a full e-mail address (email@example.com).
gnats can match addresses in three e-mail formats:
If gnats sees other e-mail address formats, it uses the default submitter ID.