summaryrefslogtreecommitdiff
path: root/azure
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-09-17 17:22:01 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-09-18 23:02:01 +0200
commitef9359d30fe3e26de86fd6790d273612c2488dd7 (patch)
tree1b8dd1615a356b2d1438ccb68af78b8462dccd22 /azure
parent19314ff8874e7c0a04a97acf342341938c0ffa6c (diff)
downloadphp-git-ef9359d30fe3e26de86fd6790d273612c2488dd7.tar.gz
Set-up IMAP in Azure
Closes GH-6162
Diffstat (limited to 'azure')
-rw-r--r--azure/apt.yml1
-rw-r--r--azure/configure.yml3
-rw-r--r--azure/setup.yml8
3 files changed, 12 insertions, 0 deletions
diff --git a/azure/apt.yml b/azure/apt.yml
index bd3ba3308e..71f58ce8da 100644
--- a/azure/apt.yml
+++ b/azure/apt.yml
@@ -42,5 +42,6 @@ steps:
snmp-mibs-downloader \
unixodbc-dev \
llvm \
+ libc-client-dev libkrb5-dev dovecot-core dovecot-pop3d dovecot-imapd \
${{ parameters.packages }}
displayName: 'APT'
diff --git a/azure/configure.yml b/azure/configure.yml
index dc7f754eae..0bfbf6d92e 100644
--- a/azure/configure.yml
+++ b/azure/configure.yml
@@ -58,6 +58,9 @@ steps:
--enable-dba \
--with-snmp \
--with-unixODBC \
+ --with-imap \
+ --with-kerberos \
+ --with-imap-ssl \
--enable-werror \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
diff --git a/azure/setup.yml b/azure/setup.yml
index 825ca4d5f6..e0b4dc79da 100644
--- a/azure/setup.yml
+++ b/azure/setup.yml
@@ -16,4 +16,12 @@ steps:
sudo cp ext/snmp/tests/bigtest /etc/snmp
sudo service snmpd restart
displayName: 'Configure snmpd'
+ - script: |
+ set -e
+ sudo groupadd -g 5000 vmail
+ sudo useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail
+ sudo cp ext/imap/tests/dovecot.conf /etc/dovecot/dovecot.conf
+ sudo cp ext/imap/tests/dovecotpass /etc/dovecot/dovecotpass
+ sudo service dovecot restart
+ displayName: 'Configure IMAP'