Bug 782892

Summary: squirrelmail does not store sent messages anymore
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: squirrelmailAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-11 13:11:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
doveconf -n
none
config.php none

Description Nicolas Mailhot 2012-01-18 19:47:13 UTC
Description of problem:

squirrelmail updates in rawhide broke storing of sent messages last december (on local dovecot imap server)

Other mail clients such as evo continue working using the same account on the same server

It's quite annoying 

The last sent message my sm instance saved was the 29th december of 2011 with SquirrelMail/1.4.22-2.fc16

Version-Release number of selected component (if applicable):
Anything post squirrelmail-1.4.22-2.fc16.noarch
(currently squirrelmail-1.4.22-4.fc17.noarch)

Comment 1 Michal Hlavinka 2012-01-19 16:06:52 UTC
do you use selinux on server? what mode ? enforcing or permissive? ('sestatus' will tell you the answer). Do you have any messages in logs? /var/log/httpd/error_log or ssl_eror_log

Comment 2 Nicolas Mailhot 2012-01-19 18:10:35 UTC
(In reply to comment #1)
> do you use selinux on server? 

yes

>what mode ? enforcing or permissive?

boot as enforcing, switch to permissive afterwards (systemd shows a few services fail on boot, so I have to restart them manually after switching to permissive)

> ('sestatus'
> will tell you the answer). Do you have any messages in logs?
> /var/log/httpd/error_log or ssl_eror_log

no error message in log (except for intrusion attempts looking for inexistant files)

192.168.0.4 - - [19/Jan/2012:19:09:31 +0100] "GET /src/compose.php?mailbox=%26AMk-l%26AOk-ments+envoy%26AOk-s&startMessage=1 HTTP/1.1" 200 2115 "https://arekh.dyndns.org/src/right_main.php?mailbox=%26AMk-l%26AOk-ments+envoy%26AOk-s&sort=6&startMessage=1" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
192.168.0.4 - - [19/Jan/2012:19:09:43 +0100] "POST /src/compose.php HTTP/1.1" 302 20 "https://arekh.dyndns.org/src/compose.php?mailbox=%26AMk-l%26AOk-ments+envoy%26AOk-s&startMessage=1" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
192.168.0.4 - - [19/Jan/2012:19:09:45 +0100] "GET /src/right_main.php?mailbox=%26AMk-l%26AOk-ments+envoy%26AOk-s&sort=6&startMessage=1 HTTP/1.1" 200 4438 "https://arekh.dyndns.org/src/compose.php?mailbox=%26AMk-l%26AOk-ments+envoy%26AOk-s&startMessage=1" "Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"

Comment 3 Michal Hlavinka 2012-01-24 16:46:44 UTC
I've tried to reproduce this using squirrelmail and dovecot, but it is working for me.

$ rpm -q dovecot squirrelmail
dovecot-2.1-0.4.rc3.fc17.x86_64
squirrelmail-1.4.22-4.fc17.noarch

Please attach output of doveconf -n
and /etc/squirrelmail/config.php

do you see any errors on http://localhost/webmail/src/configtest.php ?

Comment 4 Nicolas Mailhot 2012-01-24 18:17:51 UTC
(In reply to comment #3)

> do you see any errors on http://localhost/webmail/src/configtest.php ?

According to configtest:

    ERROR: You have configured PHP not to allow short tags (short_open_tag=off). This shouldn't be a problem with SquirrelMail or any plugin coded coded according to the SquirrelMail Coding Guidelines, but if you experience problems with PHP code being displayed in some of the pages and changing setting to "on" solves the problem, please file a bug report against the failing plugin. The correct contact information is most likely to be found in the plugin documentation.
…
Congratulations, your SquirrelMail setup looks fine to me!

Comment 5 Nicolas Mailhot 2012-01-24 18:19:46 UTC
Created attachment 557281 [details]
doveconf -n

Comment 6 Nicolas Mailhot 2012-01-24 18:25:30 UTC
Created attachment 557285 [details]
config.php

Comment 7 Nicolas Mailhot 2012-02-10 08:02:05 UTC
ping?

Comment 8 Nicolas Mailhot 2012-02-10 21:49:33 UTC
Testing some more that seems another encoding problem in squirrelmail

If I rename the sent folder from one of the standard French names (they all end in envoyés) to something ASCIIonly sent message storage works again

But not being able to use a standard folder name sucks big time

Comment 9 Nicolas Mailhot 2012-02-11 13:11:35 UTC
Updating dovecot to a new version seems to fix this problem, though evo did manage to cope with the old dovecot version

→ closing

*** This bug has been marked as a duplicate of bug 782904 ***