diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 11:44:11 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-09 11:44:11 +0200 |
commit | f1b71c9fe7dbb4886588a036399cf5ebe16b7c47 (patch) | |
tree | e07786aa479c9fb6ee3e537078470aaab5454f80 /sqmail-4.3.07/src/config-fast.sh | |
parent | a293489ee83c8b05d845a162dc2a4de026f3775d (diff) |
removed top level directory
Diffstat (limited to 'sqmail-4.3.07/src/config-fast.sh')
-rwxr-xr-x | sqmail-4.3.07/src/config-fast.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sqmail-4.3.07/src/config-fast.sh b/sqmail-4.3.07/src/config-fast.sh deleted file mode 100755 index f41796c..0000000 --- a/sqmail-4.3.07/src/config-fast.sh +++ /dev/null @@ -1,35 +0,0 @@ -fqdn="$1" -echo Your fully qualified host name is "$fqdn". - -echo Putting "$fqdn" into control/me... -echo "$fqdn" > HOME/control/me -chmod 644 HOME/control/me - -( echo "$fqdn" | sed 's/^\([^\.]*\)\.\([^\.]*\)\./\2\./' | ( - read ddom - echo Putting "$ddom" into control/defaultdomain... - echo "$ddom" > HOME/control/defaultdomain - chmod 644 HOME/control/defaultdomain -) ) - -( echo "$fqdn" | sed 's/^.*\.\([^\.]*\)\.\([^\.]*\)$/\1.\2/' | ( - read pdom - echo Putting "$pdom" into control/plusdomain... - echo "$pdom" > HOME/control/plusdomain - chmod 644 HOME/control/plusdomain -) ) - -echo Putting "$fqdn" into control/locals... -echo "$fqdn" >> HOME/control/locals -chmod 644 HOME/control/locals - -echo Putting "$fqdn" into control/rcpthosts... -echo "$fqdn" >> HOME/control/rcpthosts -chmod 644 HOME/control/rcpthosts -echo "Now qmail will refuse to accept SMTP messages except to $fqdn." -echo 'Make sure to change rcpthosts if you add hosts to locals or virtualdomains!' - -echo Enabling TLS "*:" into control/tlsdestinations ... -echo "*:" >> HOME/control/tlsdestinations -chmod 644 HOME/control/tlsdestinations -echo "Now qmail-remote will send TLS encrypted mails to enabled destinations." |