Menu

#2863 php undefined property Rfc822Header:$dsn & Error in IMAP command UID FETCH: Invalid arguments

Produces PHP errors
closed-fixed
nobody
None
5
2022-05-24
2022-05-11
No

Using squirrelmail-20220511_0200-SVN.devel & PHP 8.0.18 I'm seeing these errors. The first from pressing just "DELETE". "Delete and Next" as well as "Delete and Previous" work just fine.

ERROR: Bad or malformed request.
Query: FETCH (FLAGS BODYSTRUCTURE)
Server responded: Error in IMAP command UID FETCH: Invalid arguments (0.001 + 0.000 secs)
imap(xxx)Info: Disconnected: Connection closed (UID FETCH finished 0.001 secs ago) in=60 out=909 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Also seeing this

PHP, Delayed
Message: Undefined property: Rfc822Header:$dsn
File: /usr/share/squirrelmail/class/deliver/Deliver.class.php

The only web server logs are:

"POST /webmail/src/read_body.php HTTP/1.1" 200 2083
"GET /webmail/src/style.php? HTTP/1.1" 200 159

Some screenshots.

1 Attachments

Discussion

  • Paul Lesniewski

    Paul Lesniewski - 2022-05-22
    • status: open --> closed-fixed
     
  • Paul Lesniewski

    Paul Lesniewski - 2022-05-22

    Thanks for reporting these issues--

    The first problem was triggered only when "Return To Message List After Move" was turned off. That has been fixed in SVN and will appear in the next daily code tarball.

    The second issue was probably from when you were sending a message (it's helpful if you explain exactly how to reproduce). I've committed a fix for that issue as well.

     
  • Andrew Sachen

    Andrew Sachen - 2022-05-22

    Might want to add the same fix to Deliver_SMTP.class.php's dsn check.

     
    • Paul Lesniewski

      Paul Lesniewski - 2022-05-24

      Thanks, I've updated that file as well

       
      👍
      1

Log in to post a comment.