Menu

User-Agent for DavMail application

mat
2013-06-04
2013-07-25
  • mat

    mat - 2013-06-04

    Hy!
    I have the Problem, that the Groupwise Server accepts only mobile access. How can I configure the user-agent for DavMail?
    I am Usring DavMail 4.3 on MacOS X Lion and I tried to edit the .davmail.properties file but this did not work

    The Logs for better understanding

    Date: Tue Jun 04 10:53:34 CEST 2013 (1370336014352)
    Thread: CaldavConnection-51575
    Message #: 68
    Level: DEBUG
    NDC:
    Category: httpclient.wire.header
    Message: >> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)"
    Location: org.apache.commons.httpclient.Wire.wire(Wire.java:70)
    Thrown:

    Date: Tue Jun 04 10:53:34 CEST 2013 (1370336014398)
    Thread: CaldavConnection-51575
    Message #: 87
    Level: DEBUG
    NDC:
    Category: httpclient.wire.header
    Message: << "HTTP/1.1 403 Forbidden"
    Location: org.apache.commons.httpclient.Wire.wire(Wire.java:70)
    Thrown:

    Date: Tue Jun 04 10:53:34 CEST 2013 (1370336014403)
    Thread: CaldavConnection-51575
    Message #: 112
    Level: DEBUG
    NDC:
    Category: httpclient.wire.content
    Message: << "Forbidden. Not a mobile device"
    Location: org.apache.commons.httpclient.Wire.wire(Wire.java:84)
    Thrown:

    Date: Tue Jun 04 10:53:34 CEST 2013 (1370336014403)
    Thread: CaldavConnection-51575
    Message #: 113
    Level: DEBUG
    NDC:
    Category: org.apache.commons.httpclient.HttpMethodBase
    Message: Resorting to protocol version default close connection policy
    Location: org.apache.commons.httpclient.HttpMethodBase.shouldCloseConnection(HttpMethodBase.java:1024)
    Thrown:

    Date: Tue Jun 04 10:53:34 CEST 2013 (1370336014403)
    Thread: CaldavConnection-51575
    Message #: 114
    Level: DEBUG
    NDC:
    Category: org.apache.commons.httpclient.HttpMethodBase
    Message: Should NOT close connection, using HTTP/1.1
    Location: org.apache.commons.httpclient.HttpMethodBase.shouldCloseConnection(HttpMethodBase.java:1028)
    Thrown:

    Thanks in advance for help!
    Mat

     
  • Mickael Guessant

    This wouldn't help much as DavMail is designed to work with Microsoft Exchange, not Novell Groupwise…

     
  • mat

    mat - 2013-07-23

    Why is it not possible to change the user-agent in the .davmail.properties file? With this small change, it would be possible to support at least one additional Service.
    best regard
    mat

     
  • Mickael Guessant

    No it would not: GroupWise is not Exchange

     

Log in to post a comment.