use strict;

# $myhostname is used by amavisd-new for node identification, and it is
# important to get it right (e.g. for ESMTP EHLO, loop detection, and so on).

chomp($myhostname = `hostname --fqdn`);

# $mydomain is used just for convenience in the config files and it is not used
# internally by amavisd-new except in the default X_HEADER_LINE (which Debian
# overrides by default anyway).

chomp($mydomain = `head -n 1 /etc/mailname`);

1;  # insure a defined return
