13 lines
380 B
Bash
Executable File
13 lines
380 B
Bash
Executable File
# Copyright (c) 2018-2020, diyIT.org
|
|
# All rights reserved.
|
|
#
|
|
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
|
|
# https://diyit.org/license/
|
|
#
|
|
#
|
|
|
|
#! /usr/local/bin/bash
|
|
# smart_host - mail - is the mail server's dns name
|
|
echo "define(\`SMART_HOST', \`mail')" >> /etc/mail/$HOSTNAME.mc
|
|
echo "define(\`confDOMAIN_NAME', \`$HOSTNAME')" >> /etc/mail/$HOSTNAME.mc
|