From e4bd2329e179a8985801dbc594b3a65d8ce92a98 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 2 May 2021 21:10:42 +0300
Subject: [PATCH]  autoconfig.nehe.sr.

---
 conf.d/autoconfig.shore.co.il.conf            |  4 ++--
 .../mail/config-v1.1.xml                      | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/conf.d/autoconfig.shore.co.il.conf b/conf.d/autoconfig.shore.co.il.conf
index 32ec843..7fdbbbc 100644
--- a/conf.d/autoconfig.shore.co.il.conf
+++ b/conf.d/autoconfig.shore.co.il.conf
@@ -1,7 +1,7 @@
 server {
     listen      80;
     listen      [::]:80;
-    server_name autoconfig.shore.co.il;
+    server_name autoconfig.shore.co.il autoconfig.nehe.sr;
     root        /var/www/autoconfig.shore.co.il/;
     include     snippets/www-acme-challenge.conf;
     include     snippets/ads-txt.conf;
@@ -12,7 +12,7 @@ server {
 server {
     listen      443 ssl http2;
     listen      [::]:443 ssl http2;
-    server_name autoconfig.shore.co.il;
+    server_name autoconfig.shore.co.il autoconfig.nehe.sr;
     root        /var/www/autoconfig.shore.co.il/;
     include     snippets/robots-allow-all.conf;
     include     snippets/ads-txt.conf;
diff --git a/www/autoconfig.shore.co.il/mail/config-v1.1.xml b/www/autoconfig.shore.co.il/mail/config-v1.1.xml
index 47a4197..a3a49a4 100644
--- a/www/autoconfig.shore.co.il/mail/config-v1.1.xml
+++ b/www/autoconfig.shore.co.il/mail/config-v1.1.xml
@@ -20,5 +20,24 @@
       <username>%EMAILLOCALPART%</username>
     </outgoingServer>
   </emailProvider>
+  <emailProvider id="nehe.sr">
+    <domain>nehe.sr</domain>
+    <displayName>Nehes Realestate</displayName>
+    <displayShortName>Nehes</displayShortName>
+    <incomingServer type="imap">
+      <hostname>imap.shore.co.il</hostname>
+      <port>993</port>
+      <socketType>SSL</socketType>
+      <authentication>password-cleartext</authentication>
+      <username>%EMAILLOCALPART%</username>
+    </incomingServer>
+    <outgoingServer type="smtp">
+      <hostname>smtp.shore.co.il</hostname>
+      <port>587</port>
+      <socketType>STARTTLS</socketType>
+      <authentication>password-cleartext</authentication>
+      <username>%EMAILLOCALPART%</username>
+    </outgoingServer>
+  </emailProvider>
 </clientConfig>
 
-- 
GitLab