Open Bug 207049 (XCOURIEROUTBOX) Opened 23 years ago Updated 4 years ago

[RFE] Support XCOURIEROUTBOX Sending mail via IMAP

Categories

(MailNews Core :: Networking: IMAP, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: henrypijames, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 The Courier MTA supports sending mail via IMAP, as described in http://www.courier-mta.org/install.html#imapsend "NOTE: when enabled, the Courier-IMAP server will advertize a private XCOURIEROUTBOX IMAP capability. It is theoretically possible to code an IMAP mail client that reads this capability and automatically configures itself accordingly -- when this IMAP capability is present -- to send E-mail in the normal way but using the IMAP connection. At this time, I'm not aware of any actual mail clients that know how to do this." It would be great if Mozilla Mail could support this. Reproducible: Always Steps to Reproduce:
Alias: XCOURIEROUTBOX
Status: UNCONFIRMED → NEW
Ever confirmed: true
I've configured Mdaemon to do the same, but it does not advertise a capability. MDaemon can set any IMAP folder as outgoing queue. I'm now using my drafts folder as a workaround, but it would be very nice if there were a save button that works like "Save as draft, close message" to a specified folder. This is especially handy for people (like me) who have access to imap through a firewall, but not to smtp.
Product: MailNews → Core
Product: Core → MailNews Core
QA Contact: grylchan → networking.imap
Assignee: dbienvenu → nobody

Is there an RFC which would justify keeping this suggestion? (I can't imagine we would do this without a backing RFC)

Flags: needinfo?(gds)

Wayne, it's something that works now that an advanced user could figure out of they had the need for this, e.g., behind a firewall that blocks smtp ports but passes imap port. I just did it with the Courier test account that Alessandro V. provided me to test UTF8=ACCEPT.

His Courier server advertises this capability: XCOURIEROUTBOX=INBOX.SendMailViaImap (need IMAP log to see this)
I create a folder under INBOX called SendMailViaImap in the courier account
I write a test message to myself on my default account from within the courier account and save it to courier Drafts
I then drag the message from Drafts to SendMailViaImap in the courier account
This causes courier server to send the mail
The mail quickly appears in Inbox of my default account.

I don't see any RFC for this and since it's seems to work OK as is with Courier servers, I don't see a need to add any new tb features to make it easier to use, e.g., autocreate the outbox folder when the XCOURIEROUTBOX is advertised.

Note: I think I have seen other imap servers autocreate "outbox" folders but never really knew what they are for. I may take a look at some point.

Flags: needinfo?(gds)

The only new feature that would make sense to add is, as Jesse said, to save a file in any folder of choice, in addition to, or instead of, the predefined Drafts and Templates folders. I said "instead of" because I don't use Templates, and seldom use Save As/ Draft, since it's easier to just kill the message and let TB ask me whether to save or discard it.

XCOURIEROUTBOX might be useful to avoid double transfer in case an attachment is very large, albeit Bcc: to self is better.

(In reply to Jesse Houwing from comment #1)

I've configured Mdaemon to do the same, but it does not advertise a
capability.
MDaemon can set any IMAP folder as outgoing queue.

I have a "test" account that uses MDaemon from another tb bug reporter but I assume to set this up you have to configure the MDaemon server. I have no access to the server. I can't find documentation on MDaemon site about this either.

I checked on Dovecot maillists and saw some proposals about adding an outbox but no implementation of an imap "outbox" ever materialized. Also checked the "outbox" on some other servers and it's not for sending via imap.

On courier, seems like it would be good to have some feedback (without bcc'ing yourself) that your message was actually sent. Looking at the tb IMAP log, I don't see courier setting any special keyword flag on messages that have been sent. E.g. courier could set keyword $Sent after the message has been sent via smtp. Then you could define tag $Sent with a chosen color and see feedback that messages were sent.

Summary: [RFE] Sending mail via IMAP → [RFE] Support XCOURIEROUTBOX Sending mail via IMAP
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.