Defaulthost: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
address without a host name.  defaulthost need not be the current host's name.  For example, you may prefer that outgoing mail show just your domain name.
address without a host name.  defaulthost need not be the current host's name.  For example, you may prefer that outgoing mail show just your domain name.


The ''QMAILDEFAULTHOST'' environment variable overrides <u>defaulthost.</u>
The '''QMAILDEFAULTHOST''' environment variable overrides <u>defaulthost.</u>

Latest revision as of 09:40, 16 March 2024

defaulthost

man qmail-inject excerpt:

Default host name. Default: me, if that is supplied; otherwise the literal name defaulthost, which is probably not what you want. qmail-inject adds this name to any address without a host name. defaulthost need not be the current host's name. For example, you may prefer that outgoing mail show just your domain name.

The QMAILDEFAULTHOST environment variable overrides defaulthost.