Discussion:
[VM] Saving outgoing messages to an IMAP folder
Konrad Hinsen
2011-12-22 15:23:02 UTC
Permalink
Hi everyone,

I am trying to get my outgoing messages saved to an IMAP folder, until
now without much success.

My understanding is that there two approaches:

1) Use an FCC: header with a maildrop specification of an IMAP folder.
I couldn't find a clear definition of what a "maildrop specification"
is, but from other uses of this term in the VM manual, I conclude that
it must be the most explicit and complete specification, i.e. something
like
imap-ssl:server:port: ...
If I try that, VM creates a file whose name is the maildrop specification
inside the cache directory, and appends the outgoing message to that file.
Nothing is stored on the IMAP server.

2) Use an IMAP-FCC: header with the plain mailbox name
("INBOX.Sent Items"" in my case, without the quotes) and put
vm-imap-save-composition on mail-send-hook.
If I try that, I get the error message
vm-imap-protocol-error: IMAP protocol error: "server said NO to APPEND data"

Am I doing something wrong? Can anyone provide a working example setup?

Thanks in advance,
Konrad.
Uday Reddy
2011-12-22 16:53:12 UTC
Permalink
Post by Konrad Hinsen
1) Use an FCC: header with a maildrop specification of an IMAP folder.
I couldn't find a clear definition of what a "maildrop specification"
is, but from other uses of this term in the VM manual, I conclude that
it must be the most explicit and complete specification, i.e. something
like
imap-ssl:server:port: ...
Yup, There is a section in the manual saying precisely that.
Post by Konrad Hinsen
2) Use an IMAP-FCC: header with the plain mailbox name
("INBOX.Sent Items"" in my case, without the quotes) and put
vm-imap-save-composition on mail-send-hook.
If I try that, I get the error message
vm-imap-protocol-error: IMAP protocol error: "server said NO to APPEND data"
Am I doing something wrong? Can anyone provide a working example setup?
This is the right method to use. (FCC is handled by mail-mode, which knows
nothing about VM's maildrop specs.)

The trouble may be that IMAP server, once gain, may be doing something
unexpected. If you can locate the trace buffer and send me its contents, I
can check what may be going wrong.

Cheers,
Uday

Loading...