Explorar o código

define exim user

Serghey Rodin %!s(int64=12) %!d(string=hai) anos
pai
achega
e2d9c4be2b
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      func/main.sh

+ 7 - 0
func/main.sh

@@ -26,6 +26,13 @@ WEBTPL=$VESTA/data/templates/web
 DNSTPL=$VESTA/data/templates/dns
 RRD=$VESTA/web/rrd
 
+if [ "$MAIL_SYSTEM" = 'exim4' ]; then
+    MAIL_USER=Debian-exim
+else
+    MAIL_USER=exim
+fi
+
+
 # Return codes
 OK=0
 E_ARGS=1