Update linupx-scripts.sh
This commit is contained in:
@@ -457,7 +457,7 @@ POSTFIX_INSTALL(){
|
||||
[Nn]) INSTALL_MENU;;
|
||||
* )
|
||||
|
||||
$APTFUNC install -y postfix
|
||||
$APTFUNC install -y postfix mailutils
|
||||
cd /etc/postfix
|
||||
service stop postfix
|
||||
mv /etc/postfix/main.cf /etc/postfix/main.cf.bak
|
||||
@@ -470,7 +470,7 @@ POSTFIX_INSTALL(){
|
||||
echo ""
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user