[Dovecot] Dovecot & (Al)pine - resaving messages to Inbox
I have a x86 Linux box running Fedora 4. Up until 2008 I was using pine 4.64 and Dovecot 0.99.x. In early 2008 I transitioned to Alpine 1.10, and didn't notice any major changes.
I upgraded to Dovecot 1.0.15 this past weekend. My dovecot -n settings are at the bottom of the email.
I've noticed a change since Dovecot was upgraded. I used to reorder items within my INBOX in al/pine by "saving" messages back to the INBOX, which I was connecting via IMAP . Now when I try to do it I get an error in alpine that says:
[Can't copy mails inside same folder] then: [Save to folder "{localhost:143/i...r=jherbach}INBOX" FAILED]
While these are alpine messages, they appear to be from the dovecot upgrade.
I really miss the ability to reorder messages in my inbox since I often use it as a queue of important items. Does anybody have any ideas why I'm seeing this error message? Or better yet, how to potentially (re) configure the system to allow me to resave messages into the same folder?
Jonathan
My settings: # 1.0.15: /usr/local/etc/dovecot.conf
protocols: imap pop3 imaps pop3s
ssl_cert_file: /etc/pki/dovecot/dovecot.pem
ssl_key_file: /etc/pki/dovecot/private/dovecot.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot-login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
first_valid_gid: 100
last_valid_gid: 100
mail_location: mbox:%h/mail:INBOX=%h/Mailbox
mbox_write_locks: fcntl
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08X
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls
auth default:
passdb:
driver: pam
userdb:
driver: passwd
Get ideas on sharing photos from people like you. Find new ways to share. http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Phot...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 19 Aug 2008, Jonathan Herbach wrote:
I've noticed a change since Dovecot was upgraded. I used to reorder items within my INBOX in al/pine by "saving" messages back to the INBOX, which I was connecting via IMAP
I can "S"ave a message from INBOX to INBOX and a message from another folder to the INBOX just fine. But I use Dovecot v1.0.13.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIq7rdVJMDrex4hCIRAk9LAJ9uMltChWBOrU7ZTxxU/1TQqiQYWQCfZkMy FhOEAVFuI5iHMIG7yJ5cAMI= =WpVb -----END PGP SIGNATURE-----
On Wed, Aug 20, 2008 at 08:34:03AM +0200, Steffen Kaiser wrote:
On Tue, 19 Aug 2008, Jonathan Herbach wrote:
I've noticed a change since Dovecot was upgraded. I used to reorder items within my INBOX in al/pine by "saving" messages back to the INBOX, which I was connecting via IMAP
I can "S"ave a message from INBOX to INBOX and a message from another
folder to the INBOX just fine. But I use Dovecot v1.0.13.
I notice the same thing than Jonathan, when using mbox format. No problem with maildir format.
-- Nicolas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 20 Aug 2008, Nicolas KOWALSKI wrote:
I notice the same thing than Jonathan, when using mbox format. No problem with maildir format.
I use Maildir, too.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIq8ZHVJMDrex4hCIRAp42AKCZ5QlWzmxLPbGwVn0OGBN42M00TQCfTUG+ GUrlQ/qbB2xcL6xJUrtdtsg= =9llu -----END PGP SIGNATURE-----
On Wed, Aug 20, 2008 at 09:09:57AM +0200, Nicolas KOWALSKI wrote:
On Wed, Aug 20, 2008 at 08:34:03AM +0200, Steffen Kaiser wrote:
On Tue, 19 Aug 2008, Jonathan Herbach wrote:
I've noticed a change since Dovecot was upgraded. I used to reorder items within my INBOX in al/pine by "saving" messages back to the INBOX, which I was connecting via IMAP
I can "S"ave a message from INBOX to INBOX and a message from another
folder to the INBOX just fine. But I use Dovecot v1.0.13.I notice the same thing than Jonathan, when using mbox format. No problem with maildir format.
I forgot to write:
this is with dovecot 1.1.2
this is not specific to INBOX: when saving a message from a folder to the same folder, Alpine complaints with the message [Can't copy mails inside same folder ]
the debug journal of Alpine shows, with a 'news' folder:
IMAP DEBUG 09:46:05 8/20: 0900000b COPY 100 news IMAP DEBUG 09:46:05 8/20: 0900000b NO Can't copy mails inside same mailbox
a quick grep shows this is 'normal' behaviour, as written in src/lib-storage/index/mbox/mbox-save.c
if (mbox->mbox_lock_type == F_RDLCK) { /* FIXME: we shouldn't fail here. it's just a locking issue that should be possible to fix.. */ mail_storage_set_error(storage, MAIL_ERROR_NOTPOSSIBLE, "Can't copy mails inside same mailbox"); return -1; }
-- Nicolas
On 8/20/2008, Nicolas KOWALSKI (nicolas.kowalski@gmail.com) wrote:
- this is not specific to INBOX: when saving a message from a folder to the same folder, Alpine complaints with the message [Can't copy mails inside same folder ]
I'm not sure what you mean by 'saving' a message in the same folder.
Is this a message that you received from someone else? If so, it is already 'saved'. You can MOVE it around all you want, but the date/time stamps should always stay the same (it should still sort the same if you sort by date/time).
I will *vigorously* argue AGAINST changing this behavior, if this is what you are asking for.
If (Al)pine is actually modifying a received messages headers, then I would declare (Al)pine as seriously BROKEN.
--
Best regards,
Charles
On Wed, Aug 20, 2008 at 07:00:22AM -0400, Charles Marcus wrote:
On 8/20/2008, Nicolas KOWALSKI (nicolas.kowalski@gmail.com) wrote:
- this is not specific to INBOX: when saving a message from a folder to the same folder, Alpine complaints with the message [Can't copy mails inside same folder ]
I'm not sure what you mean by 'saving' a message in the same folder.
Well, I just mean selecting a message in the folder "foo", asking for saving in a folder ('S' in alpine, 's' in mutt), and when the MUA asks for the destination folder, enter the same "foo" folder name. It will usually append the message to the folder, and delete the original.
Is this a message that you received from someone else? If so, it is already 'saved'. You can MOVE it around all you want, but the date/time stamps should always stay the same (it should still sort the same if you sort by date/time).
I suppose the OP does not sort by date but Arrival time (this means arrival time in the mailbox).
I will *vigorously* argue AGAINST changing this behavior, if this is what you are asking for.
What behaviour are you writing about?
If (Al)pine is actually modifying a received messages headers, then I would declare (Al)pine as seriously BROKEN.
? Alpine does not modify anything; it uses standard IMAP commands.
-- Nicolas
On 8/20/2008, Nicolas KOWALSKI (nicolas.kowalski@gmail.com) wrote:
I suppose the OP does not sort by date but Arrival time (this means arrival time in the mailbox).
It was my understanding that arrival time is the time the message was DELIVERED (by whatever mechanism is in place for final delivery of messages), NOT the time that some IMAP CLIENT moves a message around.
In other words, basically a date/time stamp done by the Delivery Agent.
But as long as nothing in the message itself is being modified, then it matters not to me... ;)
--
Best regards,
Charles
On Wed, Aug 20, 2008 at 07:25:38AM -0400, Charles Marcus wrote:
On 8/20/2008, Nicolas KOWALSKI (nicolas.kowalski@gmail.com) wrote:
I suppose the OP does not sort by date but Arrival time (this means arrival time in the mailbox).
It was my understanding that arrival time is the time the message was DELIVERED (by whatever mechanism is in place for final delivery of messages), NOT the time that some IMAP CLIENT moves a message around.
Well, I should not have used the 'time' word.
The alpine documentation states about 'Arrival' sorting:
" The Arrival sort option arranges messages in the MESSAGE INDEX in the order that they exist in the folder. This is usually the same as the order in which they arrived. This option is comparable to not sorting the messages at all. "
It is the same (non-)ordering available in Mozilla mail clients, with the 'Order Received' option.
-- Nicolas
On Wed, 2008-08-20 at 09:52 +0200, Nicolas KOWALSKI wrote:
- this is not specific to INBOX: when saving a message from a folder to the same folder, Alpine complaints with the message [Can't copy mails inside same folder ]
Why do you want to do it? I disabled it because it caused Dovecot to crash in a locking related assert and I didn't bother fixing it.
On Tue, 2008-08-19 at 18:43 -0700, Jonathan Herbach wrote:
I really miss the ability to reorder messages in my inbox since I often use it as a queue of important items. Does anybody have any ideas why I'm seeing this error message? Or better yet, how to potentially (re) configure the system to allow me to resave messages into the same folder?
Oh, you had an answer to my previous question. :)
Anyway, you could always copy it to another mailbox and then back, but currently copying a message inside a mailbox isn't working with mbox format. Feel free to disable the extra check in the code and fix the resulting assert-crash.
participants (5)
-
Charles Marcus
-
Jonathan Herbach
-
Nicolas KOWALSKI
-
Steffen Kaiser
-
Timo Sirainen