|
|
@ -147,7 +147,7 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then |
|
|
|
|
|
|
|
dpkg --get-selections | grep -v deinstall | grep dovecot-core > /dev/null |
|
|
|
if [ $? -eq 0 ];then |
|
|
|
ee_lib_error "Found installed Dovecot Packages server, exit status=" 1 |
|
|
|
ee_lib_error "Found installed Dovecot Packages, exit status=" 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# Check hostname is FQDN or not, if not asks user to set hostname as FQDN |
|
|
@ -186,7 +186,7 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then |
|
|
|
ee_mod_setup_mailscaner |
|
|
|
else |
|
|
|
ee_lib_echo "Found RAM less than 512MB, not installing Mail Scanner packages" |
|
|
|
|
|
|
|
|
|
|
|
fi |
|
|
|
ee_lib_service nginx postfix dovecot amavis restart |
|
|
|
|
|
|
@ -198,6 +198,11 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then |
|
|
|
|
|
|
|
ee_lib_echo "Successfully installed mail server packages" |
|
|
|
elif [ "$EE_THIRD" = "mailscanner" ]; then |
|
|
|
|
|
|
|
dpkg --get-selections | grep -v deinstall | grep dovecot-core > /dev/null |
|
|
|
if [ $? -ne 0 ];then |
|
|
|
ee_lib_error "Failed to find Dovecot Packages, exit status = " 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# Install Mail Scanner |
|
|
|
ee_mod_install_mailscaner |
|
|
|