How mail from sender (an address, or @domain) leaves: through
relayhost, from source_address, logging in with username and
password. Each part is optional.
The password is stored as given, since it has to be sent to the relay host: protect the database accordingly.