Update linupx-scripts.sh
This commit is contained in:
@@ -457,7 +457,7 @@ POSTFIX_INSTALL(){
|
|||||||
[Nn]) INSTALL_MENU;;
|
[Nn]) INSTALL_MENU;;
|
||||||
* )
|
* )
|
||||||
|
|
||||||
$APTFUNC install -y postfix
|
$APTFUNC install -y postfix mailutils
|
||||||
cd /etc/postfix
|
cd /etc/postfix
|
||||||
service stop postfix
|
service stop postfix
|
||||||
mv /etc/postfix/main.cf /etc/postfix/main.cf.bak
|
mv /etc/postfix/main.cf /etc/postfix/main.cf.bak
|
||||||
@@ -470,7 +470,7 @@ POSTFIX_INSTALL(){
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
sed -i "s/<<HOSTNAME>>/${pfhostname}/g" main.cf
|
sed -i "s/<<HOSTNAME>>/${pfhostname}/g" main.cf
|
||||||
sed -i "s/<<FROMEMAIL>>/${pffromemail}/g"
|
sed -i "s/<<FROMEMAIL>>/${pffromemail}/g" sender_canonical
|
||||||
|
|
||||||
service postfix start
|
service postfix start
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user