Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
9958f8d93463ad6498100c0ade4b22d81bf0e742
/
.
/
containers
/
nagios
/
postfix.init
blob: 29bf50bff8c79745e04dd996bd625fab88ff2376 [
file
] [
log
] [
blame
]
#!/bin/bash
:
$
{
MAIL_SERVER
=
$MAIL_PORT_25_TCP_ADDR
}
sed
-
i
"s/relayhost =.*/relayhost = ${MAIL_SERVER}/"
/
etc
/
postfix
/
main
.
cf
sed
-
i
"s/myhostname =.*/myhostname = `hostname`/"
/
etc
/
postfix
/
main
.
cf
exec
/
usr
/
lib
/
postfix
/
master
-
d
-
c
/
etc
/
postfix