Browse Source

Remove web domain check for webmail vhosts

In environments where the server only hosts the mail domain but not a matching web domain, the addition of webmail vhost configuration would fail.
Kristan Kenney 7 years ago
parent
commit
dee3e3672c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      bin/v-add-webmail

+ 0 - 2
bin/v-add-webmail

@@ -49,8 +49,6 @@ is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_valid 'mail' 'DOMAIN' "$domain"
 is_object_unsuspended 'mail' 'DOMAIN' "$domain"
-is_object_valid 'web' 'DOMAIN' "$domain"
-is_object_unsuspended 'web' 'DOMAIN' "$domain"
 
 #----------------------------------------------------------#
 #                       Action                             #