2573766ea9
Changes 09-* files to 59-* to ensure they run after OCA. Adds templates for main.cf and mailname to allow configuration of hostname and delay_wait_time. The current code has the DIB hostname from chroot at build time in these files preventing local mail delivery. Fixes bug 1195931 Authored-by: Chris Krelle <nobodycam@gmail.com> Change-Id: I62badfddac3f6c29f484790c8ebf58f282d597c9
11 lines
316 B
Bash
Executable File
11 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
|
|
# set some defaults for Debian based installs
|
|
if [ -f /etc/debian_version ]; then
|
|
debconf-set-selections <<< "postfix postfix/main_mailer_type string '${DIB_POSTFIX_INSTALL_TYPE:-Local Only}'"
|
|
else
|
|
echo "Postfix element currently supports Debian based environments only."
|
|
exit 1
|
|
fi
|