|
| | Subject: | myhostname | | Group: | Postfix-users | | From: | James Lockie | | Date: | 28 May 2007 |
I'm getting warnings because the default is not a fully qualified hostname.
The /var/log/mail/warnings
May 27 22:38:45 localhost postfix/postdrop[669]: warning: My hostname
localhost is not a fully qualified name - set myhostname or mydomain in
/etc/postfix/main.cf
/etc/postfix/main.cf says:
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
The command 'hostname' returns a fully qualified name.
|