The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=286 
====================================================================== 
Reported By:                Samat
Assigned To:                aaron
====================================================================== 
Project:                    DBMail
Issue ID:                   286
Category:                   IMAP daemon
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     resolved
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             26-Dec-05 10:50 CET
Last Modified:              21-May-06 18:57 CEST
====================================================================== 
Summary:                    Outbox folder support ala Courier IMAPd
Description: 
Courier has a non-standard mechanism of sending e-mail via an IMAP server
that does not require use of an SMTP server.

A message can be saved or copied into a configurable folder that by
default is called "Outbox". Messages that are saved in this folder (via
append or copy) get sent out via the local system's sendmail command, and
remain in this folder until they are deleted.

This is a nice thing for users to have "on the road" when they do not have
easy access to an SMTP server with which to send e-mail.

More documention on this feature is available here:
http://www.inter7.com/courierimap/INSTALL.html#imapsend
====================================================================== 

---------------------------------------------------------------------- 
 paul - 28-Dec-05 09:04  
---------------------------------------------------------------------- 
This would actually not be very difficult to implement. db.c,db_copymsg
needs to call a new retrieve_and_deliver function if the copy action is
successful and the XCOURIEROUTBOX extension is enabled and configured. 

---------------------------------------------------------------------- 
 aaron - 24-Apr-06 23:20  
---------------------------------------------------------------------- 
I'm going to get in touch with the Courier people to discuss this
extension. Just a quick thing I notice here, the envelope sender and
envelope recipient must be mapped to the From and To/CC/Bcc headers...
certainly this isn't appropriate in all situations; care would have to be
taken on the Bcc, too, since those are supposed to be mutually hidden. It
would be interesting to take a look at the implementation; there is no
formal documentation that I can find for this extension (and that's
probably the reason why nobody's using it, they say!). 

---------------------------------------------------------------------- 
 aaron - 29-Apr-06 23:39  
---------------------------------------------------------------------- 
I talked with Sam Varshavchik of Courier fame, and basically he doesn't
have much interest in formally documenting this beast, but we're welcome
to pick over the Courier code and match its functionality.

This would make a nice project for someone to dig into the IMAP code a
little bit. Take a look through courier-imap-4.1.0/imap/outbox.c. We
couldn't crib that file itself, but we could definitely follow the
structure of it.

I'm also interested in how they're using a series of forks and named pipes
to talk to the sendmail process. This would appear to totally isolate the
parent process from any explosions on the part of sendmail; for example,
our /dev/null zombie issue (bug http://www.dbmail.org/mantis/view.php?id=194). 

---------------------------------------------------------------------- 
 aaron - 20-May-06 00:28  
---------------------------------------------------------------------- 
I'm going to get in touch with Mark Crispin about possibly formalizing this
feature as an IMAP extension.  

---------------------------------------------------------------------- 
 aaron - 21-May-06 18:57  
---------------------------------------------------------------------- 
Mark clued me in to the "LEMONADE" working group. They are designing IMAP
extensions to handle this sort of thing and more. Sam also gleefully
pointed out that nobody actually implements a client that understands
XCOURIEROUTBOX, including his own client which speaks a custom protocol to
Courier.

Basically this would be us trying to make a weird end run around SMTP with
AUTH and SSL/TLS for road users. Use that, it works better. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
26-Dec-05 10:50 Samat          New Issue                                    
28-Dec-05 09:04 paul           Note Added: 0000965                          
28-Dec-05 09:04 paul           Category                 General => IMAP daemon
24-Apr-06 23:20 aaron          Note Added: 0001105                          
29-Apr-06 23:39 aaron          Note Added: 0001122                          
20-May-06 00:28 aaron          Note Added: 0001187                          
20-May-06 00:28 aaron          Assigned To               => aaron           
20-May-06 00:28 aaron          Status                   new => acknowledged 
21-May-06 18:57 aaron          Status                   acknowledged => resolved
21-May-06 18:57 aaron          Resolution               open => won't fix   
21-May-06 18:57 aaron          Note Added: 0001190                          
======================================================================

Reply via email to