Explicitly switched alternatives to postfix
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
19f24ab44e
commit
68366b25fa
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ rlJournalStart
|
|||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "cp ./mockserver.sh $tmp" 0 "Copying mock server"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "alternatives --set mta /usr/sbin/sendmail.postfix" 0 "Switching alternatives to postfix"
|
||||
rlRun "set -o pipefail"
|
||||
rlFileBackup --missing-ok /etc/postfix/main.cf /etc/dnsmasq.conf /etv/resolv.conf
|
||||
rlRun "echo 'use_srv_lookup = submission' >> /etc/postfix/main.cf" 0 "Enabling SRV lookup"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue