<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
David,<br>
<br>
Sadly you hit a very short-lived bug in the Installer.<br>
After a couple of people reported it, I fixed it but you must have
downloaded the broken one.<br>
Sorry about that!<br>
<br>
The fix is to replace the lines<br>
<br>
<tt> <IfModule mod_headers.c>
</tt><tt><br>
</tt><tt>
Header edit Set-Cookie ^(.*)$ ;SameSite=Strict
</tt><tt><br>
</tt><tt>
</IfModule></tt><br>
<br>
with<br>
<br>
<tt> <IfModule mod_headers.c>
</tt><tt><br>
</tt><tt>
Header edit Set-Cookie ^(.*)$ <b>$1</b>;SameSite=Strict
</tt><tt><br>
</tt><tt>
</IfModule></tt><br>
<br>
The extra bit is the "$1" I've put in bold above.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 15/09/2018 14:08, David Jones via
ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!dd24ecf66ec54b866c4955f1c80633e4a337119dcd809ce6f7e803ae1b42726764a796d76cfe025aebc620c918aceb08!@mx.jul.es">On
09/14/2018 04:06 PM, David Jones wrote:
<br>
<blockquote type="cite">CentOS 7 with SELinux disabled and yum
updated.
<br>
ZendTo installed with the official installer script
from <a class="moz-txt-link-freetext" href="https://zend.to/downloads.php">https://zend.to/downloads.php</a>
<br>
SQLbackend is the default -- define('SqlBackend', 'SQLite3');
<br>
Authentication is with Office 365 via IMAP:
<br>
'authIMAPServer' => 'outlook.office365.com:993/ssl',
<br>
'authIMAPDomain' => '',
<br>
'authIMAPOrganization' => '',
<br>
Apache has write access to /var/zendto:
<br>
[root@server-01 zendto]# ll
<br>
total 48
<br>
drwxrwxr-x. 3 apache apache 62 Aug 27 00:05 cache
<br>
drwxrwxr-x. 3 apache apache 30 Sep 14 16:09 dropoffs
<br>
drwxrwxr-x. 2 apache apache 6 Sep 14 16:09 incoming
<br>
drwxrwxr-x. 2 apache apache 6 Aug 26 20:19 library
<br>
drwxrwxr-x. 2 apache apache 50 Aug 26 20:19
myzendto.templates_c
<br>
drwxrwxr-x. 2 apache apache 4096 Aug 26 20:20 rrd
<br>
drwxrwxr-x. 2 apache apache 4096 Sep 14 16:45 templates_c
<br>
-rw-rw-r--. 1 apache apache 11501 Sep 14 16:45 zendto.log
<br>
-rw-rw-r-- 1 apache apache 25600 Sep 14 16:34 zendto.sqlite
<br>
<br>
I have two issues:
<br>
1. When I get logged in and see the "Inbox" tab, as soon as I
click anything, the server thinks I am not authenticated and
tells me "Access Denied, This feature is only available to users
who have logged in."
<br>
2. I am not able to put the email domain in the authIMAPDomain
value and get authenticated to Office 365. I tried with and
without the @ sign. The domain is rather long so I wold like to
not have to require users to have to enter it if possible. Is
there a debug option on the authIMAP like there is for SMTP or a
log that would help me troubleshoot this?
<br>
<br>
Thanks,
<br>
Dave
<br>
<br>
</blockquote>
<br>
I figured out problem #1. Had to comment this out of the
zendto-ssl.conf Apache config to get the login cookie to work:
<br>
<br>
#<IfModule mod_headers.c>
<br>
# Header edit Set-Cookie ^(.*)$ ;SameSite=Strict
<br>
#</IfModule>
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Give a man a fish, and you feed him for a day.
Teach a man to fish, and he'll sit in a boat and drink beer all day.'
- Anon
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</body>
</html>