After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657061 - Your message was sent, but an error occurred during post processing
Your message was sent, but an error occurred during post processing
Status: RESOLVED DUPLICATE of bug 638307
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-08-22 08:29 UTC by Paul Menzel
Modified: 2011-09-07 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2011-08-22 08:29:45 UTC
Sending a message, I got the following warning during “postprocessing”.

        Your message was sent, but an error occurred during post processing

        The reported error was "Anhängen an mbox:///home/joe/.local/share/evolution/mail/local#Sent gescheitert: Ordner »Sent« konnte nicht abgerufen werden: Ordner existiert nicht.
        Stattdessen wird versucht, an den lokalen »Verschickt«-Ordner anzuhängen.".

The translation of the error is something like.

        Appending to mbox:///home/joe/.local/share/evolution/mail/local#Sent failed: Folder »Sent« could not be received: Folder does not exist.
        Trying instead to append to local »Sent« folder.

What could be the reason and how do I fix that?

If this has been fixed already, could you please point out the necessary patches, so distributions can apply those. Or even better make a point release with these fixes applied faster. In my opinion these are some scary warning and a lot of effort should be put into to get rid of them in the releases so users have less chance to try “broken” releases and spam you with reports.
Comment 1 Paul Menzel 2011-08-22 08:40:00 UTC
I am using Evolution 3.0.2.1 from Debian Sid/unstable.
Comment 2 André Klapper 2011-08-22 14:51:07 UTC
Thanks for reporting this.

If the error message "Your message was sent, but an error occurred during post-processing. The reported error was "Failed to append to mbox:///home/user/.local/share/evolution/mail/local#Sent: Cannot get folder 'Sent': folder does not exist. Appending to local 'Sent' folder instead."." is shown, you can fix the problem by editing your default folder settings under 
"Edit > Preferences > Mail Accounts > Edit > Defaults > Folder for sent messages"

This bug is fixed in Evolution versions higher than 3.0.2 (stable series) and 3.1.3 (unstable development series).

Closing as duplicate of bug 638307.

*** This bug has been marked as a duplicate of bug 638307 ***
Comment 3 Paul Menzel 2011-08-22 21:53:38 UTC
(In reply to comment #2)
> Thanks for reporting this.

Thank you for your answ

> If the error message "Your message was sent, but an error occurred during
> post-processing. The reported error was "Failed to append to
> mbox:///home/user/.local/share/evolution/mail/local#Sent: Cannot get folder
> 'Sent': folder does not exist. Appending to local 'Sent' folder instead."." is
> shown, you can fix the problem by editing your default folder settings under 
> "Edit > Preferences > Mail Accounts > Edit > Defaults > Folder for sent
> messages"

The folder is correctly set. I also tried changing it to another folder and back to my sent (Verschickt) folder, but the warning is still shown.

[…]
Comment 4 Paul Menzel 2011-09-05 17:45:20 UTC
I can still reproduce this issue with 3.0.3 and I am therefore reopening this ticket.

Additionally I want to add that I still do not have deleted the migrated mbox folder because I am not sure all messages were migrated. (But this is another report #657349.)
Comment 5 Milan Crha 2011-09-07 06:44:43 UTC
This is really bug #638307, which is fixed, but the fix is applied only during initial migration, thus if you upgrade from 3.0.2 to 3.0.3 then this migration is not applied. Changing folder in account references is a workaround, but if you still see this error, and it still mentions the same folder, then either you've that folder set on another account then you've changed it or something else happened that prevented to save changes. One more option is possible, the changes are not propagated immediately, Evolution's restart is required to take it into effect, unfortunately. Thus, I would try:
a) run evolution from console
b) in account preferences change Sent folder to another folder and then back
   to On This Computer/Sent folder in the account which is used for sending
c) save the change and close evolution
d) check the console whether any issue was shown during these changes
e) check gconf values:
   $ gconftool-2 --get /apps/evolution/mail/accounts | \
     grep \<sent-folder\>mbox\:
   it may not show you the account you just changed the Sent folder in (the b))
f) run evolution and send a message to yourself with the account from b)
g) the message should be saved without any error

The thing is that the workaround works for anyone else, thus I'm wondering what can be wrong on your machine.
Comment 6 Paul Menzel 2011-09-07 09:09:57 UTC
(In reply to comment #5)
> This is really bug #638307, which is fixed, but the fix is applied only during
> initial migration, thus if you upgrade from 3.0.2 to 3.0.3 then this migration
> is not applied. Changing folder in account references is a workaround, but if
> you still see this error, and it still mentions the same folder, then either
> you've that folder set on another account then you've changed it or something
> else happened that prevented to save changes. One more option is possible, the
> changes are not propagated immediately, Evolution's restart is required to take
> it into effect, unfortunately.

Thank you for following up. Evolution was restarted several times last time, but the error persisted. I think the problem was that I changed the folder to save sent messages and then did not close the configuration dialog/preferences and then change it back.

> Thus, I would try:
> a) run evolution from console
> b) in account preferences change Sent folder to another folder and then back
>    to On This Computer/Sent folder in the account which is used for sending
> c) save the change and close evolution
> d) check the console whether any issue was shown during these changes
> e) check gconf values:
>    $ gconftool-2 --get /apps/evolution/mail/accounts | \
>      grep \<sent-folder\>mbox\:
>    it may not show you the account you just changed the Sent folder in (the b))
> f) run evolution and send a message to yourself with the account from b)
> g) the message should be saved without any error

Now it worked.

[…]

Having several accounts I wonder though, if I can convert those settings automatically with Evolution 3.0.3.
Comment 7 Milan Crha 2011-09-07 12:36:37 UTC
In gconf key /apps/evolution are two version keys. If you fake evolution for, say 2.99.99, in both keys, then it'll start migration process again, but because you've it done already, then the move to maildir can rather break more things than fix, thus I discourage you doing so.

I know it's a pain with such bug being left before migration, but it's safer to go through all your accounts and reselect both Sent and Drafts folders by hand.

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