The
mydomain parameter specifies the parent domain of
$
myhostname. By default, it is derived from $
myhostname
by stripping off the first part (unless the result would be a
top-level domain).
Conversely, if you specify
mydomain in main.cf, then Postfix
will use its value to generate a fully-qualified default value
for the
myhostname parameter.
Examples (specify only one of the following):
/etc/postfix/main.cf:
mydomain = local.domain
mydomain = virtual.domain (virtual interface)