OVH Cloud OVH Cloud

probleme avec sendmail

1 réponse
Avatar
fr
Bonjour,

J'ai le message suivant:
WARNING local host name (xxxxx) is not qualified; fix $j in config file
que signifie ce message?
et le $j?
merci pour votre aide.

1 réponse

Avatar
ts
[[fu2 fcms]]

"f" == fr writes:






f> J'ai le message suivant:
f> WARNING local host name (xxxxx) is not qualified; fix $j in config file
f> que signifie ce message?

Vous devez avoir un 8.12, avec un 8.13 le message est

WARNING: local host name (xxxxx) is not qualified; see cf/README: WHO AM I?

Cela fait référence à


+-----------+
| WHO AM I? |
+-----------+

Normally, the $j macro is automatically defined to be your fully
qualified domain name (FQDN). Sendmail does this by getting your
host name using gethostname and then calling gethostbyname on the
result. For example, in some environments gethostname returns
only the root of the host name (such as "foo"); gethostbyname is
supposed to return the FQDN ("foo.bar.com"). In some (fairly rare)
cases, gethostbyname may fail to return the FQDN. In this case
you MUST define confDOMAIN_NAME to be your fully qualified domain
name. This is usually done using:

Dmbar.com
define(`confDOMAIN_NAME', `$w.$m')dnl



--

Guy Decoux