-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cyrus/http HTTP/1.1 403 Forbidden #5106
Comments
The description is unclear. Which HTTP request receives 403 Forbidden reply and why do you use such old Cyrus Imap version? |
I configured Webdav on cyrus imap 3.0.13 Webdav is accessing, also successfully mounted using mount.davfs. But unable to sync/create/modify within dav directory Following errors are found in the syslog for reference.. Oct 15 20:14:34 mail cyrus/http[3733]: [192.168.10.147] as "[email protected]" with "davfs2/1.5.5 neon/0.30.2"; "LOCK /dav/drive/user/user2%40domain.com/file1.txt HTTP/1.1" (depth=0) => "HTTP/1.1 201 Created" (location=/dav/drive/user/[email protected]/file1.txt) |
This works on the master branch
|
The log above is copied from #5105. |
You are saying, will I upgrade it to latest version ? |
Same issue are facing in Cyrus IMAP Version: 3.4.3 Oct 28 10:30:44 ubuntu cyrus/http[13571]: localhost [127.0.0.1] as "[email protected]" with "davfs2/1.6.1 neon/0.32.2" via SESSIONID=; "PUT /dav/drive/user/ux1%40domain.com/faillog HTTP/1.1" (auth=Basic; if=http://localhost:8008/dav/drive/user/ux1%40domain.com/faillog (urn:uuid:fv7nofio7s302u4yh8vx0u9w)) => "HTTP/1.1 403 Forbidden" [timing: cmd=0.004088 net=0.000018 total=0.004106] Oct 28 10:30:44 ubuntu cyrus/http[13571]: localhost [127.0.0.1] as "[email protected]" with "davfs2/1.6.1 neon/0.32.2" via SESSIONID=; "UNLOCK /dav/drive/user/ux1%40domain.com/faillog HTTP/1.1" (auth=Basic; lock-token=urn:uuid:fv7nofio7s302u4yh8vx0u9w) => "HTTP/1.1 405 Method Not Allowed" (error=The requested method is not allowed for the URL.) [timing: cmd=0.000078 net=0.000005 total=0.000083] 403 & 405 not allowed, may be some misconfiguration I have done. cloud you please check my current configuration. imapd.conf configdirectory: /var/lib/cyrus cyrus.conf START {
delprune cmd="/usr/sbin/cyrus expire -E 3" SERVICES {
EVENTS { } |
It is possible, but unlikely, that somebody will investigate problems reported for the 3.0 versions. |
I tried again
using Cyrus IMAP 3.4.9 (actually at commit 547827b). I compiled from the source code, created a completely new setup. For me the above commands then work. |
cyrus.conf:
imapd.conf:
|
Checked with Cyrus IMAP 3.8.2 mkdir /home/sinu/dav But still same issue occurring. please find log for reference.. 2024-10-29T13:23:07.917072+00:00 srv cyrus/http[6780]: login: localhost [127.0.0.1] [email protected] Basic User logged in SESSIONID= |
Version 3.4.3 lacks commit 9b38d20 (included in 3.4.9); version 3.8.2 lacks commit 72b6ca1 with identical content (included in 3.8.4). This change is likely relevant for your case. You do not write down which command you execute to reproduce the problem; include a log, which misses the XML content of the requests and replies; and try out with not current enough versions. In any case, unless you use the latest version on a series (3.8, 3.6, 3.10) there is no point to write down, that the old version you use is problematic. |
please suggest specific version, I will check ? Because I have checked with below version |
As I wrote, I tried with the 3.4.9 version and it worked. |
which OS you have installed 3.4.9 version because I am using ubuntu 20/22/24 but unable to install, it requires so many dependency also errors to make build. cloud you share the 3.4.9 installation steps ? |
I built Cyrus IMAP 3.4.9 using As I have installed my system long time ago with the right dependencies, I cannot advice you which system to take as start. It will be not very useful to communicate my OS, as many things I have compiled myself. While I have written that it works for 3.4.9, based on your try with 3.4.3, I recommend you install newer version (but the last version of a branch). https://www.cyrusimap.org/dev/imap/developer/compiling.html describes how to compile Cyrus IMAP, it assumes some experience with compiling software in general. The current ticket does not indicate problems with the source code of Cyrus IMAP, so it can be closed. Support for installing Cytus IMAP from some compiled code, or how to compile Cyrus IMAP, can be found elsewhere - free or paid. |
Webdav not working in version 3.0.13-5
The text was updated successfully, but these errors were encountered: