look in error.log in <RC_root>/logs
Hi,
I can send messages with an without messages - everything is fine so far, no errors, but messages with attachments are not copied into the sent folder.
Messages without attachment are copied fine into the sent folder.
This is reproducable everytime.
No errors in mail.log (debian lenny, postfix, cyrus imap) and apache log.
Is this issue known? In which part of the rc-source is the "imap move/copy to the sent folder" methods located? So that I can debug also on my own.
Thanks for help
andi
Last edited by andislack; 06-25-2010 at 09:10 AM.
look in error.log in <RC_root>/logs
open_basedir restricted to save in /tmp ( move_uploaded_file())
I disabled open_basedir and the msg is still not saved in Sent folder:
[25-Jun-2010 11:22:16 +0200]: IMAP Error: Could not save message in Sent in /usr/share/roundcube/program/steps/mail/sendmail.inc on line 634 (POST /roundcube/?_task=mail&_action=send)
A logging shows this just before $saved = $IMAP->save_message(...) ~615:
PHP Code:raise_error(array('code' => 800, 'type' => 'imap',
'file' => __FILE__, 'line' => __LINE__,
'message' => "DEBUG_DEBUG in $store_target, $msg, $headers, $mailbody_file"), TRUE, FALSE);
Content-Type: multipart/mixed;
boundary="=_c6b2884f0fdbdb0a30543ad1a322ca8d"
Date: Fri, 25 Jun 2010 11:22:16 +0200
From: xxx
To: <info@xxx>
Subject: ergrth
Organization: xxx
Message-ID: <e6f0f9037ee638430acb8ec69fe8858c@localhost>
X-Sender: xxx@xxx.de
User-Agent: RoundCube Webmail/0.4-beta
, /usr/share/roundcube/temp/rcmMsgNaaH6g in /usr/share/roundcube/program/steps/mail/sendmail.inc on line 620 (POST /roundcube/?_task=mail&_action=send)
/usr/share/roundcube/temp is world writeable and owned by root (default)
Any ideas?
try to copy/move message to sent folder.
if it works then enable imap_debug in main config
and post it here
if not you have problem with permissions...
Hi there,
I'm experiencing the very same problem.. any news?
Bittone
We are currently about to install RC 0.4 final on a new RHEL 5 Server and I experienced the same misfeature.
Mails without any kind of attachement are being stored in Sent or Drafts, but whenever you attach a file to a message, trying to save it in Drafts or let it be saved in Sent after sending will fail, even after you remove the attachement from the mail.
The error log says:
Our test instance with RC 0.4 beta ran on another machine with Solaris and did well, so tracking down the source of failure becomes more difficult ...Code:[11-Aug-2010 16:00:48 +0200]: IMAP Error: Could not save message in INBOX.Drafts in /www/webmail/program/steps/mail/sendmail.inc on line 637 (POST /?_task=mail&_action=send) [...] [11-Aug-2010 16:01:00 +0200]: IMAP Error: Could not save message in INBOX.Sent in /www/webmail/program/steps/mail/sendmail.inc on line 637 (POST /?_task=mail&_action=send)
Regards
Ruediger
Can you enable $rcmail_config['imap_debug'] in <RC root>/config/main.inc.php and post the imap debug log?
Last edited by skaero; 08-11-2010 at 04:31 PM.
Hello,
sorry if I'm not fully in topic, but my issue is very similar.
All messages (with or without attachments) are sent and saved in the "Sent" folder, EXCEPT those created using the "Reply Button" when replying to a message opened from the "Inbox"
These messages are successfully sent (and delivered) by the SMTP server, but not saved in the "Sent" folder.
Some additional infos:
- RC Version: RELEASE 0.4-stable
- PHP 5.2.10 / IIS 6.0 on Win2003 R2 SE (with PHP extension IMAP c-Client- Version 2004 )
- IMAP Server: IMAIL 9.10
- RC Log stuff:
error.log
IMAP Error: Could not save message in mail/Sent - Error in E:\Web\RoundCube\program\steps\mail\sendmail.inc on line 637 (POST /RCube/index.php?_task=mail&_action=send)
imap.log
S: * OK IMAP4 Server (IMail 9.10)
C: cp01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
S: cp01 OK CAPABILITY completed
C: a000 AUTHENTICATE CRAM-MD5
S: + PDIyNzA4LjQ1Mjc0NzI2NUBrbWFpbD4=
C: YW1vbGluYXJpQGt5cm9zLm5ldCAxMjNmYTY5MmY5N2UzNWNjMz Y4N2UyMWU3ZGNhYjQ2MQ==
S: a000 NO AUTHENTICATE Unsupported authentication mechanism, credentials rejected
C: a001 LOGIN "************" "****************"
S: a001 OK LOGIN completed
C: sel1 SELECT "INBOX"
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
S: * 54 EXISTS
S: * 0 RECENT
S: * OK [UIDVALIDITY 1197420933] UIDs valid
S: * OK [UIDNEXT 497459457] Predicted next UID
S: sel1 OK [READ-WRITE] SELECT completed
C: flg UID STORE 497459456 +FLAGS (\Answered)
S: * 54 FETCH (FLAGS (\ANSWERED \SEEN))
S: flg OK UID Completed
C: lsb LSUB "" "mail/Sent"
S: * LSUB (\Marked) "/" mail/Sent
S: lsb OK LSUB completed
C: a APPEND "mail/Sent" (\Seen) {758}
S: * 54 EXISTS
C: I LOGOUT
S: * OK IMAP4 Server (IMail 9.10)
C: cp01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
S: cp01 OK CAPABILITY completed
C: a000 AUTHENTICATE CRAM-MD5
S: + PDI0MTM5LjQ1Mjc0NzcwM0BrbWFpbD4=
C: YW1vbGluYXJpQGt5cm9zLm5ldCA0ODg3OTNiZjQwNDQ2YzFlMj cyY2Y2MmE2OWFlZDFkZQ==
S: a000 NO AUTHENTICATE Unsupported authentication mechanism, credentials rejected
C: a001 LOGIN "****************" "******************"
S: a001 OK LOGIN completed
C: lsb LSUB "" "*"
S: * LSUB (\Unmarked) "/" mail/Sent
S: * LSUB (\Marked) "/" mail/Trash
S: * LSUB (\Marked) "/" mail/Drafts
S: * LSUB (\Marked) "/" mail/Misc
S: * LSUB (\Marked) "/" Sent
S: * LSUB (\Marked) "/" Trash
S: * LSUB (\Marked) "/" Junk
S: lsb OK LSUB completed
C: I LOGOUT
S: * OK IMAP4 Server (IMail 9.10)
C: cp01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
S: cp01 OK CAPABILITY completed
C: a000 AUTHENTICATE CRAM-MD5
S: + PDI2OTk2LjQ1Mjc0ODU3OEBrbWFpbD4=
C: YW1vbGluYXJpQGt5cm9zLm5ldCA4YmYyMjVhODk4N2Y1ODIzYz ZjNGY0NTA2NzJlMWNjMg==
S: a000 NO AUTHENTICATE Unsupported authentication mechanism, credentials rejected
C: a001 LOGIN "*****************" "*********************"
S: a001 OK LOGIN completed
C: sel1 SELECT "INBOX"
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
S: * 54 EXISTS
S: * 0 RECENT
S: * OK IMAP4 Server (IMail 9.10)
C: cp01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
S: * OK [UIDVALIDITY 1197420933] UIDs valid
S: cp01 OK CAPABILITY completed
C: a000 AUTHENTICATE CRAM-MD5
S: * OK [UIDNEXT 497459457] Predicted next UID
S: + PDI3MDk3LjQ1Mjc0ODYwOUBrbWFpbD4=
S: sel1 OK [READ-WRITE] SELECT completed
C: fuid FETCH 54 (UID)
C: YW1vbGluYXJpQGt5cm9zLm5ldCA3NjlmNjE5MzUyNjZiZTk0Mj E5MzNkMjJmNDZiMzY3MA==
S: * 54 FETCH (UID 497459456)
S: fuid OK FETCH completed
C: fhi0 FETCH 1:* (INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE)])
S: a000 NO AUTHENTICATE Unsupported authentication mechanism, credentials rejected
C: a001 LOGIN "***********************" "**************************"
S: * 1 FETCH (INTERNALDATE "3-Aug-2010 09:48:19 +0200" BODY[HEADER.FIELDS (DATE)] {40}
My imap-log in RC says the following interesting thing:
[12-Aug-2010 10:12:03 +0200]: S: a NO Message contains bare newlines
[12-Aug-2010 10:12:03 +0200]: C: I LOGOUT
The problem seems to bei PHP-related, as a bare testinstallation of RC0.4 on the previously mentioned Solaris server works fine!
Regards
RUediger
Uh oh - I found a solution: disable (i.e. rebuild PHP without) suhosin solves our problem. But it remains strange: on my own private server (OpenSuSE, PHP 5.2.12 with suhosin) I did not discover any problems using RC0.4 (or older/newer/SVN-versions)
Regards
Ruediger
There are currently 1 users browsing this thread. (0 members and 1 guests)