The hostname configuration variable

hostname Most of the servers need to know the fully-qualified hostname. The default is computed at runtime and is normally acceptable. Note that if the name is localhost, there may be problems with TLS. An IMAP/POP/SMTP/HTTP client may refuse a server certificate for "localhost" if it already has seen a different certificate for "localhost". We strongly suggest using a different hostname.

use-ipv4 decides whether the various servers accept IPv4 connections. true by default.

use-ipv6 decides whether the various servers accept IPv6 connections. true by default.

hostname is a string. Its default value is detected at startup.

You can see its current value with the command aox show cf hostname.

String syntax

Strings may be written as a single unquoted word or quoted with either single or double quotes, as shown in these three examples:

db-password = single.word
db-password = "rock'n'roll" # a 12-character password
db-password = 'two words, quoted' # a 17-character one

Only single-line strings can be used. Single-word strings may contain the characters a-z, A-Z, 0-9, dot, hyphen and slash.

Spaces are allowed at the start of the line, before and after '=', and after the value. Comments extend from '#' to the end of the line.

In case of questions, please write to info@aox.org.

About this page

Last modified: 2010-11-19
Location: aox.org/conf/hostname